algorithmic modeling for Rhino
Hi Valentin,
As Naruto already showed, RhinoCommon method behind rs.CloseCurve function is Curve.MakeClosed. I can not speak in David's name, but one of the reasons why there's no grasshopper component (at least not a standard one) which replicates the rs.CloseCuve functionality may be because Curve.MakeClosed method is really unreliable at the moment, as you have already experienced.
So basically everything is ok with your code.
A workaround for this issue is to not use Curve.MakeClosed at all, but create an interpolated curve through a set of present curve division and/or discontinuity points with one of Periodic CurveKnotStyle types (I used Chord).
Check the attached file.
Thanks you 筑梦NARUTO and you Djordje for your quick reply. David promised on the 2010 that he repair this problem in future. But maybe he forgotten about this. It's very important function inside grasshopper. I hope that is coming soon we will forget about this problem inside grasshopper. David where is you? We want your help!!!
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by