Panel wardrobe
panel-wardrobe
dresses furniture:wardrobe
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 7of 500 meshes
- 3slots
- 2finishes
Drag to orbit · scroll to zoom
$frame
$surface
$hardware
This definition leaves
$frame and $surface and $hardware
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-int-oak","of":"timber","value":58,"hatch":"timber"}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"lookdef","id":"panel-wardrobe","for":"furniture:wardrobe","desc":"Boxy panel wardrobe with full-height flush doors and a plinth.","slots":{"frame":"pack-int-oak","surface":"pack-int-oak","hardware":"pal-steel-dark"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":1.6,"height":2.04,"depth":0.57},"position":[0,1.05,0]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.505,"height":1.98,"depth":0.025,"radius":0.008,"segments":2},"position":[-0.525,1.06,0.2975]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.505,"height":1.98,"depth":0.025,"radius":0.008,"segments":2},"position":[0,1.06,0.2975]},{"type":"Mesh","material":"$surface","geometry":{"type":"RoundedBoxGeometry","width":0.505,"height":1.98,"depth":0.025,"radius":0.008,"segments":2},"position":[0.525,1.06,0.2975]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.24,"depth":0.025,"radius":0.01,"segments":3},"position":[-0.267,1.06,0.3225]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.24,"depth":0.025,"radius":0.01,"segments":3},"position":[0.267,1.06,0.3225]},{"type":"Mesh","material":"$hardware","geometry":{"type":"BoxGeometry","width":1.56,"height":0.06,"depth":0.56},"position":[0,0.03,0]}],"scale":[0.999999985,1.014492763,0.967741941]},"preview":{"projection":"perspective","azimuth":34,"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 ↓
The 2 finishes this pack ships
Combinations the pack author curated, rendered under one light and one camera because a comparison needs everything but the variable held still. Pick one to load it above — or mix your own with the slot controls.