Skip to content
Docs
Open Promoeyes

grid

scenesset 16× in templates and rigs

A two-axis flow container: fills rows of `columns` cells, each column as wide as its widest cell and each row as tall as its tallest, re-measured every frame.

grid#cv41-grid-planes-xy(plane=xy columns=2 gap=13.6 position="-459 51 0")

Attributes

columnsnumberCells per row (default ⌈√n⌉ of its children).16×
gapnumberSpace between cells, mm (default 0).16×
planetextThe two world axes it spans: `xy` (default, an upright wall: columns along +x, rows down), `xz` (on the floor), or `yx`, `zx`, `yz`, `zy`.6×
position"x y z"6×
rotation"x y z"1×

Where it goes

Examples

grid#cv41-grid-planes-xyin coverage/coverageOpen and play →
grid#cv41-grid-planes-xy(plane=xy columns=2 gap=13.6 position="-459 51 0")
  primitive#cv41-grid-planes-xy-0
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#66e0ff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-xy-1
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#66e0ff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-xy-2
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#66e0ff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-xy-3
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#66e0ff metalness=0.4 roughness=0.3)
grid#cv41-grid-planes-yxin coverage/coverageOpen and play →
grid#cv41-grid-planes-yx(plane=yx columns=2 gap=13.6 position="-230 51 0")
  primitive#cv41-grid-planes-yx-0
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#b98bff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-yx-1
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#b98bff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-yx-2
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#b98bff metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-yx-3
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#b98bff metalness=0.4 roughness=0.3)
grid#cv41-grid-planes-zxin coverage/coverageOpen and play →
grid#cv41-grid-planes-zx(plane=zx columns=2 gap=13.6 position="0 51 0")
  primitive#cv41-grid-planes-zx-0
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#ffb454 metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-zx-1
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#ffb454 metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-zx-2
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#ffb454 metalness=0.4 roughness=0.3)
  primitive#cv41-grid-planes-zx-3
    geometry(type=rounded-box w=0.5 h=0.5 d=0.12 radius=5.95 segments=5)
    material(ref=standard color=#ffb454 metalness=0.4 roughness=0.3)