Skip to main content

SplinePrimitive

Other

Properties for spline primitives. A spline is a curved tube that follows a path through control points.

Import

import ScriptingApi as api

# Access the class
# SplinePrimitive is available via api.SplinePrimitive

Properties

points

List of control points [x, y, z] defining the spline path.

Type: list


radius

Outer radius of the spline tube.

Type: float


min_radius

Minimum radius for varying radius mode.

Type: float


vary_radius

If true, the radius varies along the spline.

Type: bool


closed_loop

If true, creates a closed loop spline.

Type: bool


spline_mode

Spline mode: 0 = Tube, 1 = ThickTube.

Type: int


See Also