Headboard panel
headboard-panel
dresses asset:headboard-panel
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 16of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$soft
$frame
This definition leaves
$soft 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-hotel-oatmeal","of":"cloth","value":80,"accent":"#d2c7b6"}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"headboard-panel","for":"asset:headboard-panel","desc":"Wide upholstered headboard panel with narrow vertical channeling.","slots":{"soft":"pack-hotel-oatmeal","frame":"pal-charcoal"},"preview":{"projection":"perspective","azimuth":10,"elevation":12,"fov":34,"margin":1.03},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":2.2,"height":1.16,"depth":0.02},"position":[0,0.6,-0.03]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[-1.01,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[-0.808,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[-0.606,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[-0.404,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[-0.202,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[0,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[0.202,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[0.404,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[0.606,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[0.808,0.6,0.01]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":1.2,"depth":0.06,"radius":0.035,"segments":3},"position":[1.01,0.6,0.01]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.055,"radiusBottom":0.055,"height":0.016,"radialSegments":20},"position":[-0.9,0.91,0.037],"rotation":[1.5708,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.055,"radiusBottom":0.055,"height":0.016,"radialSegments":20},"position":[0.9,0.91,0.037],"rotation":[1.5708,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.9,0.91,0.038],[-0.88,0.84,0.038],[-0.82,0.74,0.038]],"radius":0.012,"radialSegments":10,"tubularSegments":12}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0.9,0.91,0.038],[0.88,0.84,0.038],[0.82,0.74,0.038]],"radius":0.012,"radialSegments":10,"tubularSegments":12}}],"scale":[0.999999978,0.99999996,0.888888884]}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/hotel.ndjson model.ndjson > dressed.ndjson
Download hotel pack
15 KB · NDJSON ↓