Skip to content
Shapemetry

NurbsCurve functions

Every function callable as NurbsCurve.* inside an expression — an argument input, a parameter binding, a table cell. Pure: no side effects, no async.

FunctionReturnsDescriptionArgTypeMeaning
NurbsCurve.closestPoint(curve, point)pointClosest point on the curve to a point.curvecurveDatathe curve
pointpoint | pointCloudDatathe query point
NurbsCurve.divide(curve, count)point[]count+1 evenly-spaced points along the curve (parameter 0..1).curvecurveDatathe curve
countnumbernumber of segments
NurbsCurve.endPoint(curve)pointEnd point of the curve.curvecurveDatathe curve
NurbsCurve.length(curve)numberArc length of the curve.curvecurveDatathe curve
NurbsCurve.pointAt(curve, parameter)pointPoint on the curve at parameter 0..1.curvecurveDatathe curve
parameternumber0..1 along the curve
NurbsCurve.pointAtLength(curve, distance)pointPoint at an arc-length distance from the start.curvecurveDatathe curve
distancelengtharc-length distance from start
NurbsCurve.startPoint(curve)pointStart point of the curve.curvecurveDatathe curve
NurbsCurve.tangentAt(curve, parameter)vectorTangent vector at parameter 0..1.curvecurveDatathe curve
parameternumber0..1 along the curve
NurbsCurve.toPoints(curve, tolerance)point[]Adaptive tessellation vertices (start/end + knot breaks, refined within a chord-deviation tolerance).curvecurveDatathe curve
tolerancelengthmax chord deviation (mm), default 0.5
Last updated: 📖 1 min readEdit on GitHub