Grasshopper

algorithmic modeling for Rhino

HI, 

I have 12 parallel curves and I want them to be regrouped into into 7 curves (joining 10) so that there is a single curve on the ends but the close parallel curves act as a single entity. 

Basically I have: 1 path with 12 values 

I need: 1 path with 7 values so the merged curves (highlighted) act like a duplicate of the same curve  

Views: 587

Replies to This Discussion

I was going to use Proximity3D to create the connecting line segments, then cull the duplicate ones using the topology output, then join them all together, then re-sort the curves, but I got lazy and wrote a script instead.


--
David Rutten
david@mcneel.com
Poprad, Slovakia
Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service