Skip to main content

CapsulePrimitive

Other

Properties for capsule primitives. A capsule is a cylinder with hemispherical caps at both ends.

Import

import ScriptingApi as api

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

Properties

point1

Start point position [x, y, z].

Type: list


point2

End point position [x, y, z].

Type: list


radius

Radius of the capsule.

Type: float


See Also