Grasshopper

algorithmic modeling for Rhino

Hi all, can someone help me to sort breps along a curve? I can do it with points, but when I have to link the related breps it doesnt work anymore

Views: 3600

Replies to This Discussion

Very easy:

1. Get some point that characterizes the brep (the centroid for instance).

2. This yields a points List that corresponds 1:1 to the Brep List.

3. Sort the points List along the curve.

4. Get the indices (see above) and fed them to an Item component where the L is the OEM Brep List.

The output is the sorted Brep List.

Thanks!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service