Grasshopper

algorithmic modeling for Rhino

How to divide a curve with equal chord length?binary search ?any simple method?

Views: 1438

Replies to This Discussion

http://wiki.mcneel.com/developer/sdksamples/dividecurvestraight

Have you seen this article? It should help you progress.
You basically intersect the curve with a sphere of Radius D, then pick the first intersection point. Then you place a new sphere of radius D on that point and intersect again. Be sure to only include the remaining subdomain of the curve for intersections.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
I found there is a rhutil.RhinoDivideCurveEquidistant method in .net sdk. It is not in the sdk help file. Maybe
you can try that.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service