Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit098ece8e9e

README.md

shape.flatShape

A flat, filled 2D shape in the XY plane facing +Z, from path commands.

In a scene: ShapeGeometry(shape, curveSegments).

InputDefaultMeaning
shape{}The outline as path commands, as for extrude.
curveSegments12Segments used for curved path commands.

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.

ShapeGeometry(EllipseShape(0.5, 0.3))