Glass shower
glass-shower
dresses furniture:shower
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 11of 500 meshes
- 3slots
- 1finish
Drag to orbit · scroll to zoom
$frame
$glazing
$accent
This definition leaves
$frame and $glazing and $accent
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 3 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-glass","of":"glass","value":86,"body":{"type":"MeshPhysicalMaterial","transmission":0.92,"ior":1.5,"thickness":0.02}}
{"t":"materialdef","id":"pal-ceramic","of":"ceramic","value":92}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"glass-shower","for":"furniture:shower","desc":"Frameless glass shower enclosure with a hinged door.","slots":{"frame":"pal-ceramic","glazing":"pack-int-glass","accent":"pal-charcoal"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.9,"height":0.08,"depth":0.9,"radius":0.025,"segments":3},"position":[0,0.04,0]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.86,"height":1.98,"depth":0.012},"position":[0,1.09,-0.438]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.012,"height":1.98,"depth":0.86},"position":[-0.438,1.09,0]},{"type":"Mesh","material":"$glazing","geometry":{"type":"BoxGeometry","width":0.43,"height":1.98,"depth":0.012},"position":[0.225,1.09,0.438]},{"type":"Mesh","material":"$accent","geometry":{"type":"BoxGeometry","width":0.025,"height":2.02,"depth":0.025},"position":[-0.438,1.09,-0.438]},{"type":"Mesh","material":"$accent","geometry":{"type":"BoxGeometry","width":0.025,"height":2.02,"depth":0.025},"position":[0.438,1.09,-0.438]},{"type":"Mesh","material":"$accent","geometry":{"type":"BoxGeometry","width":0.025,"height":2.02,"depth":0.025},"position":[-0.438,1.09,0.438]},{"type":"Mesh","material":"$accent","geometry":{"type":"BoxGeometry","width":0.025,"height":2.02,"depth":0.025},"position":[0.438,1.09,0.438]},{"type":"Mesh","material":"$accent","geometry":{"type":"TubeGeometry","path":[[-0.32,0.78,-0.42],[-0.32,1.8,-0.42],[-0.32,1.96,-0.28]],"radius":0.018,"radialSegments":12,"tubularSegments":24}},{"type":"Mesh","material":"$accent","geometry":{"type":"CylinderGeometry","radiusTop":0.12,"radiusBottom":0.12,"height":0.022,"radialSegments":24},"position":[-0.32,1.94,-0.22]},{"type":"Mesh","material":"$accent","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.28,"depth":0.035,"radius":0.012,"segments":3},"position":[0.06,1.05,0.452]}],"scale":[0.998890122,1.000000005,0.978260869]}}
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 ↓