Grasshopper

algorithmic modeling for Rhino

Hi,i have a question...

if I have a family of curves, it's possible to find the orthogonal with grasshopper?

Views: 1139

Replies to This Discussion

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?

b)

thinking....

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.

    

Attachments:

look..in this file there is the family of curves that I want to find the orthogonal ...

you think is possible?

Attachments:

Unfortunately the only way to achieve this is to fit a plane trough your curve to represent it and as its not planar it will be a very gross approximation. Not sure if this has worked but there are three sets of curves

Attachments:

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.

yes... 

so is not a simple thing to achieve ...
thanks anyway for the information!

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.

yes, get this it's a good result for me.

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 :)

No,come on!!! ;)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service