Grasshopper

algorithmic modeling for Rhino

when I explode an offset curve, i get breaks where ends of each sub-curve would be if I exploded the original curve and offset its sub-curves individually. (See picture)

I want to explode it into its straight sides only so I can move one of the vertices to draw a new curve (i'm guessing I can't move the offset curves control points and need to move the 'points' and draw a new curve)

So how can I single out these 'corner' vertices? (I don't want to set a manual cull pattern because I want to use the script on many different curves)

thanks!
tom

Views: 803

Attachments:

Replies to This Discussion

just wasted lots of time trying to single out and join curves by comparing angles between adjacent curves and joining them if this angle is 0, but much easier to explode the original curve, offset its sub-curves, extend these and then get the intersections between them...
How about [Simplify Curve] first, to get rid of colinear segments?

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

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service