Outdoor sofa
outdoor-sofa
dresses asset:outdoor-sofa
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 10of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$frame
$soft
This definition leaves
$frame and $soft
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-site-cushion","of":"cloth","value":80,"accent":"#d9cbb6"}
{"t":"materialdef","id":"pack-site-timber","of":"timber","value":42,"accent":"#8b603d","body":{"roughness":0.74}}
{"t":"lookdef","id":"outdoor-sofa","for":"asset:outdoor-sofa","desc":"Low outdoor sofa with thick cushions and squared arms.","slots":{"frame":"pack-site-timber","soft":"pack-site-cushion"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":2.1,"height":0.14,"depth":0.85,"radius":0.035,"segments":3},"position":[0,0.07,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":2.02,"height":0.6,"depth":0.08,"radius":0.025,"segments":3},"position":[0,0.45,-0.385]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.5,"depth":0.76,"radius":0.03,"segments":3},"position":[-0.995,0.36,0.02]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.5,"depth":0.76,"radius":0.03,"segments":3},"position":[0.995,0.36,0.02]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.16,"depth":0.62,"radius":0.055,"segments":4},"position":[-0.66,0.22,0.045]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.16,"depth":0.62,"radius":0.055,"segments":4},"position":[0,0.22,0.045]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.16,"depth":0.62,"radius":0.055,"segments":4},"position":[0.66,0.22,0.045]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.4,"depth":0.14,"radius":0.05,"segments":4},"position":[-0.66,0.52,-0.295],"rotation":[-0.08,0,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.4,"depth":0.14,"radius":0.05,"segments":4},"position":[0,0.52,-0.295],"rotation":[-0.08,0,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.62,"height":0.4,"depth":0.14,"radius":0.05,"segments":4},"position":[0.66,0.52,-0.295],"rotation":[-0.08,0,0]}],"scale":[1,0.999999984,0.999999972]},"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/site-assets.ndjson model.ndjson > dressed.ndjson
Download site-assets pack
60 KB · NDJSON ↓