Skip to main content

LinePrimitive

Other

Properties for line primitives (also used for cylinder, capsule, tube, cone, arrow). A line primitive is a solid cylinder connecting two points.

Import

import ScriptingApi as api

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

Properties

point1

Start point position [x, y, z].

Type: list


point2

End point position [x, y, z].

Type: list


radius

Radius of the cylinder.

Type: float


See Also