Dumbbell rack
dumbbell-rack
dresses asset:dumbbell-rack
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 10of 500 meshes
- 2slots
- 1finish
Drag to orbit · scroll to zoom
$frame:frame
$frame:weight
This definition leaves
$frame:frame and $frame:weight
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-fitness-aluminium","of":"steel","value":72,"accent":"#b8bec0","body":{"metalness":0.76}}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"lookdef","id":"dumbbell-rack","for":"asset:dumbbell-rack","desc":"Two-tier dumbbell rack with evenly spaced round weights.","slots":{"frame:frame":"pal-charcoal","frame:weight":"pal-charcoal"},"preview":{"projection":"perspective","azimuth":38,"elevation":19,"fov":28,"margin":1.01},"body":{"type":"Group","children":[{"type":"bimtex:Run","count":2,"from":[-0.96,0,0],"to":[0.96,0,0],"children":[{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":0.08,"height":0.06,"depth":0.6,"radius":0.012,"segments":2},"position":[0,0.03,0]}]},{"type":"bimtex:Run","count":2,"from":[-0.96,0,0],"to":[0.96,0,0],"children":[{"type":"Mesh","material":"$frame:frame","geometry":{"type":"TubeGeometry","path":[[0,0.05,-0.24],[0,0.86,-0.16],[0,0.05,0.24]],"radius":0.03,"radialSegments":10,"tubularSegments":18}}]},{"type":"bimtex:Run","count":2,"from":[0,0.34,0.1],"to":[0,0.68,0.05],"children":[{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":2,"height":0.08,"depth":0.22,"radius":0.018,"segments":2}}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.48,0.08],"to":[0.82,0.48,0.08],"children":[{"type":"Mesh","material":"pack-fitness-aluminium","geometry":{"type":"CylinderGeometry","radiusTop":0.025,"radiusBottom":0.025,"height":0.24,"radialSegments":12},"rotation":[1.5708,0,0]}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.48,0.08],"to":[0.82,0.48,0.08],"children":[{"type":"Mesh","material":"$frame:weight","geometry":{"type":"CylinderGeometry","radiusTop":0.102,"radiusBottom":0.102,"height":0.08,"radialSegments":6},"rotation":[1.5708,0,0],"position":[0,0,-0.09]}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.48,0.08],"to":[0.82,0.48,0.08],"children":[{"type":"Mesh","material":"$frame:weight","geometry":{"type":"CylinderGeometry","radiusTop":0.102,"radiusBottom":0.102,"height":0.08,"radialSegments":6},"rotation":[1.5708,0,0],"position":[0,0,0.09]}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.79,0.03],"to":[0.82,0.79,0.03],"children":[{"type":"Mesh","material":"pack-fitness-aluminium","geometry":{"type":"CylinderGeometry","radiusTop":0.022,"radiusBottom":0.022,"height":0.22,"radialSegments":12},"rotation":[1.5708,0,0]}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.79,0.03],"to":[0.82,0.79,0.03],"children":[{"type":"Mesh","material":"$frame:weight","geometry":{"type":"CylinderGeometry","radiusTop":0.086,"radiusBottom":0.086,"height":0.075,"radialSegments":6},"rotation":[1.5708,0,0],"position":[0,0,-0.08]}]},{"type":"bimtex:Run","count":8,"from":[-0.82,0.79,0.03],"to":[0.82,0.79,0.03],"children":[{"type":"Mesh","material":"$frame:weight","geometry":{"type":"CylinderGeometry","radiusTop":0.086,"radiusBottom":0.086,"height":0.075,"radialSegments":6},"rotation":[1.5708,0,0],"position":[0,0,0.08]}]},{"type":"Mesh","material":"$frame:frame","geometry":{"type":"RoundedBoxGeometry","width":2,"height":0.05,"depth":0.08,"radius":0.012,"segments":2},"position":[0,0.875,-0.16]}]}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/fitness.ndjson model.ndjson > dressed.ndjson
Download fitness pack
23 KB · NDJSON ↓