algorithmic modeling for Rhino
By specific percentage you mean a percentage of the length?
Dim curve As Curve = Nothing
Dim length As Double = curve.GetLength()
Dim t As Double
If (curve.LengthParameter(length * 0.65, t)) Then
Dim fragments As Curve() = curve.Split(t)
End If
The above code splits a curve at 65% along the length.
--
David Rutten
david@mcneel.com
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