bimtex

interiors

Two-cushion lounge sofa

two-cushion-lounge-sofa dresses furniture:sofa — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 12of 500 meshes
  • 3slots
  • 5finishes

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Two-cushion lounge sofa, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$soft:fabric
$soft:cushion
$frame

This definition leaves $soft:fabric and $soft:cushion 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 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-int-linen","of":"cloth","value":72,"body":{"sheen":0.7,"sheenRoughness":0.6}}
{"t":"materialdef","id":"pack-int-linen-soft","of":"cloth","value":80,"body":{"sheenRoughness":0.55}}
{"t":"materialdef","id":"pack-int-oak","of":"timber","value":58,"hatch":"timber"}
{"t":"lookdef","id":"two-cushion-lounge-sofa","name":"Two-cushion lounge sofa","for":"furniture:sofa","desc":"Low lounge sofa with two loose cushions and broad arms.","slots":{"soft:fabric":"pack-int-linen","soft:cushion":"pack-int-linen-soft","frame":"pack-int-oak"},"note":"A low contemporary sofa with a slim upholstered base, two broad arms, exactly two seat cushions, two loose back cushions and four short oak legs. The split cushions carry the scale without decorative piping or throws.","body":{"type":"Group","children":[{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":2.2,"height":0.2,"depth":0.92,"radius":0.06},"position":[0,0.27,0]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.2,"height":0.5,"depth":0.88,"radius":0.06},"position":[-1,0.53,0.01]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.2,"height":0.5,"depth":0.88,"radius":0.06},"position":[1,0.53,0.01]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":1.98,"height":0.48,"depth":0.16,"radius":0.06},"position":[0,0.68,-0.38]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.88,"height":0.17,"depth":0.72,"radius":0.07},"position":[-0.46,0.49,0.06]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.88,"height":0.17,"depth":0.72,"radius":0.07},"position":[0.46,0.49,0.06]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.89,"height":0.44,"depth":0.15,"radius":0.07},"position":[-0.47,0.76,-0.27],"rotation":[-0.09,0,0]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.89,"height":0.44,"depth":0.15,"radius":0.07},"position":[0.47,0.76,-0.27],"rotation":[-0.09,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.038,"radiusBottom":0.045,"height":0.16,"radialSegments":12},"position":[-0.9,0.08,-0.33]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.038,"radiusBottom":0.045,"height":0.16,"radialSegments":12},"position":[0.9,0.08,-0.33]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.038,"radiusBottom":0.045,"height":0.16,"radialSegments":12},"position":[-0.9,0.08,0.33]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.038,"radiusBottom":0.045,"height":0.16,"radialSegments":12},"position":[0.9,0.08,0.33]}]},"preview":{"projection":"perspective","azimuth":38,"elevation":18,"fov":34,"margin":1.04}}

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 ↓