Makes a periodic curve non-periodic. Non-periodic curves can develop kinks when deformed.
Rhino.MakeCurveNonPeriodic (strObject [, blnDelete])
strObject |
Required. String. The object's identifier. |
blnDelete |
Optional. Boolean. Delete input curve. If omitted, the input curve will not be deleted (False). |
String |
If blnDelete is False, the identifier of the new object if successful. |
String |
If blnDelete is True, the identifier of the modified object if successful. |
Null |
If not successful, or on error. |
Const rhObjectCurve = 4
Dim strObject
strObject = Rhino.GetObject("Select a curve", rhObjectCurve)
If Rhino.IsCurvePeriodic(strObject) Then
Rhino.MakeCurveNonPeriodic strObject
End If