Module

Geometry

2D and 3D primitives, paths, transforms and coordinate conventions.

Raw schema: /schema/1.0/modules/geometry.schema.json

geometry

type: object · required: type

PropertyTypeRequiredConstraints
type "rectangle" | "rounded-rectangle" | "ellipse" | "circle" | "line" | "polygon" | "polyline" | "path" | "text" | "plane" | "box" | "sphere" | "cylinder" | "cone" | "torus" | "mesh" | "custom" yes —
bounds bounds no —
width size no —
height size no —
depth size no —
radius size no —
path
SVG-compatible path data.
string no minLength 1
points array<vector2 | vector3> no minItems 2
closed boolean no —
assetRef id no —
segments integer no min 3
text string no minLength 1
extensions extensions no —

transformOp

One step in an ordered transform list. Order is significant.

type: object · required: type

PropertyTypeRequiredConstraints
type "translate" | "scale" | "rotate" | "skew" | "perspective" yes —
x number no —
y number no —
z number no —
angle number no —

transform

type: object | array<transformOp>

No object properties on this definition.