PropertyTypeDescription
type'polygon'
conditionformula (optional)
repeatrepeat (optional)
stepboolean, formula (optional)
defsDefinition[] (optional)
nnumber, formulaThe number of sides of this polygon
xnumber, formula (optional)The x-coordinate of this rectangle, relative to its bounds (default: 0)
ynumber, formula (optional)The y-coordinate of this rectangle, relative to its bounds (default: 0)
wnumber, formula (optional)The width of this rectangle, relative to its bounds (default: 1)
hnumber, formula (optional)The height of this rectangle, relative to its bounds (default: 1)
{
  type: "polygon"
  n: 6
}

Polygon

{
  type: "polygon",
  n: 5,
  inset: 0.5,
  w: 0.5,
  h: 0.5
}

Star