bimtex

classroom

Primary student desk

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

  • 15of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $surface and $frame and $hardware 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-sky","of":"paint","value":58,"accent":"#4f93b8","body":{"roughness":0.6}}
{"t":"materialdef","id":"pal-oak-pale","of":"timber","value":80}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"lookdef","id":"primary-student-desk","for":"furniture:student-desk","desc":"Individual classroom desk with a sloped top and storage tray.","slots":{"surface":"pal-oak-pale","frame":"pack-cls-sky","hardware":"pal-steel-dark"},"preview":{"projection":"perspective","azimuth":-38,"elevation":28,"fov":34,"margin":1.06},"body":{"type":"Group","children":[{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":1,"height":0.065,"depth":0.62,"radius":0.035},"position":[0,0.82,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.76,"height":0.035,"depth":0.44,"radius":0.015},"position":[0,0.625,-0.015]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.2,"depth":0.44,"radius":0.012},"position":[-0.38,0.71,-0.015]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.2,"depth":0.44,"radius":0.012},"position":[0.38,0.71,-0.015]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.76,"height":0.2,"depth":0.03,"radius":0.01},"position":[0,0.71,-0.225]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.84,"height":0.045,"depth":0.045,"radius":0.014},"position":[0,0.18,-0.235]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.72,"depth":0.055,"radius":0.016},"position":[-0.42,0.39,0.245],"rotation":[0.1,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.72,"depth":0.055,"radius":0.016},"position":[-0.42,0.39,-0.245],"rotation":[-0.1,0,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.032,0.032,0.018,12]},"position":[-0.42,0.018,0.28]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.032,0.032,0.018,12]},"position":[-0.42,0.018,-0.28]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.72,"depth":0.055,"radius":0.016},"position":[0.42,0.39,0.245],"rotation":[0.1,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.055,"height":0.72,"depth":0.055,"radius":0.016},"position":[0.42,0.39,-0.245],"rotation":[-0.1,0,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.032,0.032,0.018,12]},"position":[0.42,0.018,0.28]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.032,0.032,0.018,12]},"position":[0.42,0.018,-0.28]},{"type":"Mesh","material":"$frame","geometry":{"type":"TorusGeometry","args":[0.045,0.012,8,18,3.7]},"position":[0.5,0.65,0.02],"rotation":[0,1.571,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 ↓