bimtex

interiors

Pinch pleat curtain

pinch-pleat-curtain dresses asset:curtain — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 4of 500 meshes
  • 2slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Pinch pleat curtain, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$soft
$hardware

This definition leaves $soft 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 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-drape","of":"cloth","value":72,"body":{"roughness":0.9,"sheen":0.3,"sheenRoughness":0.75}}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"lookdef","id":"pinch-pleat-curtain","for":"asset:curtain","desc":"Floor-length pinch-pleat curtain on a slim track, gathered into repeating folds.","slots":{"soft":"pack-int-drape","hardware":"pal-steel-dark"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$hardware","geometry":{"type":"BoxGeometry","args":[2,0.03,0.035]},"position":[0,2.385,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.012,0.012,0.05,8]},"position":[-0.96,2.35,0]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","args":[0.012,0.012,0.05,8]},"position":[0.96,2.35,0]},{"type":"bimtex:Run","count":13,"from":[-0.92,1.17,0],"to":[0.92,1.17,0],"children":[{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.16,"height":2.34,"depth":0.12,"radius":0.055,"segments":4}}]}]},"preview":{"projection":"perspective","azimuth":24,"elevation":12,"fov":34,"margin":1.08}}

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 ↓