Banquet trestle
banquet-trestle
dresses furniture:banquet-table
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 9of 500 meshes
- 3slots
- 1finish
Drag to orbit · scroll to zoom
$surface
$frame
$soft
This definition leaves
$surface and $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.
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-assembly-ivory-cloth","of":"cloth","value":80,"accent":"#ded9cf","body":{"roughness":0.92,"sheen":0.22,"sheenRoughness":0.8}}
{"t":"materialdef","id":"pack-assembly-oak","of":"timber","value":58,"accent":"#9b6a3d"}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"banquet-trestle","for":"furniture:banquet-table","desc":"Cloth-draped rectangular banquet table with exposed trestle frame.","slots":{"surface":"pack-assembly-oak","frame":"pal-charcoal","soft":"pack-assembly-ivory-cloth"},"preview":{"projection":"perspective","azimuth":-38,"elevation":18,"fov":30,"margin":1.01},"body":{"type":"Group","children":[{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":1.77,"height":0.055,"depth":0.7,"radius":0.018,"segments":3},"position":[0,0.69,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":1.83,"height":0.025,"depth":0.76,"radius":0.01,"segments":2},"position":[0,0.735,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"CylinderGeometry","radiusTop":0.9,"radiusBottom":1,"height":0.68,"radialSegments":4,"heightSegments":1,"openEnded":false,"thetaStart":0.7853981633974483},"position":[0,0.38,0],"scale":[1.294005,1,0.537401]},{"type":"Mesh","material":"$soft","geometry":{"type":"TubeGeometry","path":[[-0.875,0.7,-0.35],[-0.855,0.38,-0.335],[-0.79,0.09,-0.3]],"radius":0.02,"radialSegments":10,"tubularSegments":16}},{"type":"Mesh","material":"$soft","geometry":{"type":"TubeGeometry","path":[[-0.875,0.7,0.35],[-0.855,0.38,0.335],[-0.79,0.09,0.3]],"radius":0.02,"radialSegments":10,"tubularSegments":16}},{"type":"Mesh","material":"$soft","geometry":{"type":"TubeGeometry","path":[[0.875,0.7,-0.35],[0.855,0.38,-0.335],[0.79,0.09,-0.3]],"radius":0.02,"radialSegments":10,"tubularSegments":16}},{"type":"Mesh","material":"$soft","geometry":{"type":"TubeGeometry","path":[[0.875,0.7,0.35],[0.855,0.38,0.335],[0.79,0.09,0.3]],"radius":0.02,"radialSegments":10,"tubularSegments":16}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.58,0.022,-0.22],[-0.5,0.65,-0.18],[0.5,0.65,-0.18],[0.58,0.022,-0.22]],"radius":0.02,"radialSegments":10,"tubularSegments":24}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.58,0.022,0.22],[-0.5,0.65,0.18],[0.5,0.65,0.18],[0.58,0.022,0.22]],"radius":0.02,"radialSegments":10,"tubularSegments":24}}]}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/assembly.ndjson model.ndjson > dressed.ndjson
Download assembly pack
18 KB · NDJSON ↓