Grasshopper

algorithmic modeling for Rhino

How can I draw a polyline with segments of the exact same lenght and with points in an input curve?
I've already tried with curve division and Evaluate length, but it didn't work, because the lenght that grasshopper evaluates is the distance of the points passing throught the curve, not in a linear direction.

I had this idea but I can't realize it without a C# node:

I need to draw a circle with fixed Radius on each vertex of the polyline (that rapresent the lenght of segments of the final polyline), than I need to slide the circle 2 along the curve until I obtain a single intersection point between circle 1 and circle 2, than I need to repeat this operation for all points I need.

this way I could obtain a single equal segments polyline with lenght of segments and number of segments as input. Anyone has an idea?

The linked file is the one I have tried to make without succes

Views: 668

Attachments:

Replies to This Discussion

This?

Attachments:

Ahah the simplicity of this algorithm make me feel silly, I looked for that node for an our without succes! Thank you very much

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service