algorithmic modeling for Rhino
I use this piece of code in a ghpython component. (you will need to download and install the GHA if you haven't already got it... click the link)
import rhinoscriptsyntax as rs
P = rs.CurveEditPoints(C)
Where P is the output and C is the input
Hi Marcus,
the points aren't enough. To fully duplicate a nurbs curve via Interpolate Curve logic you need greville-points, stand and end tangents, periodicity flag and a knot spacing algorithm. And even then you'll have a hard time with curves that have kinks in them.
--
David Rutten
david@mcneel.com
Seattle, WA
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by