Grasshopper

algorithmic modeling for Rhino

Hey Guys

I have an annoying problem with the curve intersect component. I am trying to extract some points from the intersection between some ellipses and some lines in 2D, which should be very simple and easy.

I have done it with some lines, but when I try with some different lines I only get one single point as output. I have tried to see if the lines were out of plane or if their direction mattered - without any luck.

I have marked the component in the definition that is troubling me. Hope someone could have a look. Sorry for the messy definition, it could probably be optimized :)

kind regards

Views: 325

Attachments:

Replies to This Discussion

As you have it now, by sending in two flattened lists, it tries to match them up one by one. So if Line 1 doesn't cross Ellipse 1, then it won't return a value. What you'd like to do is cross-reference them. The easiest way to do this is by grafting one of the lists, either one of your two inputs will work (if you want them to be captured in a specific order, then you'd want to graft the one that should drive the sequence). 

Thats it!

Thanks for the swift reply, and have a great weekend :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service