bimtex

openings

Sliding glass door

sliding-glass-door dresses opening:sliding — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 19of 500 meshes
  • 3slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame and $glazing 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-opening-glass","of":"glass","value":72,"body":{"type":"MeshPhysicalMaterial","transmission":0.92,"ior":1.5,"thickness":0.12}}
{"t":"materialdef","id":"pal-steel","of":"steel","value":72}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"lookdef","id":"sliding-glass-door","for":"opening:sliding","desc":"Wide sliding glazed door with overlapping panels and track.","slots":{"frame":"pal-steel-dark","glazing":"pack-opening-glass","hardware":"pal-steel"},"note":"Standalone two-panel sliding glass doorset with one outer frame, two tracks, overlapping framed leaves and a recessed pull. There is no duplicate frame or host wall.","body":{"type":"Group","scale":[1.75,1,0.18],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.055,"height":1,"depth":1},"position":[-0.4725,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.055,"height":1,"depth":1},"position":[0.4725,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.89,"height":0.055,"depth":1},"position":[0,0.9725,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.89,"height":0.045,"depth":1},"position":[0,0.0225,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.86,"height":0.016,"depth":0.09},"position":[0,0.052,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.86,"height":0.016,"depth":0.09},"position":[0,0.052,0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.86,"height":0.016,"depth":0.09},"position":[0,0.948,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.86,"height":0.016,"depth":0.09},"position":[0,0.948,0.12]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.4,"height":0.82,"depth":0.035},"position":[-0.21,0.5,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.035,"height":0.86,"depth":0.11},"position":[-0.4275,0.5,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.035,"height":0.86,"depth":0.11},"position":[0.0075,0.5,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.435,"height":0.035,"depth":0.11},"position":[-0.21,0.9125,-0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.435,"height":0.035,"depth":0.11},"position":[-0.21,0.0875,-0.12]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.4,"height":0.82,"depth":0.035},"position":[0.21,0.5,0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.035,"height":0.86,"depth":0.11},"position":[-0.0075,0.5,0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.035,"height":0.86,"depth":0.11},"position":[0.4275,0.5,0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.435,"height":0.035,"depth":0.11},"position":[0.21,0.9125,0.12]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.435,"height":0.035,"depth":0.11},"position":[0.21,0.0875,0.12]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.022,"height":0.17,"depth":0.035,"radius":0.008},"position":[0.035,0.5,0.2]}]}}

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

cat packs/openings.ndjson model.ndjson > dressed.ndjson
Download openings pack 23 KB · NDJSON ↓