bimtex

fitness

Upright bike

upright-bike dresses asset:exercise-bike — and nothing else. Appearance is invisible to the drawing set, so adding this changes no plan, no section and no elevation.

  • 15of 500 meshes
  • 2slots
  • 1finish

Drag to orbit · scroll to zoom

The build. Made here, now, by the same interpreter a model gets.
Upright bike, shown as a photorealistic visual reference
The reference. AI-generated, not bimtex output — the authored input this body was written against.
$frame
$soft

This definition leaves $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-fitness-screen","of":"paint","value":20,"accent":"#25292c","body":{"roughness":0.16,"clearcoat":0.45}}
{"t":"materialdef","id":"pal-charcoal","of":"paint","value":20}
{"t":"materialdef","id":"pal-wool-dark","of":"cloth","value":20}
{"t":"lookdef","id":"upright-bike","for":"asset:exercise-bike","desc":"Stationary upright exercise bike with front flywheel and console.","slots":{"frame":"pal-charcoal","soft":"pal-wool-dark"},"preview":{"projection":"perspective","azimuth":8,"elevation":15,"fov":30,"margin":1.01},"body":{"type":"Group","children":[{"type":"bimtex:Run","count":2,"from":[0,0,-0.555],"to":[0,0,0.555],"children":[{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.7,"height":0.08,"depth":0.1,"radius":0.025,"segments":3},"position":[0,0.04,0]}]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.34,"height":0.44,"depth":0.88,"radius":0.16,"segments":4},"position":[0,0.33,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"CylinderGeometry","radiusTop":0.16,"radiusBottom":0.16,"height":0.06,"radialSegments":24},"position":[0.18,0.35,0.12],"rotation":[1.5708,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0,0.5,-0.25],[0,1.16,-0.48]],"radius":0.055,"radialSegments":12,"tubularSegments":12}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0,0.52,0.12],[0,0.88,0.3]],"radius":0.045,"radialSegments":12,"tubularSegments":10}},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.38,"height":0.1,"depth":0.28,"radius":0.06,"segments":3},"position":[0,0.92,0.34]},{"type":"Mesh","material":"pack-fitness-screen","geometry":{"type":"RoundedBoxGeometry","width":0.34,"height":0.12,"depth":0.08,"radius":0.022,"segments":3},"position":[0,1.34,-0.42],"rotation":[-0.18,0,0]},{"type":"Mesh","material":"$soft","geometry":{"type":"TubeGeometry","path":[[-0.3,1.18,-0.5],[-0.22,1.1,-0.34],[0,1.1,-0.25],[0.22,1.1,-0.34],[0.3,1.18,-0.5]],"radius":0.025,"radialSegments":10,"tubularSegments":22}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0,0.08,-0.555],[0,0.2,-0.3]],"radius":0.035,"radialSegments":8,"tubularSegments":10,"curve":"spline"}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0,0.08,0.555],[0,0.2,0.3]],"radius":0.035,"radialSegments":8,"tubularSegments":10,"curve":"spline"}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0,1.15,-0.42],[0,1.34,-0.42]],"radius":0.035,"radialSegments":8,"tubularSegments":10,"curve":"spline"}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.02,0.38,0.36],[-0.18,0.5,0.36]],"radius":0.018,"radialSegments":8,"tubularSegments":10,"curve":"spline"}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[0.02,0.38,0.36],[0.18,0.26,0.36]],"radius":0.018,"radialSegments":8,"tubularSegments":10,"curve":"spline"}},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.16,"height":0.035,"depth":0.07,"radius":0.012,"segments":2},"position":[-0.2,0.51,0.36]},{"type":"Mesh","material":"$soft","geometry":{"type":"RoundedBoxGeometry","width":0.16,"height":0.035,"depth":0.07,"radius":0.012,"segments":2},"position":[0.2,0.25,0.36]}]}}

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 ↓