Skip to content

Search

Documentation

path3d asset type

path3d: A bezier path: points runs anchor, two handles, next anchor, then three more per segment; closed joins the last segment back to the first anchor.

Files live in paths/. Used by no component property yet.

A bezier path: points runs anchor, two handles, next anchor, then three more per segment; closed joins the last segment back to the first anchor.

[[assets]]
id = "outline"
type = "path2d"                  # flat; a path3d takes [x, y, z] points
closed = true
points = [[0, 0], [1, 0], [1, 1], [0, 1], [-1, 1], [-1, 0]]   # two points alone are a straight line
# A mesh asset fills, extrudes, revolves or sweeps a path; shape2d strokes one.