Oval soaking tub
oval-soaking-tub
dresses furniture:bathtub
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 3of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$frame
$hardware
This definition leaves
$frame 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-brass","of":"brass","value":58,"accent":"#b08d52","body":{"metalness":0.75}}
{"t":"materialdef","id":"pal-ceramic","of":"ceramic","value":92}
{"t":"lookdef","id":"oval-soaking-tub","name":"Oval soaking tub","for":"furniture:bathtub","desc":"Freestanding oval soaking tub with a gently flared rim.","slots":{"frame":"pal-ceramic","hardware":"pack-int-brass"},"note":"A deep hollow freestanding oval shell with a thin continuous rim and a minimal floor-standing filler.","body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"LatheGeometry","segments":32,"profile":[[0.24,0],[0.33,0.06],[0.37,0.43],[0.375,0.5],[0.35,0.52],[0.315,0.48],[0.29,0.16],[0.21,0.05]]},"scale":[2.266666667,1,1]},{"type":"Mesh","material":"$hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.018,"radiusBottom":0.026,"height":0.56,"radialSegments":18},"position":[0.55,0.28,-0.32]},{"type":"Mesh","material":"$hardware","geometry":{"type":"TubeGeometry","path":[[0.55,0.5,-0.32],[0.55,0.57,-0.32],[0.42,0.57,-0.32],[0.38,0.53,-0.32]],"radius":0.018,"radialSegments":12,"tubularSegments":20}}],"scale":[1,0.986394557,1]}}
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 ↓