Skip to content

Tube

A cylindrical surface.

Defined by a center point, an axis vector, a radius, and a length.

type#

type: Literal['tube'] = 'tube'

center#

center: list[float]

The center point of the tube.

axis#

axis: list[float]

The axis along which the tube extends.

radius#

radius: float

The radius of the tube.

length#

length: float

The length of the tube along the given axis.