bimtex

interiors

Warm oak bookcase

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

  • 7of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame and $surface and $accent 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":"pal-charcoal","of":"paint","value":20}
{"t":"materialdef","id":"pal-oak","of":"timber","value":72}
{"t":"lookdef","id":"warm-oak-bookcase","for":"furniture:bookcase","desc":"Open oak bookcase, five shelves between solid gables on a recessed plinth.","slots":{"frame":"pal-oak","surface":"pal-oak","accent":"pal-charcoal"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","args":[0.032,1.78,0.32]},"position":[-0.434,0.89,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","args":[0.032,1.78,0.32]},"position":[0.434,0.89,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","args":[0.9,0.036,0.32]},"position":[0,1.762,0]},{"type":"Mesh","material":"$accent","geometry":{"type":"BoxGeometry","args":[0.84,0.09,0.28]},"position":[0,0.045,0.012]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","args":[0.868,0.02,0.3]},"position":[0,0.1,0]},{"type":"bimtex:Run","count":4,"from":[0,0.44,0],"to":[0,1.4,0],"children":[{"type":"Mesh","material":"$surface","geometry":{"type":"BoxGeometry","args":[0.836,0.026,0.3]}}]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","args":[0.868,0.012,0.014]},"position":[0,0.98,-0.153]}]},"preview":{"projection":"perspective","azimuth":-38,"elevation":22,"fov":34,"margin":1.06}}

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 ↓