generative modeling for Rhino
Hi,i have a question...
if I have a family of curves, it's possible to find the orthogonal with grasshopper?
Tags:
Permalink Reply by Danny Boyes on March 21, 2012 at 4:01am Do you want to know if the curves are:
a) all orthogonal
b) which are orthogonal to each other
or c) what the plane would be that represents the orthogonal axes?
Permalink Reply by Giulia Arcadi on March 21, 2012 at 4:02am b)
Permalink Reply by Danny Boyes on March 21, 2012 at 4:13am thinking....
Permalink Reply by Danny Boyes on March 21, 2012 at 5:07am Here we go:
You will need to distinguish between the curves in the first direction (U) from those in in the second direction (V).
The identifying orthogonality is easy as the DOT product of two vectors would be 0 if they are perpendicular. The component is the one with two arrows going up with a dot between them.
The harder part is matching the relevant curves. This is done through some Tree Management components if you need to ask questions feel free.
Permalink Reply by Giulia Arcadi on March 21, 2012 at 5:18am look..in this file there is the family of curves that I want to find the orthogonal ...
you think is possible?
Permalink Reply by Danny Boyes on March 21, 2012 at 6:14am
Permalink Reply by Vicente Soler on March 21, 2012 at 6:50am What i think she is trying to achieve is to actually draw perpendicular lines to the ones she already has.
There is no simple way to do this, one aproximation could be to use the drainage python script that can be found somewhere else in this site and use those curves instead of the contour curves.
The problem in any case is defining the starting points, avoiding overlaps.
Permalink Reply by Giulia Arcadi on March 21, 2012 at 7:01am yes...
so is not a simple thing to achieve ...
thanks anyway for the information!
Permalink Reply by Vicente Soler on March 21, 2012 at 7:04am Depends on how accurate you want it to be.
You could divide the surface that's being used to generate contours into a grid of points, connect those points to the drainage script and then substitute the contour lines with the script output.
That is pretty simple to do if the result is good enough for you.
Permalink Reply by Giulia Arcadi on March 21, 2012 at 7:13am yes, get this it's a good result for me.
Permalink Reply by Danny Boyes on March 21, 2012 at 7:20am I did ask:
which are orthogonal to each other
I guess it was lost in translation.
I'll just go back and sit in my corner then :)
Permalink Reply by Giulia Arcadi on March 21, 2012 at 7:24am No,come on!!! ;)
Added by David Stasiuk 8 Comments 24 Likes
Added by stefano 5 Comments 8 Likes
© 2013 Created by Scott Davidson.
Powered by