Slatted oak crib
slatted-oak-crib
dresses furniture:crib
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 13of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$frame
$soft
This definition leaves
$frame and $soft
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.
Generated views
The body and its drawing evidence
The A-101 panel is the built-in plan symbol at its default envelope, not
a top-down image of this lookdef. The deterministic renders check the
body's footprint, structure and depth. Geometry, material and the
selected finish stay unchanged.
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-oak","of":"timber","value":72,"accent":"#b98b5d"}
{"t":"materialdef","id":"pack-hotel-white","of":"cloth","value":92,"accent":"#f5f3ee"}
{"t":"lookdef","id":"slatted-oak-crib","name":"Slatted oak crib","for":"furniture:crib","desc":"Compact oak crib with slatted sides, rounded rails and a pale mattress.","slots":{"frame":"pack-hotel-oak","soft":"pack-hotel-white"},"note":"Natural box is 0.7 × 0.95 × 1.3; the mattress sits below the top rails and repeated slats preserve all four open elevations.","body":{"type":"Group","children":[{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.6,"height":0.12,"depth":1.16,"radius":0.05,"segments":4},"position":[0,0.38,0]},{"type":"bimtex:Run","count":7,"from":[0,0,-0.5],"to":[0,0,0.5],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.018,"radiusBottom":0.018,"height":0.55,"radialSegments":12},"position":[-0.32,0.65,0]}]},{"type":"bimtex:Run","count":7,"from":[0,0,-0.5],"to":[0,0,0.5],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.018,"radiusBottom":0.018,"height":0.55,"radialSegments":12},"position":[0.32,0.65,0]}]},{"type":"bimtex:Run","count":5,"from":[-0.22,0,0],"to":[0.22,0,0],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.018,"radiusBottom":0.018,"height":0.55,"radialSegments":12},"position":[0,0.65,-0.61]}]},{"type":"bimtex:Run","count":5,"from":[-0.22,0,0],"to":[0.22,0,0],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.018,"radiusBottom":0.018,"height":0.55,"radialSegments":12},"position":[0,0.65,0.61]}]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.7,"depth":0.07,"radius":0.025,"segments":3},"position":[-0.315,0.35,-0.615]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.7,"depth":0.07,"radius":0.025,"segments":3},"position":[0.315,0.35,-0.615]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.7,"depth":0.07,"radius":0.025,"segments":3},"position":[-0.315,0.35,0.615]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.7,"depth":0.07,"radius":0.025,"segments":3},"position":[0.315,0.35,0.615]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.7,"height":0.07,"depth":0.08,"radius":0.025,"segments":3},"position":[0,0.915,-0.61]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.7,"height":0.07,"depth":0.08,"radius":0.025,"segments":3},"position":[0,0.915,0.61]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.07,"depth":1.3,"radius":0.025,"segments":3},"position":[-0.315,0.915,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.07,"height":0.07,"depth":1.3,"radius":0.025,"segments":3},"position":[0.315,0.915,0]}]},"preview":{"projection":"perspective","azimuth":38,"elevation":22,"fov":34,"margin":1.04}}
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
18 KB · NDJSON ↓