bimtex

interiors

Open shelf unit

open-shelf-unit dresses furniture:shelving — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 9of 500 meshes
  • 2slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame and $surface 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 2 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-oak","of":"timber","value":58,"hatch":"timber"}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"open-shelf-unit","for":"furniture:shelving","desc":"Simple open shelving unit with evenly spaced horizontal shelves.","slots":{"frame":"pal-charcoal","surface":"pack-int-oak"},"preview":{"projection":"perspective","azimuth":-38,"elevation":20,"fov":34,"margin":1.05},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.04,"height":1.8,"depth":0.04},"position":[-0.58,0.9,-0.205]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.04,"height":1.8,"depth":0.04},"position":[-0.58,0.9,0.205]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.04,"height":1.8,"depth":0.04},"position":[0.58,0.9,-0.205]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.04,"height":1.8,"depth":0.04},"position":[0.58,0.9,0.205]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.045,"depth":0.45,"radius":0.012,"segments":3},"position":[0,0.08,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.045,"depth":0.45,"radius":0.012,"segments":3},"position":[0,0.46,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.045,"depth":0.45,"radius":0.012,"segments":3},"position":[0,0.84,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.045,"depth":0.45,"radius":0.012,"segments":3},"position":[0,1.22,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.045,"depth":0.45,"radius":0.012,"segments":3},"position":[0,1.6,0]}]}}

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 ↓