Café service bar
cafe-service-bar-2
dresses furniture:bar
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 5of 500 meshes
- 5slots
- 1finish
Drag to orbit · scroll to zoom
$frame:body
$surface:slat
$surface:top
$frame:plinth
$hardware
This definition leaves
$frame:body and $surface:slat and $surface:top and $frame:plinth 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 4 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":"materialdef","id":"pal-steel","of":"steel","value":72}
{"t":"materialdef","id":"pal-stone","of":"stone","value":86}
{"t":"lookdef","id":"cafe-service-bar-2","name":"Café service bar","for":"furniture:bar","desc":"Long café service bar with raised counter and panelled front.","slots":{"frame:body":"pack-int-oak","surface:slat":"pack-int-oak","surface:top":"pal-stone","frame:plinth":"pal-charcoal","hardware":"pal-steel"},"body":{"type":"Group","children":[{"type":"Mesh","material":"$frame:body","geometry":{"type":"RoundedBoxGeometry","width":1.42,"height":0.78,"depth":0.52,"radius":0.025,"segments":3},"position":[0,0.42,0]},{"type":"Mesh","material":"$surface:top","geometry":{"type":"RoundedBoxGeometry","width":1.52,"height":0.08,"depth":0.61,"radius":0.025,"segments":3},"position":[0,0.84,0]},{"type":"Mesh","material":"$frame:plinth","geometry":{"type":"RoundedBoxGeometry","width":1.45,"height":0.06,"depth":0.53,"radius":0.015,"segments":3},"position":[0,0.055,0]},{"type":"bimtex:Run","count":24,"from":[-0.68,0.43,0.275],"to":[0.68,0.43,0.275],"children":[{"type":"Mesh","material":"$surface:slat","geometry":{"type":"RoundedBoxGeometry","width":0.035,"height":0.66,"depth":0.025,"radius":0.008,"segments":3},"position":[0,0,0]}]},{"type":"Mesh","material":"$hardware","geometry":{"type":"RoundedBoxGeometry","width":1.18,"height":0.025,"depth":0.06,"radius":0.008,"segments":3},"position":[0,0.88,-0.12]}],"scale":[1.16,1,0.92]},"preview":{"projection":"perspective","azimuth":-40,"elevation":18,"fov":34,"margin":1.04}}
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 ↓