bimtex

classroom

Sand table 2

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

  • 16of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame and $surface:sand and $surface:lid 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-cls-sand","of":"gravel","value":72,"accent":"#c5a56b"}
{"t":"materialdef","id":"pack-cls-sun","of":"paint","value":72,"accent":"#e8a83c","body":{"roughness":0.6}}
{"t":"materialdef","id":"pal-oak-pale","of":"timber","value":80}
{"t":"lookdef","id":"sand-table-2","for":"asset:sand-table","desc":"Raised sensory sand table with a deep tray and rounded frame.","slots":{"frame":"pal-oak-pale","surface:sand":"pack-cls-sand","surface:lid":"pack-cls-sun"},"preview":{"projection":"perspective","azimuth":-42,"elevation":28,"fov":34,"margin":1.08},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.08,"depth":0.08,"radius":0.018,"segments":3},"position":[0,0.61,-0.46]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.08,"depth":0.08,"radius":0.018,"segments":3},"position":[0,0.61,0.46]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.08,"height":0.08,"depth":0.84,"radius":0.018,"segments":3},"position":[-0.46,0.61,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.08,"height":0.08,"depth":0.84,"radius":0.018,"segments":3},"position":[0.46,0.61,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.88,"height":0.04,"depth":0.8,"radius":0.012,"segments":3},"position":[0,0.48,0]},{"type":"Mesh","material":"$surface:sand","geometry":{"type":"RoundedBoxGeometry","width":0.83,"height":0.035,"depth":0.75,"radius":0.012,"segments":3},"position":[0,0.535,0]},{"type":"Mesh","material":"$surface:lid","geometry":{"type":"RoundedBoxGeometry","width":0.47,"height":0.045,"depth":0.88,"radius":0.018,"segments":3},"position":[-0.25,0.9,-0.22],"rotation":[0.62,0,-0.05]},{"type":"Mesh","material":"$surface:lid","geometry":{"type":"RoundedBoxGeometry","width":0.47,"height":0.045,"depth":0.88,"radius":0.018,"segments":3},"position":[0.25,0.9,-0.22],"rotation":[0.62,0,0.05]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.54,"depth":0.075,"radius":0.02,"segments":3},"position":[-0.4,0.27,-0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.54,"depth":0.075,"radius":0.02,"segments":3},"position":[-0.4,0.27,0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.54,"depth":0.075,"radius":0.02,"segments":3},"position":[0.4,0.27,-0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.54,"depth":0.075,"radius":0.02,"segments":3},"position":[0.4,0.27,0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.78,"height":0.055,"depth":0.055,"radius":0.015,"segments":3},"position":[0,0.22,-0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.78,"height":0.055,"depth":0.055,"radius":0.015,"segments":3},"position":[0,0.22,0.38]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.055,"depth":0.7,"radius":0.015,"segments":3},"position":[-0.4,0.22,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.055,"depth":0.7,"radius":0.015,"segments":3},"position":[0.4,0.22,0]}]}}

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

cat packs/classroom.ndjson model.ndjson > dressed.ndjson
Download classroom pack 44 KB · NDJSON ↓