bimtex

openings

Oak operable window

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

  • 10of 500 meshes
  • 4slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame and $surface 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":"pack-opening-oak","of":"timber","value":58,"hatch":"timber","body":{"roughness":0.68}}
{"t":"materialdef","id":"pal-steel","of":"steel","value":72}
{"t":"lookdef","id":"oak-operable-window","for":"opening:operable","desc":"Timber-framed operable window with a central opening sash.","slots":{"frame":"pack-opening-oak","surface":"pack-opening-oak","glazing":"pack-opening-glass","hardware":"pal-steel"},"note":"Standalone warm-oak operable window assembly. The building body stays closed inside its host envelope; its catalogue-only preview cracks the sash open 9.2 degrees around the left hinge.","body":{"type":"Group","scale":[0.72,1,0.18],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.075,"height":1,"depth":1},"position":[-0.4625,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.075,"height":1,"depth":1},"position":[0.4625,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.85,"height":0.075,"depth":1},"position":[0,0.9625,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.85,"height":0.075,"depth":1},"position":[0,0.0375,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.79,"depth":0.16,"radius":0.014},"position":[-0.3875,0.5,0.2]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.79,"depth":0.16,"radius":0.014},"position":[0.3875,0.5,0.2]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.705,"height":0.07,"depth":0.16,"radius":0.014},"position":[0,0.86,0.2]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.705,"height":0.07,"depth":0.16,"radius":0.014},"position":[0,0.14,0.2]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.705,"height":0.65,"depth":0.035},"position":[0,0.5,0.2]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.032,"height":0.14,"depth":0.05,"radius":0.01},"position":[0.315,0.5,0.31]}]},"preview":{"projection":"perspective","azimuth":-34,"elevation":16,"fov":34,"margin":1.04},"previewBody":{"type":"Group","scale":[0.72,1,0.18],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.075,"height":1,"depth":1},"position":[-0.4625,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.075,"height":1,"depth":1},"position":[0.4625,0.5,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.85,"height":0.075,"depth":1},"position":[0,0.9625,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.85,"height":0.075,"depth":1},"position":[0,0.0375,0]},{"type":"Group","position":[-0.3875,0.5,0.2],"rotation":[0,-0.16,0],"children":[{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.79,"depth":0.16,"radius":0.014},"position":[0,0,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.79,"depth":0.16,"radius":0.014},"position":[0.775,0,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.705,"height":0.07,"depth":0.16,"radius":0.014},"position":[0.3875,0.36,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.705,"height":0.07,"depth":0.16,"radius":0.014},"position":[0.3875,-0.36,0]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.705,"height":0.65,"depth":0.035},"position":[0.3875,0,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.032,"height":0.14,"depth":0.05,"radius":0.01},"position":[0.7025,0,0.11]}]}]}}

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 ↓