bimtex

interiors

Bedside cube

bedside-cube dresses furniture:nightstand — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 5of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Bedside cube, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$frame
$surface
$hardware

This definition leaves $frame and $surface and $hardware open, and a look line fills them. Every combination is one body — same geometry, same selector, same sheets — so the block below rewrites itself as you pick. Only materials are slottable: a size would have to agree with the plan, so it stays on the entity.

Paste this

Every part: the 3 materialdefs the body resolves to, then the definition. Copying the lookdef alone still compiles and still validates — it just renders grey.

{"t":"materialdef","id":"pack-int-black","of":"membrane","value":20,"body":{"roughness":0.44,"metalness":0.3}}
{"t":"materialdef","id":"pack-int-brass","of":"brass","value":58,"accent":"#b08d52","body":{"metalness":0.75}}
{"t":"materialdef","id":"pack-int-oak","of":"timber","value":58,"hatch":"timber"}
{"t":"lookdef","id":"bedside-cube","for":"furniture:nightstand","desc":"Small cube bedside table with an open shelf and drawer.","slots":{"frame":"pack-int-oak","surface":"pack-int-oak","hardware":"pack-int-brass"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.9,"depth":1,"radius":0.045,"segments":4},"position":[0,0.55,0]},{"type":"Mesh","material":"pack-int-black","geometry":{"type":"RoundedBoxGeometry","width":0.88,"height":0.1,"depth":0.9,"radius":0.025,"segments":3},"position":[0,0.05,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.86,"height":0.37,"depth":0.035,"radius":0.015,"segments":3},"position":[0,0.755,0.503]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.86,"height":0.37,"depth":0.035,"radius":0.015,"segments":3},"position":[0,0.345,0.503]},{"type":"Mesh","material":"pack-int-black","geometry":{"type":"RoundedBoxGeometry","width":0.84,"height":0.018,"depth":0.018,"radius":0.004,"segments":2},"position":[0,0.55,0.525]}]},"preview":{"projection":"perspective","azimuth":36,"elevation":18,"fov":34,"margin":1.04}}

Or take the whole pack, which brings every entry and every material at once:

cat packs/interiors.ndjson model.ndjson > dressed.ndjson
Download interiors pack 119 KB · NDJSON ↓