Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit098ece8e9e

README.md

shape.ring

A flat annulus in the XY plane facing +Z.

In a scene: RingGeometry(innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength).

InputDefaultMeaning
innerRadius0.5The radius of the hole.
outerRadius1The outer radius.
thetaSegments32Segments around.
phiSegments1Segments from the inner to the outer radius.
thetaStart0Where the arc starts, in radians.
thetaLength2 piHow far the arc runs, in radians.

The node answers geometry: a mesh with positions, normals and uvs. Its body is a call into the module in its own folder, so a graph of many parts cooks without a device dispatch per shape.

RingGeometry(0.3, 0.5, 48)