algorithmic modeling for Rhino
Hi All,
Does anyone know how to get a polyline from a nurbscurve??
Polyline pl = crv.ToPolyline(0, 0, 0.0, 0.0, 0.0, var, 0.0, 0.0, true);
I have tried in this way but it returns error saying "cannot convert polyline curve to polyline... I need to get a 'polyline'... :( for next step...
Thanks!
Tags:
I usually use the TryGetPolyline() method for this. Maybe an example would help with trouble shooting :)
Great, glad it worked.
Hi JHLee,
I'd say the problem is you fed it only zero's: 0 segments for the polyline could be a problem.. ;)
I think it still works even if I put 0 for the segments count..unless I put all inputs as 0 or 0.0.. I am not sure though;;;;
Indeed, you're right.
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