Grasshopper

algorithmic modeling for Rhino

Hello, 

I am still new in Grasshopper, and I am trying to extend the red lines until the blue lines, like in the example in orange -see attachement below-. 

Thank you! 

Views: 4075

Attachments:

Replies to This Discussion

OUCH!  WARNING!!!  Trying to open your GH file has frozen GH/Rhino... for a long time.

I am so sorry, I tried to fix it in the file below, and simplify it so it doesn t take too long to open. 

The extend curve would be in one direction, thank you

Attachments:

There are several problems in your code.

  • The list of curves has three branches - connect a text panel to see what I mean.
  • The list of values being passed to the 'Divide N' input doesn't make sense to me?  Different number for each curve and results in 1200 points and 't' values...?
  • The combination of graft and flatten on 'HFrame' creates 25200 results for 21 curves.
  • The flattened list of curves are not in sequence, left to right.

Are you thinking of something like this?  P.S.  Posted this before seeing your second version.

Attachments:

I tried to solve the problems you pointed out hopefully, however the division has to be by lenght (100). 

Thank you

Attachments:

the division has to be by lenght (100)

Then why not use 'DivLength' instead of calculating the number of divisions, which results in them being close to 100 but not exact?

Your curves are still not in sequence; item zero is last.

I'm not clear about what you are trying to do?  With a different number of points on each curve, I guess you're not just connecting the points?  Are you trying to draw lines until they intersect the next curve to the right?  What if they don't intersect?

Thank you, I fixed the items you pointed out. What I am trying to do is to extend a line from a point perpendicular to the right, if the curve doesnt intersect, the line shouldn´t continue or exist.

Attachments:

Anemone loop - tricky:

Attachments:

First version has a flaw, fixed in this simpler one.  Also replaced 'CCX' with 'IVRay', though that probably wasn't necessary.

Attachments:

I realized later that changing from 'CCX' to 'IVRay' (which does, after all, simplify data organization of the intersection points) requires 'Trim' and 'PShift' for the 'Tree/List Viewer' to work properly - with preview disabled on 'PShift', the component to bake.

P.S.  Oops, sorry, changed the 'Length' slider from 100 to 44.

Attachments:

Thank you very much! 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service