Grasshopper

algorithmic modeling for Rhino

Hi there,

I’m facing a problem while trying to get the intersection points from a complex set of lines.The picture below shows a very simplified representation of what I mean.

In case the basic lines, before the intersection comes in, are plain and separate lines there’s no problem and gh will return the intersection points expected.

But in case the lines are being transformed in between, here they are trimmed against a surrounding region, the resulting ci-curves (as list) inside the region will not deliver any intersection points.

Why is this? Is it because the ci-curves are returned as a list? And if so, how can the list of curves be changed in a way the intersection points can be returned?

Does anybody have a solution to this?

Views: 5347

Replies to This Discussion

Hi,

this not a list, rather it is a GH Datatree (a list of lists one may say). just flatten the output of your trim component and it should be working.

M.

Hi Marios,

flattening the output of the trim component helped.

the intersection points are being returned now.

thanks a lot for your hint!

Alex

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service