bimtex

interiors

Double platform bed

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

  • 12of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Double platform bed, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$soft:fabric
$frame
$soft:bedding

This definition leaves $soft:fabric and $frame and $soft:bedding 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-linen","of":"cloth","value":72,"body":{"sheen":0.7,"sheenRoughness":0.6}}
{"t":"materialdef","id":"pack-int-upholstery-sand","of":"cloth","value":72,"accent":"#b8aa95"}
{"t":"materialdef","id":"pal-oak","of":"timber","value":72}
{"t":"lookdef","id":"double-platform-bed","for":"furniture:bed-double","desc":"Double platform bed with a low upholstered headboard.","slots":{"soft:fabric":"pack-int-upholstery-sand","frame":"pal-oak","soft:bedding":"pack-int-linen"},"preview":{"projection":"perspective","azimuth":-42,"elevation":20,"fov":34,"margin":1.04},"body":{"type":"Group","children":[{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":1.37,"height":0.75,"depth":0.08,"radius":0.035,"segments":4},"position":[0,0.675,-0.915]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":1.37,"height":0.16,"depth":0.08,"radius":0.012,"segments":3},"position":[0,0.3,0.915]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.08,"height":0.16,"depth":1.75,"radius":0.012,"segments":3},"position":[-0.645,0.3,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.08,"height":0.16,"depth":1.75,"radius":0.012,"segments":3},"position":[0.645,0.3,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.08,"height":0.3,"depth":0.08},"position":[-0.645,0.15,-0.875]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.08,"height":0.3,"depth":0.08},"position":[-0.645,0.15,0.875]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.08,"height":0.3,"depth":0.08},"position":[0.645,0.15,-0.875]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.08,"height":0.3,"depth":0.08},"position":[0.645,0.15,0.875]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":1.29,"height":0.25,"depth":1.7,"radius":0.07,"segments":4},"position":[0,0.505,0.02]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":1.31,"height":0.1,"depth":1.58,"radius":0.04,"segments":4},"position":[0,0.68,0.08]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":0.58,"height":0.14,"depth":0.42,"radius":0.065,"segments":4},"position":[-0.31,0.755,-0.28],"rotation":[-0.08,0,0]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":0.58,"height":0.14,"depth":0.42,"radius":0.065,"segments":4},"position":[0.31,0.755,-0.28],"rotation":[-0.08,0,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 ↓