bimtex

classroom

Play mat

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

  • 21of 500 meshes
  • 5slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Play mat, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$surface:field
$surface:road
$surface:patch
$soft
$frame

This definition leaves $surface:field and $surface:road and $surface:patch and $soft and $frame 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 5 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-birch","of":"timber","value":80,"hatch":"timber","body":{"roughness":0.68}}
{"t":"materialdef","id":"pack-cls-moss","of":"cloth","value":58,"accent":"#7a9a5b"}
{"t":"materialdef","id":"pack-cls-sun","of":"paint","value":72,"accent":"#e8a83c","body":{"roughness":0.6}}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"materialdef","id":"pal-leaf","of":"foliage","value":42}
{"t":"lookdef","id":"play-mat","for":"asset:play-mat","desc":"Soft rectangular play mat with a thick padded border.","slots":{"surface:field":"pack-cls-moss","surface:road":"pal-charcoal","surface:patch":"pack-cls-sun","soft":"pack-cls-birch","frame":"pal-leaf"},"preview":{"projection":"perspective","azimuth":-42,"elevation":54,"fov":32,"margin":1.04},"body":{"type":"Group","children":[{"type":"Mesh","material":"$surface:field","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.035,"depth":1,"radius":0.025},"position":[0,0.0175,0]},{"type":"Mesh","material":"$surface:road","geometry":{"type":"RoundedBoxGeometry","width":0.96,"height":0.018,"depth":0.17,"radius":0.014},"position":[0,0.044,-0.12]},{"type":"Mesh","material":"$surface:road","geometry":{"type":"RoundedBoxGeometry","width":0.17,"height":0.018,"depth":0.96,"radius":0.014},"position":[0.18,0.044,0]},{"type":"Mesh","material":"$surface:patch","geometry":{"type":"RoundedBoxGeometry","width":0.29,"height":0.017,"depth":0.24,"radius":0.02},"position":[-0.3,0.0435,0.29]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.085,"height":0.008,"depth":0.012,"radius":0.004},"position":[-0.4,0.058,-0.12]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.085,"height":0.008,"depth":0.012,"radius":0.004},"position":[-0.25,0.058,-0.12]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.085,"height":0.008,"depth":0.012,"radius":0.004},"position":[-0.09,0.058,-0.12]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.085,"height":0.008,"depth":0.012,"radius":0.004},"position":[0.45,0.058,-0.12]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.008,"depth":0.085,"radius":0.004},"position":[0.18,0.058,-0.4]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.008,"depth":0.085,"radius":0.004},"position":[0.18,0.058,-0.25]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.008,"depth":0.085,"radius":0.004},"position":[0.18,0.058,0.1]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.008,"depth":0.085,"radius":0.004},"position":[0.18,0.058,0.26]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.008,"depth":0.085,"radius":0.004},"position":[0.18,0.058,0.41]},{"type":"Mesh","material":"$surface:road","geometry":{"type":"RoundedBoxGeometry","width":0.018,"height":0.01,"depth":0.15,"radius":0.005},"position":[0.37,0.057,0.31]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","args":[0.075,0.075,0.012,20]},"position":[0.34,0.063,0.28],"scale":[1,0.3,1]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","args":[0.065,0.065,0.012,20]},"position":[0.4,0.063,0.29],"scale":[1,0.3,1]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","args":[0.055,0.055,0.012,20]},"position":[0.37,0.063,0.35],"scale":[1,0.3,1]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.92,"height":0.007,"depth":0.012,"radius":0.004},"position":[0,0.043,-0.465]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.92,"height":0.007,"depth":0.012,"radius":0.004},"position":[0,0.043,0.465]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.007,"depth":0.92,"radius":0.004},"position":[-0.465,0.043,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.012,"height":0.007,"depth":0.92,"radius":0.004},"position":[0.465,0.043,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 ↓