bimtex

hotel

Minibar cabinet

minibar-cabinet dresses asset:minibar — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 8of 500 meshes
  • 2slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Minibar cabinet, 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 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-hotel-black","of":"painted-metal","value":20,"accent":"#242526","body":{"roughness":0.36,"metalness":0.24}}
{"t":"materialdef","id":"pack-hotel-walnut","of":"timber","value":42,"accent":"#5a3c2a"}
{"t":"materialdef","id":"pal-stone","of":"stone","value":86}
{"t":"lookdef","id":"minibar-cabinet","for":"asset:minibar","desc":"Compact hotel minibar cabinet with a recessed appliance bay.","slots":{"frame":"pack-hotel-walnut","surface":"pal-stone"},"preview":{"projection":"perspective","azimuth":36,"elevation":18,"fov":34,"margin":1.04},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.82,"height":0.04,"depth":0.46,"radius":0.01,"segments":2},"position":[0,0.02,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.9,"height":0.65,"depth":0.5,"radius":0.018,"segments":3},"position":[0,0.365,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.41,"height":0.55,"depth":0.018},"position":[-0.21,0.38,0.267]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.41,"height":0.55,"depth":0.018},"position":[0.21,0.38,0.267]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.9,"height":0.055,"depth":0.5,"radius":0.016,"segments":3},"position":[0,0.7175,0]},{"type":"Mesh","material":"pack-hotel-black","geometry":{"type":"BoxGeometry","width":0.44,"height":0.025,"depth":0.28},"position":[0.14,0.7575,-0.02]},{"type":"Mesh","material":"pack-hotel-black","geometry":{"type":"CylinderGeometry","radiusTop":0.08,"radiusBottom":0.1,"height":0.12,"radialSegments":20},"position":[0.14,0.84,-0.02]},{"type":"Mesh","material":"pack-hotel-black","geometry":{"type":"TorusGeometry","radius":0.065,"tube":0.016,"radialSegments":10,"tubularSegments":20,"arc":4.2},"position":[0.21,0.84,-0.02],"rotation":[1.5708,0,0]}],"scale":[1.000000026,1.000000002,0.965250966]}}

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

cat packs/hotel.ndjson model.ndjson > dressed.ndjson
Download hotel pack 15 KB · NDJSON ↓