Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

RoundOptions

Options for round shapes and solids.

optional normal?: Vector3dLike

Direction the shape’s front faces, and the direction a solid’s height runs. Defaults to [0, 0, 1], which lays shapes flat and stands solids upright.

PlaneOptions.normal


optional segments?: number

Number of straight segments around the circle, 3 to 360 (96 for spheres); defaults to 24. Drawing time grows much faster than the count: hundreds of segments take seconds.


optional xAxis?: Vector3dLike

Direction of the shape’s first axis: a rectangle’s width, or the first corner of a circle or polygon. Its component along normal is ignored. Defaults to [1, 0, 0] for a vertical normal, and otherwise to the horizontal direction that makes the second axis point up.

PlaneOptions.xAxis