Cylinder 2 points

Cylinder 2 points icon

In: SDF function > Primitive

Description

An SDF function for a cylinder of adjustable radius defined by the positions of its start and end discs.

Inputs

Inputs

Start Float3
The position of the cylinder’s start disc.

Default: (0, 0, 0)
End Float3
The position of the cylinder’s end disc.

Default: (0, 0, 1)
Radius Float
The radius of the cylinder.

Default: 0.25
P Float3
The transformed world space position. Use this input to apply additional transformations using the Offset P and Rotate P nodes.

Default: The untransformed world space position.
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23