Slat park bench
slat-park-bench
dresses furniture:bench
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 8of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$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-site-timber","of":"timber","value":42,"accent":"#8b603d","body":{"roughness":0.74}}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"slat-park-bench","for":"furniture:bench","desc":"Traditional park bench with slatted seat, back, and armrests.","slots":{"frame:bark":"pack-site-timber","frame":"pal-charcoal"},"preview":{"projection":"perspective","azimuth":-42,"elevation":22,"fov":34,"margin":1.04},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,-0.1875]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,-0.1125]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,-0.0375]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,0.0375]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,0.1125]},{"type":"Mesh","material":"$frame:bark","geometry":{"type":"RoundedBoxGeometry","width":1.6,"height":0.055,"depth":0.06,"radius":0.01,"segments":3},"position":[0,0.4225,0.1875]},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.55,0.4,-0.19],[-0.55,0.2,-0.215],[-0.55,0.025,-0.2],[-0.55,0.025,0.2],[-0.55,0.2,0.215],[-0.55,0.4,0.19]],"radius":0.025,"radialSegments":10,"tubularSegments":28,"curve":"spline"}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0.55,0.4,-0.19],[0.55,0.2,-0.215],[0.55,0.025,-0.2],[0.55,0.025,0.2],[0.55,0.2,0.215],[0.55,0.4,0.19]],"radius":0.025,"radialSegments":10,"tubularSegments":28,"curve":"spline"}}],"scale":[0.999999985,0.921214018,0.915049776]}}
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 ↓