Single platform bed
single-platform-bed
dresses furniture:bed-single
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 13of 500 meshes
- 3slots
- 1finish
Drag to orbit · scroll to zoom
$soft:fabric
$frame
$soft:bedding
This definition leaves
$soft:fabric and $frame and $soft:bedding
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 4 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":"pack-hotel-runner","of":"cloth","value":20,"accent":"#38383a"}
{"t":"materialdef","id":"pack-hotel-white","of":"cloth","value":92,"accent":"#f5f3ee"}
{"t":"materialdef","id":"pal-oak","of":"timber","value":72}
{"t":"lookdef","id":"single-platform-bed","for":"furniture:bed-single","desc":"Single platform bed with a simple upholstered headboard.","slots":{"soft:fabric":"pack-hotel-oatmeal","frame":"pal-oak","soft:bedding":"pack-hotel-white"},"preview":{"projection":"perspective","azimuth":-34,"elevation":17,"fov":34,"margin":1.03},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.97,"height":0.14,"depth":1.83,"radius":0.025,"segments":3},"position":[0,0.12,0.04]},{"type":"Mesh","material":"$frame","geometry":{"type":"BoxGeometry","width":0.85,"height":0.1,"depth":1.68},"position":[0,0.05,0.08]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[-0.42,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[-0.28,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[-0.14,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[0,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[0.14,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[0.28,0.475,-0.915]},{"type":"Mesh","material":"$soft:fabric","geometry":{"type":"RoundedBoxGeometry","width":0.13,"height":0.95,"depth":0.08,"radius":0.035,"segments":3},"position":[0.42,0.475,-0.915]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":0.88,"height":0.29,"depth":1.68,"radius":0.08,"segments":4},"position":[0,0.335,0.08]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":0.72,"height":0.18,"depth":0.36,"radius":0.07,"segments":4},"position":[0,0.56,-0.54],"rotation":[-0.08,0,0]},{"type":"Mesh","material":"$soft:bedding","geometry":{"type":"RoundedBoxGeometry","width":0.76,"height":0.16,"depth":0.34,"radius":0.065,"segments":4},"position":[0,0.54,-0.34],"rotation":[-0.04,0,0]},{"type":"Mesh","material":"pack-hotel-runner","geometry":{"type":"RoundedBoxGeometry","width":0.9,"height":0.035,"depth":0.48,"radius":0.02,"segments":3},"position":[0,0.4975,0.48]}]}}
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 ↓