Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.03 KB

File metadata and controls

40 lines (30 loc) · 1.03 KB

NurbsSetKnot

Description

Sets the specified knot in a NURBS curve or surface.

For NURBS curves, index1 corresponds to a segment of the curve, and index2 corresponds to the knot in the segment.

For NURBS surfaces, index1 corresponds to the u- or v-direction of the surface and index2 corresponds to the knot.

The index is zero based (0 to number of knots - 1).

PROCEDURE NurbsSetKnot(
				objectHd : HANDLE;
				index1   : LONGINT;
				index2   : LONGINT;
				knot     : REAL);
def vs.NurbsSetKnot(objectHd, index1, index2, knot):
    return None

Parameters

Name Type Description
objectHd HANDLE Handle to NURBS curve or surface.
index1 LONGINT Segment of curve to be queried (NURBS curve), or direction (NURBS surface).
index2 LONGINT Index of segment or direction knot.
knot REAL Knot value.

Remarks

this function will work for both nurbs curves and nurbs surfaces

Version

Availability: from VectorWorks9.0

Category