Compact loveseat 2
compact-loveseat-2
dresses furniture:loveseat
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 10of 500 meshes
- 3slots
- 1finish
Drag to orbit · scroll to zoom
$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 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-ash","of":"timber","value":80,"accent":"#cbbfa9"}
{"t":"materialdef","id":"pack-oatmeal","of":"boucle","value":80,"accent":"#d7cbbb"}
{"t":"lookdef","id":"compact-loveseat-2","for":"furniture:loveseat","desc":"Compact two-seat sofa with squared cushions and low arms.","slots":{"soft:fabric":"pack-oatmeal","soft:cushion":"pack-oatmeal","frame":"pack-ash"},"preview":{"projection":"perspective","azimuth":42,"elevation":16,"fov":30,"margin":1.02},"body":{"type":"Group","children":[{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":1.2,"height":0.2,"depth":0.6,"radius":0.09,"segments":3},"position":[0,0.26,0]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":1.04,"height":0.46,"depth":0.16,"radius":0.09,"segments":3},"position":[0,0.59,-0.23],"rotation":[-0.06,0,0]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.2,"height":0.35,"depth":0.58,"radius":0.1,"segments":3},"position":[-0.5,0.415,-0.01],"rotation":[0,0,-0.08]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.2,"height":0.35,"depth":0.58,"radius":0.1,"segments":3},"position":[0.5,0.415,-0.01],"rotation":[0,0,0.08]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.48,"height":0.14,"depth":0.45,"radius":0.065,"segments":3},"position":[-0.25,0.43,0.07]},{"type":"Mesh","material":"$soft:cushion","geometry":{"type":"RoundedBoxGeometry","width":0.48,"height":0.14,"depth":0.45,"radius":0.065,"segments":3},"position":[0.25,0.43,0.07]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.025,"radiusBottom":0.04,"height":0.13,"radialSegments":14},"position":[-0.43,0.065,-0.22]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.025,"radiusBottom":0.04,"height":0.13,"radialSegments":14},"position":[0.43,0.065,-0.22]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.025,"radiusBottom":0.04,"height":0.13,"radialSegments":14},"position":[-0.43,0.065,0.22]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.025,"radiusBottom":0.04,"height":0.13,"radialSegments":14},"position":[0.43,0.065,0.22]}]}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/furniture.ndjson model.ndjson > dressed.ndjson
Download furniture pack
33 KB · NDJSON ↓