Four top round table
four-top-round-table
dresses furniture:round-table-4
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 4of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$surface
$frame
This definition leaves
$surface and $frame
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-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"four-top-round-table","for":"furniture:round-table-4","desc":"Small round café table with a single central pedestal.","slots":{"surface":"pack-int-oak","frame":"pal-charcoal"},"preview":{"projection":"perspective","azimuth":-38,"elevation":22,"fov":32,"margin":1.05},"body":{"type":"Group","children":[{"type":"Mesh","material":"$surface","geometry":{"type":"CylinderGeometry","radiusTop":0.525,"radiusBottom":0.525,"height":0.045,"radialSegments":24},"position":[0,0.7175,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"LatheGeometry","segments":24,"profile":[[0.18,0],[0.22,0.035],[0.15,0.075],[0.11,0.11],[0.09,0.22],[0.13,0.31],[0.1,0.42],[0.075,0.57],[0.1,0.67],[0.13,0.695]]}},{"type":"bimtex:Run","count":2,"from":[-0.08,0.0125,0],"to":[0.08,0.0125,0],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.18,"height":0.05,"depth":0.38,"radius":0.018,"segments":3}}]},{"type":"bimtex:Run","count":2,"from":[0,0.0125,-0.08],"to":[0,0.0125,0.08],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.38,"height":0.05,"depth":0.18,"radius":0.018,"segments":3}}]}]}}
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 ↓