bimtex

classroom

Primary student chair

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

  • 14of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame:shell and $frame: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-chair","for":"furniture:student-chair","desc":"Simple student chair with a curved back and four legs.","slots":{"frame:shell":"pack-cls-sky","frame:frame":"pal-oak-pale","hardware":"pal-steel-dark"},"preview":{"projection":"perspective","azimuth":-36,"elevation":24,"fov":34,"margin":1.07},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame:shell","geometry":{"type":"RoundedBoxGeometry","width":0.76,"height":0.085,"depth":0.56,"radius":0.07},"position":[0,0.5,0.04],"rotation":[0.035,0,0]},{"type":"Mesh","material":"$frame:shell","geometry":{"type":"RoundedBoxGeometry","width":0.76,"height":0.37,"depth":0.085,"radius":0.075},"position":[0,0.81,-0.29],"rotation":[-0.08,0,0]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.055,"depth":0.055,"radius":0.016},"position":[0,0.42,-0.23]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.05,"depth":0.05,"radius":0.015},"position":[0,0.22,0.24]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.49,"depth":0.075,"radius":0.02},"position":[-0.31,0.255,0.22],"rotation":[0.13,0,0]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.77,"depth":0.075,"radius":0.02},"position":[-0.31,0.385,-0.23],"rotation":[-0.09,0,0]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.065,"height":0.055,"depth":0.46,"radius":0.016},"position":[-0.31,0.3,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.06,"height":0.018,"depth":0.06,"radius":0.009},"position":[-0.31,-0.012,0.25]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.06,"height":0.018,"depth":0.06,"radius":0.009},"position":[-0.31,-0.012,-0.27]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.49,"depth":0.075,"radius":0.02},"position":[0.31,0.255,0.22],"rotation":[0.13,0,0]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.075,"height":0.77,"depth":0.075,"radius":0.02},"position":[0.31,0.385,-0.23],"rotation":[-0.09,0,0]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.065,"height":0.055,"depth":0.46,"radius":0.016},"position":[0.31,0.3,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.06,"height":0.018,"depth":0.06,"radius":0.009},"position":[0.31,-0.012,0.25]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.06,"height":0.018,"depth":0.06,"radius":0.009},"position":[0.31,-0.012,-0.27]}]}}

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 ↓