Skip to content
Shapemetry

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