bimtex

interiors

Oak trestle writing desk

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

  • 5of 500 meshes
  • 2slots
  • 1finish

Drag to orbit · scroll to zoom

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

This definition leaves $frame:bark 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 2 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-int-oak","of":"timber","value":58,"hatch":"timber"}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"oak-trestle-writing-desk","name":"Oak trestle writing desk","for":"furniture:desk","desc":"Slender writing desk with oak trestle legs and drawers.","slots":{"frame:bark":"pack-int-oak","frame":"pal-charcoal"},"note":"A slim oak writing desk with one shallow centered drawer and two open inverted-trapezoid steel trestles. No rear modesty panel or desktop accessories interrupt the legibility of the frame.","body":{"type":"Group","children":[{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.9,"height":0.08,"depth":0.72,"radius":0.018},"position":[0,0.91,0]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":0.72,"height":0.18,"depth":0.62,"radius":0.012},"position":[0,0.78,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"CapsuleGeometry","radius":0.018,"height":0.16,"capSegments":4,"radialSegments":8},"position":[0,0.79,0.326],"rotation":[0,0,1.5708]},{"type":"Mesh","material":"$frame","geometry":{"type":"ExtrudeGeometry","depth":0.06,"profile":[[-0.38,0],[0.38,0],[0.28,0.82],[-0.28,0.82]],"holes":[[[-0.31,0.06],[0.31,0.06],[0.225,0.75],[-0.225,0.75]]]},"position":[-0.81,0,0],"rotation":[0,1.5708,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"ExtrudeGeometry","depth":0.06,"profile":[[-0.38,0],[0.38,0],[0.28,0.82],[-0.28,0.82]],"holes":[[[-0.31,0.06],[0.31,0.06],[0.225,0.75],[-0.225,0.75]]]},"position":[0.75,0,0],"rotation":[0,1.5708,0]}]}}

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

cat packs/interiors.ndjson model.ndjson > dressed.ndjson
Download interiors pack 119 KB · NDJSON ↓