@things-factory/figure-service 10.1.200 → 10.1.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-server/service/figure/figure-context.d.ts +1 -1
- package/dist-server/service/figure/figure-context.js +10 -4
- package/dist-server/service/figure/figure-context.js.map +1 -1
- package/dist-server/service/figure/figure-propose-steps.js +3 -3
- package/dist-server/service/figure/figure-propose-steps.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/recipes/_lib/model.mts +4 -4
- package/recipes/air-cylinder/build.mts +2 -2
- package/recipes/air-cylinder/models/default.json +1 -1
- package/recipes/air-cylinder/recipe.json +2 -4
- package/recipes/air-shower/build.mts +2 -2
- package/recipes/air-shower/models/default.json +1 -1
- package/recipes/air-shower/recipe.json +2 -4
- package/recipes/barrier-gate/build.mts +1 -1
- package/recipes/barrier-gate/models/default.json +1 -1
- package/recipes/barrier-gate/recipe.json +1 -2
- package/recipes/base-frame/build.mts +2 -2
- package/recipes/base-frame/models/default.json +1 -1
- package/recipes/base-frame/recipe.json +4 -8
- package/recipes/belt-surface/build.mts +1 -1
- package/recipes/belt-surface/models/default.json +1 -1
- package/recipes/belt-surface/recipe.json +1 -2
- package/recipes/bin-row/build.mts +1 -1
- package/recipes/bin-row/models/default.json +1 -1
- package/recipes/bin-row/recipe.json +1 -2
- package/recipes/bollard-row/build.mts +1 -1
- package/recipes/bollard-row/models/default.json +1 -1
- package/recipes/bollard-row/recipe.json +1 -2
- package/recipes/buzzer/build.mts +1 -1
- package/recipes/buzzer/models/default.json +1 -1
- package/recipes/buzzer/recipe.json +1 -2
- package/recipes/cabinet-doors/build.mts +2 -2
- package/recipes/cabinet-doors/models/default.json +1 -1
- package/recipes/cabinet-doors/models/doors=1.json +1 -1
- package/recipes/cabinet-doors/models/doors=2.json +1 -1
- package/recipes/cabinet-doors/recipe.json +2 -4
- package/recipes/cable-tray/build.mts +2 -2
- package/recipes/cable-tray/models/default.json +1 -1
- package/recipes/cable-tray/recipe.json +3 -6
- package/recipes/camera-mount/build.mts +2 -2
- package/recipes/camera-mount/models/default.json +1 -1
- package/recipes/camera-mount/recipe.json +2 -4
- package/recipes/canopy/build.mts +2 -2
- package/recipes/canopy/models/default.json +1 -1
- package/recipes/canopy/recipe.json +5 -10
- package/recipes/cart/build.mts +5 -5
- package/recipes/cart/models/default.json +1 -1
- package/recipes/cart/recipe.json +16 -36
- package/recipes/cart-handle/build.mts +2 -2
- package/recipes/cart-handle/models/default.json +1 -1
- package/recipes/cart-handle/recipe.json +3 -6
- package/recipes/casters-four/build.mts +2 -2
- package/recipes/casters-four/models/default.json +1 -1
- package/recipes/casters-four/recipe.json +12 -28
- package/recipes/ceiling-rail-carriage/build.mts +2 -2
- package/recipes/ceiling-rail-carriage/models/default.json +1 -1
- package/recipes/ceiling-rail-carriage/recipe.json +2 -4
- package/recipes/chain-rails/build.mts +2 -2
- package/recipes/chain-rails/models/default.json +1 -1
- package/recipes/chain-rails/recipe.json +2 -4
- package/recipes/charging-station/build.mts +2 -2
- package/recipes/charging-station/models/default.json +1 -1
- package/recipes/charging-station/recipe.json +2 -4
- package/recipes/column-row/build.mts +1 -1
- package/recipes/column-row/models/default.json +1 -1
- package/recipes/column-row/recipe.json +1 -2
- package/recipes/control-cabinet/build.mts +2 -2
- package/recipes/control-cabinet/models/default.json +1 -1
- package/recipes/control-cabinet/recipe.json +2 -4
- package/recipes/conveyor-skirts/build.mts +2 -2
- package/recipes/conveyor-skirts/models/default.json +1 -1
- package/recipes/conveyor-skirts/recipe.json +2 -4
- package/recipes/counter-display/build.mts +2 -2
- package/recipes/counter-display/models/default.json +1 -1
- package/recipes/counter-display/recipe.json +2 -4
- package/recipes/dock-bumpers/build.mts +1 -1
- package/recipes/dock-bumpers/models/default.json +1 -1
- package/recipes/dock-bumpers/recipe.json +2 -4
- package/recipes/dock-leveler/build.mts +1 -1
- package/recipes/dock-leveler/models/default.json +1 -1
- package/recipes/dock-leveler/recipe.json +1 -2
- package/recipes/double-hinged-door/build.mts +2 -2
- package/recipes/double-hinged-door/models/default.json +1 -1
- package/recipes/double-hinged-door/recipe.json +3 -6
- package/recipes/drawer-stack/build.mts +1 -1
- package/recipes/drawer-stack/models/default.json +1 -1
- package/recipes/drawer-stack/models/drawers=2.json +1 -1
- package/recipes/drawer-stack/models/drawers=3.json +1 -1
- package/recipes/drawer-stack/models/drawers=4.json +1 -1
- package/recipes/drawer-stack/recipe.json +9 -18
- package/recipes/drip-tray/build.mts +1 -1
- package/recipes/drip-tray/models/default.json +1 -1
- package/recipes/drip-tray/recipe.json +1 -2
- package/recipes/duct-fan/build.mts +2 -2
- package/recipes/duct-fan/models/default.json +1 -1
- package/recipes/duct-fan/recipe.json +2 -4
- package/recipes/emergency-stop/build.mts +2 -2
- package/recipes/emergency-stop/models/default.json +1 -1
- package/recipes/emergency-stop/recipe.json +2 -4
- package/recipes/end-covers/build.mts +2 -2
- package/recipes/end-covers/models/default.json +1 -1
- package/recipes/end-covers/recipe.json +2 -4
- package/recipes/ffu-row/build.mts +1 -1
- package/recipes/ffu-row/models/default.json +1 -1
- package/recipes/ffu-row/recipe.json +1 -2
- package/recipes/fire-extinguisher/build.mts +2 -2
- package/recipes/fire-extinguisher/models/default.json +1 -1
- package/recipes/fire-extinguisher/recipe.json +2 -4
- package/recipes/first-aid-box/build.mts +2 -2
- package/recipes/first-aid-box/models/default.json +1 -1
- package/recipes/first-aid-box/recipe.json +2 -4
- package/recipes/floor-zone/build.mts +2 -2
- package/recipes/floor-zone/models/default.json +1 -1
- package/recipes/floor-zone/recipe.json +4 -8
- package/recipes/folding-door/build.mts +3 -3
- package/recipes/folding-door/models/default.json +1 -1
- package/recipes/folding-door/recipe.json +3 -6
- package/recipes/fork/build.mts +1 -1
- package/recipes/fork/models/default.json +1 -1
- package/recipes/fork/recipe.json +2 -4
- package/recipes/gantry-frame/build.mts +2 -2
- package/recipes/gantry-frame/models/default.json +1 -1
- package/recipes/gantry-frame/recipe.json +3 -6
- package/recipes/gripper-2f/build.mts +2 -2
- package/recipes/gripper-2f/models/default.json +1 -1
- package/recipes/gripper-2f/recipe.json +3 -6
- package/recipes/guard-cover/build.mts +1 -1
- package/recipes/guard-cover/models/default.json +1 -1
- package/recipes/guard-cover/recipe.json +1 -2
- package/recipes/handrail/build.mts +2 -2
- package/recipes/handrail/models/default.json +1 -1
- package/recipes/handrail/recipe.json +2 -4
- package/recipes/hatch/build.mts +2 -2
- package/recipes/hatch/models/default.json +1 -1
- package/recipes/hatch/recipe.json +2 -4
- package/recipes/hinged-door/build.mts +2 -2
- package/recipes/hinged-door/models/default.json +1 -1
- package/recipes/hinged-door/models/hinge=left.json +1 -1
- package/recipes/hinged-door/models/hinge=right.json +1 -1
- package/recipes/hinged-door/recipe.json +3 -6
- package/recipes/hmi-monitor/build.mts +2 -2
- package/recipes/hmi-monitor/models/default.json +1 -1
- package/recipes/hmi-monitor/recipe.json +2 -4
- package/recipes/hopper/build.mts +2 -2
- package/recipes/hopper/models/default.json +1 -1
- package/recipes/hopper/recipe.json +2 -4
- package/recipes/interlock-switch/build.mts +1 -1
- package/recipes/interlock-switch/models/default.json +1 -1
- package/recipes/interlock-switch/recipe.json +1 -2
- package/recipes/junction-box/build.mts +1 -1
- package/recipes/junction-box/models/default.json +1 -1
- package/recipes/junction-box/recipe.json +1 -2
- package/recipes/ladder/build.mts +2 -2
- package/recipes/ladder/models/default.json +1 -1
- package/recipes/ladder/recipe.json +3 -6
- package/recipes/legs-four/build.mts +1 -1
- package/recipes/legs-four/models/default.json +1 -1
- package/recipes/legs-four/recipe.json +4 -8
- package/recipes/leveling-feet/build.mts +1 -1
- package/recipes/leveling-feet/models/default.json +1 -1
- package/recipes/leveling-feet/recipe.json +4 -8
- package/recipes/lift-updown/build.mts +1 -1
- package/recipes/lift-updown/models/default.json +1 -1
- package/recipes/lift-updown/recipe.json +1 -2
- package/recipes/light-curtain/build.mts +1 -1
- package/recipes/light-curtain/models/default.json +1 -1
- package/recipes/light-curtain/recipe.json +2 -4
- package/recipes/limit-switch/build.mts +2 -2
- package/recipes/limit-switch/models/default.json +1 -1
- package/recipes/limit-switch/recipe.json +2 -4
- package/recipes/linear-guide/build.mts +2 -2
- package/recipes/linear-guide/models/default.json +1 -1
- package/recipes/linear-guide/recipe.json +2 -4
- package/recipes/locker-row/build.mts +1 -1
- package/recipes/locker-row/models/default.json +1 -1
- package/recipes/locker-row/recipe.json +1 -2
- package/recipes/motor-box/build.mts +1 -1
- package/recipes/motor-box/models/default.json +1 -1
- package/recipes/motor-box/recipe.json +1 -2
- package/recipes/observation-window/build.mts +2 -2
- package/recipes/observation-window/models/default.json +1 -1
- package/recipes/observation-window/recipe.json +2 -4
- package/recipes/operator-panel/build.mts +2 -2
- package/recipes/operator-panel/models/buttons=2.json +1 -1
- package/recipes/operator-panel/models/buttons=3.json +1 -1
- package/recipes/operator-panel/models/buttons=4.json +1 -1
- package/recipes/operator-panel/models/buttons=5.json +1 -1
- package/recipes/operator-panel/models/default.json +1 -1
- package/recipes/operator-panel/recipe.json +5 -10
- package/recipes/pallet/build.mts +2 -2
- package/recipes/pallet/models/default.json +1 -1
- package/recipes/pallet/recipe.json +4 -8
- package/recipes/partition-wall/build.mts +2 -2
- package/recipes/partition-wall/models/default.json +1 -1
- package/recipes/partition-wall/recipe.json +3 -6
- package/recipes/pass-box/build.mts +2 -2
- package/recipes/pass-box/models/default.json +1 -1
- package/recipes/pass-box/recipe.json +2 -4
- package/recipes/peg-board/build.mts +2 -2
- package/recipes/peg-board/models/default.json +1 -1
- package/recipes/peg-board/recipe.json +2 -4
- package/recipes/photo-sensor-pair/build.mts +1 -1
- package/recipes/photo-sensor-pair/models/default.json +1 -1
- package/recipes/photo-sensor-pair/recipe.json +2 -4
- package/recipes/pipe-run/build.mts +1 -1
- package/recipes/pipe-run/models/default.json +1 -1
- package/recipes/pipe-run/recipe.json +4 -7
- package/recipes/platform/build.mts +2 -2
- package/recipes/platform/models/default.json +1 -1
- package/recipes/platform/recipe.json +5 -10
- package/recipes/power-box/build.mts +1 -1
- package/recipes/power-box/models/default.json +1 -1
- package/recipes/power-box/recipe.json +1 -2
- package/recipes/pressure-gauge/build.mts +1 -1
- package/recipes/pressure-gauge/models/default.json +1 -1
- package/recipes/pressure-gauge/recipe.json +1 -2
- package/recipes/pull-cord/build.mts +1 -1
- package/recipes/pull-cord/models/default.json +1 -1
- package/recipes/pull-cord/recipe.json +1 -2
- package/recipes/pump/build.mts +2 -2
- package/recipes/pump/models/default.json +1 -1
- package/recipes/pump/recipe.json +2 -4
- package/recipes/pusher/build.mts +1 -1
- package/recipes/pusher/models/default.json +1 -1
- package/recipes/pusher/recipe.json +1 -2
- package/recipes/robot-plinth/build.mts +2 -2
- package/recipes/robot-plinth/models/default.json +1 -1
- package/recipes/robot-plinth/recipe.json +2 -4
- package/recipes/roll-up-shutter/build.mts +2 -2
- package/recipes/roll-up-shutter/models/default.json +1 -1
- package/recipes/roll-up-shutter/recipe.json +2 -4
- package/recipes/roller-row/build.mts +1 -1
- package/recipes/roller-row/models/default.json +1 -1
- package/recipes/roller-row/recipe.json +5 -7
- package/recipes/room-shell/build.mts +3 -3
- package/recipes/room-shell/models/default.json +1 -1
- package/recipes/room-shell/recipe.json +5 -10
- package/recipes/rotating-beacon/build.mts +3 -3
- package/recipes/rotating-beacon/models/default.json +1 -1
- package/recipes/rotating-beacon/recipe.json +3 -6
- package/recipes/safety-fence/build.mts +2 -2
- package/recipes/safety-fence/models/default.json +1 -1
- package/recipes/safety-fence/recipe.json +2 -4
- package/recipes/safety-mat/build.mts +1 -1
- package/recipes/safety-mat/models/default.json +1 -1
- package/recipes/safety-mat/recipe.json +1 -2
- package/recipes/safety-sign-stand/build.mts +3 -3
- package/recipes/safety-sign-stand/models/default.json +1 -1
- package/recipes/safety-sign-stand/recipe.json +3 -6
- package/recipes/scanner-mount/build.mts +3 -3
- package/recipes/scanner-mount/models/default.json +1 -1
- package/recipes/scanner-mount/recipe.json +3 -6
- package/recipes/selector-switch/build.mts +2 -2
- package/recipes/selector-switch/models/default.json +1 -1
- package/recipes/selector-switch/recipe.json +2 -4
- package/recipes/shelf-tiers/build.mts +1 -1
- package/recipes/shelf-tiers/models/default.json +1 -1
- package/recipes/shelf-tiers/models/tiers=2.json +1 -1
- package/recipes/shelf-tiers/models/tiers=3.json +1 -1
- package/recipes/shelf-tiers/models/tiers=4.json +1 -1
- package/recipes/shelf-tiers/models/tiers=5.json +1 -1
- package/recipes/shelf-tiers/recipe.json +4 -8
- package/recipes/side-guides/build.mts +1 -1
- package/recipes/side-guides/models/default.json +1 -1
- package/recipes/side-guides/recipe.json +2 -4
- package/recipes/sign-board/build.mts +1 -1
- package/recipes/sign-board/models/default.json +1 -1
- package/recipes/sign-board/recipe.json +1 -2
- package/recipes/signal-tower-3/build.mts +2 -2
- package/recipes/signal-tower-3/models/default.json +1 -1
- package/recipes/signal-tower-3/recipe.json +4 -8
- package/recipes/sliding-door/build.mts +4 -4
- package/recipes/sliding-door/models/default.json +1 -1
- package/recipes/sliding-door/models/leaves=1,lamp=false.json +1 -1
- package/recipes/sliding-door/models/leaves=1,lamp=true.json +1 -1
- package/recipes/sliding-door/models/leaves=2,lamp=false.json +1 -1
- package/recipes/sliding-door/models/leaves=2,lamp=true.json +1 -1
- package/recipes/sliding-door/recipe.json +5 -10
- package/recipes/stairs/build.mts +1 -1
- package/recipes/stairs/models/default.json +1 -1
- package/recipes/stairs/recipe.json +1 -2
- package/recipes/status-lamp/build.mts +3 -3
- package/recipes/status-lamp/models/default.json +1 -1
- package/recipes/status-lamp/recipe.json +3 -6
- package/recipes/stopper/build.mts +1 -1
- package/recipes/stopper/models/default.json +1 -1
- package/recipes/stopper/recipe.json +1 -2
- package/recipes/suction-pads/build.mts +1 -1
- package/recipes/suction-pads/models/default.json +1 -1
- package/recipes/suction-pads/recipe.json +1 -2
- package/recipes/tank/build.mts +1 -1
- package/recipes/tank/models/default.json +1 -1
- package/recipes/tank/recipe.json +1 -2
- package/recipes/telescopic-arm/build.mts +2 -2
- package/recipes/telescopic-arm/models/default.json +1 -1
- package/recipes/telescopic-arm/recipe.json +2 -4
- package/recipes/toe-board/build.mts +1 -1
- package/recipes/toe-board/models/default.json +1 -1
- package/recipes/toe-board/recipe.json +1 -2
- package/recipes/tote/build.mts +1 -1
- package/recipes/tote/models/default.json +1 -1
- package/recipes/tote/recipe.json +1 -2
- package/recipes/traffic-cones/build.mts +2 -2
- package/recipes/traffic-cones/models/default.json +1 -1
- package/recipes/traffic-cones/recipe.json +2 -4
- package/recipes/transfer-belts/build.mts +1 -1
- package/recipes/transfer-belts/models/default.json +1 -1
- package/recipes/transfer-belts/recipe.json +2 -4
- package/recipes/tray-stack/build.mts +1 -1
- package/recipes/tray-stack/models/default.json +1 -1
- package/recipes/tray-stack/models/trays=3.json +1 -1
- package/recipes/tray-stack/models/trays=4.json +1 -1
- package/recipes/tray-stack/models/trays=5.json +1 -1
- package/recipes/tray-stack/recipe.json +5 -10
- package/recipes/trough/build.mts +1 -1
- package/recipes/trough/models/default.json +1 -1
- package/recipes/trough/recipe.json +1 -2
- package/recipes/turntable/build.mts +2 -2
- package/recipes/turntable/models/default.json +1 -1
- package/recipes/turntable/recipe.json +2 -4
- package/recipes/valve-handle/build.mts +3 -3
- package/recipes/valve-handle/models/default.json +1 -1
- package/recipes/valve-handle/recipe.json +3 -6
- package/recipes/waste-bin/build.mts +1 -1
- package/recipes/waste-bin/models/default.json +1 -1
- package/recipes/waste-bin/recipe.json +1 -2
- package/recipes/work-light/build.mts +3 -3
- package/recipes/work-light/models/default.json +1 -1
- package/recipes/work-light/recipe.json +3 -6
- package/recipes/workbench-top/build.mts +1 -1
- package/recipes/workbench-top/models/default.json +1 -1
- package/recipes/workbench-top/recipe.json +1 -2
- package/server/service/figure/figure-category-db.test.ts +1 -1
- package/server/service/figure/figure-context.test.ts +6 -6
- package/server/service/figure/figure-context.ts +11 -4
- package/server/service/figure/figure-deprecation-db.test.ts +1 -1
- package/server/service/figure/figure-format.test.ts +3 -3
- package/server/service/figure/figure-llm-smoke.test.ts +2 -2
- package/server/service/figure/figure-namespace-db.test.ts +1 -1
- package/server/service/figure/figure-propose-clips.test.ts +1 -1
- package/server/service/figure/figure-propose-steps.test.ts +5 -5
- package/server/service/figure/figure-propose-steps.ts +3 -3
- package/server/service/figure/figure-public-db.test.ts +1 -1
- package/server/service/figure/figure-release-check.test.ts +1 -1
- package/server/service/figure/figure-release-record-db.test.ts +1 -1
- package/server/service/figure/figure-tools.test.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_LEVELING_FEET","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-1.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-1.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-2.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-2.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-3.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-3.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-4.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-4.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"d.mm.80","unit":"mm","value":80},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"foot-1.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"foot-2.k.centre","unit":"ratio","value":-0.5},{"id":"foot-3.k.centre","unit":"ratio","value":-0.5},{"id":"foot-4.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"foot-1.shape","op":"extrude@1","args":["foot-1.start.value","foot-1.dimension.length","foot-1.dimension.radius","foot-1.dimension.radius"],"outputs":{"shape":"foot-1.shapeValue"},"params":{"frame":"foot-1.local","axis":"y","section":"ellipse"}},{"id":"foot-1.pose","op":"rigid@1","args":["foot-1.dimension.radius","foot-1.on.host.along.y.1.sum.value","foot-1.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-1.poseValue"},"params":{"from":"foot-1.local","to":"foot-1.seat"}},{"id":"foot-1","op":"place@1","args":["foot-1.shapeValue","foot-1.world.value"],"outputs":{"placed":"foot-1.placed"}},{"id":"foot-1.start","op":"mul@1","args":["foot-1.dimension.length","foot-1.k.centre"],"outputs":{"value":"foot-1.start.value"}},{"id":"foot-2.shape","op":"extrude@1","args":["foot-2.start.value","foot-2.dimension.length","foot-2.dimension.radius","foot-2.dimension.radius"],"outputs":{"shape":"foot-2.shapeValue"},"params":{"frame":"foot-2.local","axis":"y","section":"ellipse"}},{"id":"foot-2.pose","op":"rigid@1","args":["foot-2.dimension.radius","foot-2.on.host.along.y.1.sum.value","foot-2.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-2.poseValue"},"params":{"from":"foot-2.local","to":"foot-2.seat"}},{"id":"foot-2","op":"place@1","args":["foot-2.shapeValue","foot-2.world.value"],"outputs":{"placed":"foot-2.placed"}},{"id":"foot-2.start","op":"mul@1","args":["foot-2.dimension.length","foot-2.k.centre"],"outputs":{"value":"foot-2.start.value"}},{"id":"foot-3.shape","op":"extrude@1","args":["foot-3.start.value","foot-3.dimension.length","foot-3.dimension.radius","foot-3.dimension.radius"],"outputs":{"shape":"foot-3.shapeValue"},"params":{"frame":"foot-3.local","axis":"y","section":"ellipse"}},{"id":"foot-3.pose","op":"rigid@1","args":["foot-3.on.host.own-edge.x.0.times.value","foot-3.on.host.along.y.1.sum.value","foot-3.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-3.poseValue"},"params":{"from":"foot-3.local","to":"foot-3.seat"}},{"id":"foot-3","op":"place@1","args":["foot-3.shapeValue","foot-3.world.value"],"outputs":{"placed":"foot-3.placed"}},{"id":"foot-3.start","op":"mul@1","args":["foot-3.dimension.length","foot-3.k.centre"],"outputs":{"value":"foot-3.start.value"}},{"id":"foot-4.shape","op":"extrude@1","args":["foot-4.start.value","foot-4.dimension.length","foot-4.dimension.radius","foot-4.dimension.radius"],"outputs":{"shape":"foot-4.shapeValue"},"params":{"frame":"foot-4.local","axis":"y","section":"ellipse"}},{"id":"foot-4.pose","op":"rigid@1","args":["foot-4.on.host.own-edge.x.0.times.value","foot-4.on.host.along.y.1.sum.value","foot-4.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-4.poseValue"},"params":{"from":"foot-4.local","to":"foot-4.seat"}},{"id":"foot-4","op":"place@1","args":["foot-4.shapeValue","foot-4.world.value"],"outputs":{"placed":"foot-4.placed"}},{"id":"foot-4.start","op":"mul@1","args":["foot-4.dimension.length","foot-4.k.centre"],"outputs":{"value":"foot-4.start.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.80"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"foot-1.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-1.on.host.seat.y.0.times.value"}},{"id":"foot-1.on.host.along.y.0.times","op":"mul@1","args":["foot-1.dimension.length","host.k.centre"],"outputs":{"value":"foot-1.on.host.along.y.0.times.value"}},{"id":"foot-1.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"foot-1.on.host.along.y.1.times.value"}},{"id":"foot-1.on.host.along.y.1.sum","op":"add@1","args":["foot-1.on.host.along.y.0.times.value","foot-1.on.host.along.y.1.times.value"],"outputs":{"value":"foot-1.on.host.along.y.1.sum.value"}},{"id":"foot-1.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"foot-1.on.host.edge.x.0.times.value"}},{"id":"foot-1.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"foot-1.on.host.edge.z.0.times.value"}},{"id":"foot-1.seat.rigid","op":"rigid@1","args":["foot-1.on.host.edge.x.0.times.value","foot-1.on.host.seat.y.0.times.value","foot-1.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-1.seat.value"},"params":{"from":"foot-1.seat","to":"host.local"}},{"id":"foot-1.chain","op":"compose@1","args":["foot-1.seat.value","foot-1.poseValue"],"outputs":{"pose":"foot-1.chain.value"}},{"id":"foot-1.world","op":"compose@1","args":["host.chain.value","foot-1.chain.value"],"outputs":{"pose":"foot-1.world.value"}},{"id":"foot-2.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-2.on.host.seat.y.0.times.value"}},{"id":"foot-2.on.host.along.y.0.times","op":"mul@1","args":["foot-2.dimension.length","host.k.centre"],"outputs":{"value":"foot-2.on.host.along.y.0.times.value"}},{"id":"foot-2.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"foot-2.on.host.along.y.1.times.value"}},{"id":"foot-2.on.host.along.y.1.sum","op":"add@1","args":["foot-2.on.host.along.y.0.times.value","foot-2.on.host.along.y.1.times.value"],"outputs":{"value":"foot-2.on.host.along.y.1.sum.value"}},{"id":"foot-2.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"foot-2.on.host.edge.x.0.times.value"}},{"id":"foot-2.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"foot-2.on.host.edge.z.0.times.value"}},{"id":"foot-2.on.host.own-edge.z.0.times","op":"mul@1","args":["foot-2.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-2.on.host.own-edge.z.0.times.value"}},{"id":"foot-2.seat.rigid","op":"rigid@1","args":["foot-2.on.host.edge.x.0.times.value","foot-2.on.host.seat.y.0.times.value","foot-2.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-2.seat.value"},"params":{"from":"foot-2.seat","to":"host.local"}},{"id":"foot-2.chain","op":"compose@1","args":["foot-2.seat.value","foot-2.poseValue"],"outputs":{"pose":"foot-2.chain.value"}},{"id":"foot-2.world","op":"compose@1","args":["host.chain.value","foot-2.chain.value"],"outputs":{"pose":"foot-2.world.value"}},{"id":"foot-3.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-3.on.host.seat.y.0.times.value"}},{"id":"foot-3.on.host.along.y.0.times","op":"mul@1","args":["foot-3.dimension.length","host.k.centre"],"outputs":{"value":"foot-3.on.host.along.y.0.times.value"}},{"id":"foot-3.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"foot-3.on.host.along.y.1.times.value"}},{"id":"foot-3.on.host.along.y.1.sum","op":"add@1","args":["foot-3.on.host.along.y.0.times.value","foot-3.on.host.along.y.1.times.value"],"outputs":{"value":"foot-3.on.host.along.y.1.sum.value"}},{"id":"foot-3.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"foot-3.on.host.edge.x.0.times.value"}},{"id":"foot-3.on.host.own-edge.x.0.times","op":"mul@1","args":["foot-3.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-3.on.host.own-edge.x.0.times.value"}},{"id":"foot-3.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"foot-3.on.host.edge.z.0.times.value"}},{"id":"foot-3.seat.rigid","op":"rigid@1","args":["foot-3.on.host.edge.x.0.times.value","foot-3.on.host.seat.y.0.times.value","foot-3.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-3.seat.value"},"params":{"from":"foot-3.seat","to":"host.local"}},{"id":"foot-3.chain","op":"compose@1","args":["foot-3.seat.value","foot-3.poseValue"],"outputs":{"pose":"foot-3.chain.value"}},{"id":"foot-3.world","op":"compose@1","args":["host.chain.value","foot-3.chain.value"],"outputs":{"pose":"foot-3.world.value"}},{"id":"foot-4.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-4.on.host.seat.y.0.times.value"}},{"id":"foot-4.on.host.along.y.0.times","op":"mul@1","args":["foot-4.dimension.length","host.k.centre"],"outputs":{"value":"foot-4.on.host.along.y.0.times.value"}},{"id":"foot-4.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"foot-4.on.host.along.y.1.times.value"}},{"id":"foot-4.on.host.along.y.1.sum","op":"add@1","args":["foot-4.on.host.along.y.0.times.value","foot-4.on.host.along.y.1.times.value"],"outputs":{"value":"foot-4.on.host.along.y.1.sum.value"}},{"id":"foot-4.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"foot-4.on.host.edge.x.0.times.value"}},{"id":"foot-4.on.host.own-edge.x.0.times","op":"mul@1","args":["foot-4.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-4.on.host.own-edge.x.0.times.value"}},{"id":"foot-4.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"foot-4.on.host.edge.z.0.times.value"}},{"id":"foot-4.on.host.own-edge.z.0.times","op":"mul@1","args":["foot-4.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-4.on.host.own-edge.z.0.times.value"}},{"id":"foot-4.seat.rigid","op":"rigid@1","args":["foot-4.on.host.edge.x.0.times.value","foot-4.on.host.seat.y.0.times.value","foot-4.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-4.seat.value"},"params":{"from":"foot-4.seat","to":"host.local"}},{"id":"foot-4.chain","op":"compose@1","args":["foot-4.seat.value","foot-4.poseValue"],"outputs":{"pose":"foot-4.chain.value"}},{"id":"foot-4.world","op":"compose@1","args":["host.chain.value","foot-4.chain.value"],"outputs":{"pose":"foot-4.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"foot-1.dimension.radius":40,"foot-1.dimension.length":80,"foot-2.dimension.radius":40,"foot-2.dimension.length":80,"foot-3.dimension.radius":40,"foot-3.dimension.length":80,"foot-4.dimension.radius":40,"foot-4.dimension.length":80},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"foot-1","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-2","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-3","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-4","material":{"token":"palette.tpl-7d8790"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{"gap":80}},{"id":"foot-1","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-1","face":"top"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"foot-2","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-2","face":"top"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"foot-3","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-3","face":"top"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"foot-4","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-4","face":"top"},"origin":{"align":{"x":"max","z":"max"}}}]}
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_LEVELING_FEET","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-1.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-1.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-2.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-2.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-3.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-3.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-4.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"foot-4.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"d.mm.80","unit":"mm","value":80},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"foot-1.k.centre","unit":"ratio","value":-0.5},{"id":"foot-2.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"foot-3.k.centre","unit":"ratio","value":-0.5},{"id":"foot-4.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.s0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"foot-1.shape","op":"extrude@1","args":["foot-1.start.value","foot-1.dimension.length","foot-1.dimension.radius","foot-1.dimension.radius"],"outputs":{"shape":"foot-1.shapeValue"},"params":{"frame":"foot-1.local","axis":"y","section":"ellipse"}},{"id":"foot-1.pose","op":"rigid@1","args":["foot-1.dimension.radius","foot-1.on.host.pose.y.t0.value","foot-1.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-1.poseValue"},"params":{"from":"foot-1.local","to":"foot-1.seat"}},{"id":"foot-1","op":"place@1","args":["foot-1.shapeValue","foot-1.world.value"],"outputs":{"placed":"foot-1.placed"}},{"id":"foot-1.start","op":"mul@1","args":["foot-1.dimension.length","foot-1.k.centre"],"outputs":{"value":"foot-1.start.value"}},{"id":"foot-2.shape","op":"extrude@1","args":["foot-2.start.value","foot-2.dimension.length","foot-2.dimension.radius","foot-2.dimension.radius"],"outputs":{"shape":"foot-2.shapeValue"},"params":{"frame":"foot-2.local","axis":"y","section":"ellipse"}},{"id":"foot-2.pose","op":"rigid@1","args":["foot-2.dimension.radius","foot-2.on.host.pose.y.t0.value","foot-2.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-2.poseValue"},"params":{"from":"foot-2.local","to":"foot-2.seat"}},{"id":"foot-2","op":"place@1","args":["foot-2.shapeValue","foot-2.world.value"],"outputs":{"placed":"foot-2.placed"}},{"id":"foot-2.start","op":"mul@1","args":["foot-2.dimension.length","foot-2.k.centre"],"outputs":{"value":"foot-2.start.value"}},{"id":"foot-3.shape","op":"extrude@1","args":["foot-3.start.value","foot-3.dimension.length","foot-3.dimension.radius","foot-3.dimension.radius"],"outputs":{"shape":"foot-3.shapeValue"},"params":{"frame":"foot-3.local","axis":"y","section":"ellipse"}},{"id":"foot-3.pose","op":"rigid@1","args":["foot-3.on.host.pose.x.t0.value","foot-3.on.host.pose.y.t0.value","foot-3.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-3.poseValue"},"params":{"from":"foot-3.local","to":"foot-3.seat"}},{"id":"foot-3","op":"place@1","args":["foot-3.shapeValue","foot-3.world.value"],"outputs":{"placed":"foot-3.placed"}},{"id":"foot-3.start","op":"mul@1","args":["foot-3.dimension.length","foot-3.k.centre"],"outputs":{"value":"foot-3.start.value"}},{"id":"foot-4.shape","op":"extrude@1","args":["foot-4.start.value","foot-4.dimension.length","foot-4.dimension.radius","foot-4.dimension.radius"],"outputs":{"shape":"foot-4.shapeValue"},"params":{"frame":"foot-4.local","axis":"y","section":"ellipse"}},{"id":"foot-4.pose","op":"rigid@1","args":["foot-4.on.host.pose.x.t0.value","foot-4.on.host.pose.y.t0.value","foot-4.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-4.poseValue"},"params":{"from":"foot-4.local","to":"foot-4.seat"}},{"id":"foot-4","op":"place@1","args":["foot-4.shapeValue","foot-4.world.value"],"outputs":{"placed":"foot-4.placed"}},{"id":"foot-4.start","op":"mul@1","args":["foot-4.dimension.length","foot-4.k.centre"],"outputs":{"value":"foot-4.start.value"}},{"id":"host.on.plane.pose.y.t1","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t1.value"}},{"id":"host.on.plane.pose.y.s0","op":"add@1","args":["d.mm.80","host.on.plane.pose.y.t1.value"],"outputs":{"value":"host.on.plane.pose.y.s0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"foot-1.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"foot-1.on.host.seat.x.t0.value"}},{"id":"foot-1.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-1.on.host.seat.y.t0.value"}},{"id":"foot-1.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"foot-1.on.host.seat.z.t0.value"}},{"id":"foot-1.on.host.pose.y.t0","op":"mul@1","args":["foot-1.dimension.length","host.k.centre"],"outputs":{"value":"foot-1.on.host.pose.y.t0.value"}},{"id":"foot-1.seat.rigid","op":"rigid@1","args":["foot-1.on.host.seat.x.t0.value","foot-1.on.host.seat.y.t0.value","foot-1.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-1.seat.value"},"params":{"from":"foot-1.seat","to":"host.local"}},{"id":"foot-1.chain","op":"compose@1","args":["foot-1.seat.value","foot-1.poseValue"],"outputs":{"pose":"foot-1.chain.value"}},{"id":"foot-1.world","op":"compose@1","args":["host.chain.value","foot-1.chain.value"],"outputs":{"pose":"foot-1.world.value"}},{"id":"foot-2.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"foot-2.on.host.seat.x.t0.value"}},{"id":"foot-2.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-2.on.host.seat.y.t0.value"}},{"id":"foot-2.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"foot-2.on.host.seat.z.t0.value"}},{"id":"foot-2.on.host.pose.y.t0","op":"mul@1","args":["foot-2.dimension.length","host.k.centre"],"outputs":{"value":"foot-2.on.host.pose.y.t0.value"}},{"id":"foot-2.on.host.pose.z.t0","op":"mul@1","args":["foot-2.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-2.on.host.pose.z.t0.value"}},{"id":"foot-2.seat.rigid","op":"rigid@1","args":["foot-2.on.host.seat.x.t0.value","foot-2.on.host.seat.y.t0.value","foot-2.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-2.seat.value"},"params":{"from":"foot-2.seat","to":"host.local"}},{"id":"foot-2.chain","op":"compose@1","args":["foot-2.seat.value","foot-2.poseValue"],"outputs":{"pose":"foot-2.chain.value"}},{"id":"foot-2.world","op":"compose@1","args":["host.chain.value","foot-2.chain.value"],"outputs":{"pose":"foot-2.world.value"}},{"id":"foot-3.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"foot-3.on.host.seat.x.t0.value"}},{"id":"foot-3.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-3.on.host.seat.y.t0.value"}},{"id":"foot-3.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"foot-3.on.host.seat.z.t0.value"}},{"id":"foot-3.on.host.pose.x.t0","op":"mul@1","args":["foot-3.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-3.on.host.pose.x.t0.value"}},{"id":"foot-3.on.host.pose.y.t0","op":"mul@1","args":["foot-3.dimension.length","host.k.centre"],"outputs":{"value":"foot-3.on.host.pose.y.t0.value"}},{"id":"foot-3.seat.rigid","op":"rigid@1","args":["foot-3.on.host.seat.x.t0.value","foot-3.on.host.seat.y.t0.value","foot-3.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-3.seat.value"},"params":{"from":"foot-3.seat","to":"host.local"}},{"id":"foot-3.chain","op":"compose@1","args":["foot-3.seat.value","foot-3.poseValue"],"outputs":{"pose":"foot-3.chain.value"}},{"id":"foot-3.world","op":"compose@1","args":["host.chain.value","foot-3.chain.value"],"outputs":{"pose":"foot-3.world.value"}},{"id":"foot-4.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"foot-4.on.host.seat.x.t0.value"}},{"id":"foot-4.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"foot-4.on.host.seat.y.t0.value"}},{"id":"foot-4.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"foot-4.on.host.seat.z.t0.value"}},{"id":"foot-4.on.host.pose.x.t0","op":"mul@1","args":["foot-4.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-4.on.host.pose.x.t0.value"}},{"id":"foot-4.on.host.pose.y.t0","op":"mul@1","args":["foot-4.dimension.length","host.k.centre"],"outputs":{"value":"foot-4.on.host.pose.y.t0.value"}},{"id":"foot-4.on.host.pose.z.t0","op":"mul@1","args":["foot-4.dimension.radius","k.ratio._1"],"outputs":{"value":"foot-4.on.host.pose.z.t0.value"}},{"id":"foot-4.seat.rigid","op":"rigid@1","args":["foot-4.on.host.seat.x.t0.value","foot-4.on.host.seat.y.t0.value","foot-4.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"foot-4.seat.value"},"params":{"from":"foot-4.seat","to":"host.local"}},{"id":"foot-4.chain","op":"compose@1","args":["foot-4.seat.value","foot-4.poseValue"],"outputs":{"pose":"foot-4.chain.value"}},{"id":"foot-4.world","op":"compose@1","args":["host.chain.value","foot-4.chain.value"],"outputs":{"pose":"foot-4.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"foot-1.dimension.radius":40,"foot-1.dimension.length":80,"foot-2.dimension.radius":40,"foot-2.dimension.length":80,"foot-3.dimension.radius":40,"foot-3.dimension.length":80,"foot-4.dimension.radius":40,"foot-4.dimension.length":80},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"foot-1","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-2","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-3","material":{"token":"palette.tpl-7d8790"},"segments":12},{"target":"foot-4","material":{"token":"palette.tpl-7d8790"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{"gap":80}},{"id":"foot-1","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-1"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"foot-2","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-2"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"foot-3","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-3"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"foot-4","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"foot-4"},"origin":{"align":{"x":"max","z":"max"}}}]}
|
|
@@ -95,8 +95,7 @@
|
|
|
95
95
|
"face": "bottom"
|
|
96
96
|
},
|
|
97
97
|
"body1": {
|
|
98
|
-
"part": "{id}-foot-1"
|
|
99
|
-
"face": "top"
|
|
98
|
+
"part": "{id}-foot-1"
|
|
100
99
|
},
|
|
101
100
|
"origin": {
|
|
102
101
|
"align": {
|
|
@@ -116,8 +115,7 @@
|
|
|
116
115
|
"face": "bottom"
|
|
117
116
|
},
|
|
118
117
|
"body1": {
|
|
119
|
-
"part": "{id}-foot-2"
|
|
120
|
-
"face": "top"
|
|
118
|
+
"part": "{id}-foot-2"
|
|
121
119
|
},
|
|
122
120
|
"origin": {
|
|
123
121
|
"align": {
|
|
@@ -137,8 +135,7 @@
|
|
|
137
135
|
"face": "bottom"
|
|
138
136
|
},
|
|
139
137
|
"body1": {
|
|
140
|
-
"part": "{id}-foot-3"
|
|
141
|
-
"face": "top"
|
|
138
|
+
"part": "{id}-foot-3"
|
|
142
139
|
},
|
|
143
140
|
"origin": {
|
|
144
141
|
"align": {
|
|
@@ -158,8 +155,7 @@
|
|
|
158
155
|
"face": "bottom"
|
|
159
156
|
},
|
|
160
157
|
"body1": {
|
|
161
|
-
"part": "{id}-foot-4"
|
|
162
|
-
"face": "top"
|
|
158
|
+
"part": "{id}-foot-4"
|
|
163
159
|
},
|
|
164
160
|
"origin": {
|
|
165
161
|
"align": {
|
|
@@ -6,7 +6,7 @@ export default function build() {
|
|
|
6
6
|
m.box('deck', 2700, 40, 720)
|
|
7
7
|
.follow('deck', 'x', 'host', 'x', 0.9)
|
|
8
8
|
.follow('deck', 'z', 'host', 'z', 0.9)
|
|
9
|
-
.on('deck', '
|
|
9
|
+
.on('deck', 'host', 'top')
|
|
10
10
|
.colour('deck', 'palette.deck', '#6c8ea8')
|
|
11
11
|
.moves('deck', { type: 'prismatic', axis: 'Y', lower: 0, upper: 300, state: 'lift' })
|
|
12
12
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_LIFT_UPDOWN","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"deck.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lift","unit":"mm","min":0,"max":300,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_LIFT_UPDOWN","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"deck.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lift","unit":"mm","min":0,"max":300,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"deck.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_9","unit":"ratio","value":0.9},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"deck.shape","op":"extrude@1","args":["deck.start.value","deck.dimension.height","deck.dimension.x.value","deck.dimension.z.value"],"outputs":{"shape":"deck.shapeValue"},"params":{"frame":"deck.local","axis":"y","section":"rectangle"}},{"id":"deck.pose","op":"rigid@1","args":["d.mm.0","deck.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"deck.poseValue"},"params":{"from":"deck.local","to":"deck.seat"}},{"id":"deck","op":"place@1","args":["deck.shapeValue","deck.world.value"],"outputs":{"placed":"deck.placed"}},{"id":"deck.start","op":"mul@1","args":["deck.dimension.height","deck.k.centre"],"outputs":{"value":"deck.start.value"}},{"id":"deck.dimension.x","op":"mul@1","args":["deck.x.follows.times.value","k.ratio.1"],"outputs":{"value":"deck.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"deck.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_9"],"outputs":{"value":"deck.x.follows.times.value"}},{"id":"deck.dimension.z","op":"mul@1","args":["deck.z.follows.times.value","k.ratio.1"],"outputs":{"value":"deck.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"deck.z.follows.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_9"],"outputs":{"value":"deck.z.follows.times.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"deck.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"deck.on.host.seat.y.t0.value"}},{"id":"deck.on.host.pose.y.t0","op":"mul@1","args":["deck.dimension.height","k.ratio.0_5"],"outputs":{"value":"deck.on.host.pose.y.t0.value"}},{"id":"deck.seat.rigid","op":"rigid@1","args":["d.mm.0","deck.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"deck.seat.value"},"params":{"from":"deck.joint","to":"host.local"}},{"id":"deck.chain","op":"compose@1","args":["deck.seat.value","deck.turned.value"],"outputs":{"pose":"deck.chain.value"}},{"id":"deck.world","op":"compose@1","args":["host.chain.value","deck.chain.value"],"outputs":{"pose":"deck.world.value"}},{"id":"deck.motion","op":"axis-slide@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","lift"],"outputs":{"pose":"deck.motion.value"},"params":{"from":"deck.seat","to":"deck.joint"}},{"id":"deck.turned","op":"compose@1","args":["deck.motion.value","deck.poseValue"],"outputs":{"pose":"deck.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"deck.dimension.height":40},"stateDefaults":{"lift":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-6c8ea8":"#6c8ea8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"deck","material":{"token":"palette.tpl-6c8ea8"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"deck","type":"prismatic","body0":{"part":"host","face":"top"},"body1":{"part":"deck"},"origin":{},"axis":"Y","lowerLimit":0,"upperLimit":300,"state":{"id":"lift"}}]}
|
|
@@ -5,7 +5,7 @@ export default function build() {
|
|
|
5
5
|
const m = new Model(host({ x: 1600, y: 1400, z: 1000 }, 'TPL_LIGHT_CURTAIN'))
|
|
6
6
|
for (const [c, x] of [['emitter', 'min'], ['receiver', 'max']] as const)
|
|
7
7
|
m.box(c, 40, 1200, 40)
|
|
8
|
-
.on(c, '
|
|
8
|
+
.on(c, 'host', 'front', { x, y: 'min' })
|
|
9
9
|
.colour(c, 'palette.curtain', '#23272b')
|
|
10
10
|
return m.asset
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_LIGHT_CURTAIN","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_LIGHT_CURTAIN","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"emitter.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"receiver.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"emitter.k.centre","unit":"ratio","value":-0.5},{"id":"receiver.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"emitter.shape","op":"extrude@1","args":["emitter.start.value","emitter.dimension.height","emitter.dimension.width","emitter.dimension.depth"],"outputs":{"shape":"emitter.shapeValue"},"params":{"frame":"emitter.local","axis":"y","section":"rectangle"}},{"id":"emitter.pose","op":"rigid@1","args":["emitter.on.host.pose.x.t0.value","emitter.on.host.pose.y.t0.value","emitter.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"emitter.poseValue"},"params":{"from":"emitter.local","to":"emitter.seat"}},{"id":"emitter","op":"place@1","args":["emitter.shapeValue","emitter.world.value"],"outputs":{"placed":"emitter.placed"}},{"id":"emitter.start","op":"mul@1","args":["emitter.dimension.height","emitter.k.centre"],"outputs":{"value":"emitter.start.value"}},{"id":"receiver.shape","op":"extrude@1","args":["receiver.start.value","receiver.dimension.height","receiver.dimension.width","receiver.dimension.depth"],"outputs":{"shape":"receiver.shapeValue"},"params":{"frame":"receiver.local","axis":"y","section":"rectangle"}},{"id":"receiver.pose","op":"rigid@1","args":["receiver.on.host.pose.x.t0.value","receiver.on.host.pose.y.t0.value","receiver.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"receiver.poseValue"},"params":{"from":"receiver.local","to":"receiver.seat"}},{"id":"receiver","op":"place@1","args":["receiver.shapeValue","receiver.world.value"],"outputs":{"placed":"receiver.placed"}},{"id":"receiver.start","op":"mul@1","args":["receiver.dimension.height","receiver.k.centre"],"outputs":{"value":"receiver.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"emitter.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"emitter.on.host.seat.x.t0.value"}},{"id":"emitter.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"emitter.on.host.seat.y.t0.value"}},{"id":"emitter.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"emitter.on.host.seat.z.t0.value"}},{"id":"emitter.on.host.pose.x.t0","op":"mul@1","args":["emitter.dimension.width","k.ratio.0_5"],"outputs":{"value":"emitter.on.host.pose.x.t0.value"}},{"id":"emitter.on.host.pose.y.t0","op":"mul@1","args":["emitter.dimension.height","k.ratio.0_5"],"outputs":{"value":"emitter.on.host.pose.y.t0.value"}},{"id":"emitter.on.host.pose.z.t0","op":"mul@1","args":["emitter.dimension.depth","k.ratio.0_5"],"outputs":{"value":"emitter.on.host.pose.z.t0.value"}},{"id":"emitter.seat.rigid","op":"rigid@1","args":["emitter.on.host.seat.x.t0.value","emitter.on.host.seat.y.t0.value","emitter.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"emitter.seat.value"},"params":{"from":"emitter.seat","to":"host.local"}},{"id":"emitter.chain","op":"compose@1","args":["emitter.seat.value","emitter.poseValue"],"outputs":{"pose":"emitter.chain.value"}},{"id":"emitter.world","op":"compose@1","args":["host.chain.value","emitter.chain.value"],"outputs":{"pose":"emitter.world.value"}},{"id":"receiver.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"receiver.on.host.seat.x.t0.value"}},{"id":"receiver.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"receiver.on.host.seat.y.t0.value"}},{"id":"receiver.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"receiver.on.host.seat.z.t0.value"}},{"id":"receiver.on.host.pose.x.t0","op":"mul@1","args":["receiver.dimension.width","host.k.centre"],"outputs":{"value":"receiver.on.host.pose.x.t0.value"}},{"id":"receiver.on.host.pose.y.t0","op":"mul@1","args":["receiver.dimension.height","k.ratio.0_5"],"outputs":{"value":"receiver.on.host.pose.y.t0.value"}},{"id":"receiver.on.host.pose.z.t0","op":"mul@1","args":["receiver.dimension.depth","k.ratio.0_5"],"outputs":{"value":"receiver.on.host.pose.z.t0.value"}},{"id":"receiver.seat.rigid","op":"rigid@1","args":["receiver.on.host.seat.x.t0.value","receiver.on.host.seat.y.t0.value","receiver.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"receiver.seat.value"},"params":{"from":"receiver.seat","to":"host.local"}},{"id":"receiver.chain","op":"compose@1","args":["receiver.seat.value","receiver.poseValue"],"outputs":{"pose":"receiver.chain.value"}},{"id":"receiver.world","op":"compose@1","args":["host.chain.value","receiver.chain.value"],"outputs":{"pose":"receiver.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"emitter.dimension.width":40,"emitter.dimension.height":1200,"emitter.dimension.depth":40,"receiver.dimension.width":40,"receiver.dimension.height":1200,"receiver.dimension.depth":40},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-23272b":"#23272b"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"emitter","material":{"token":"palette.tpl-23272b"}},{"target":"receiver","material":{"token":"palette.tpl-23272b"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"emitter","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"emitter"},"origin":{"align":{"x":"min","y":"min"}}},{"id":"receiver","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"receiver"},"origin":{"align":{"x":"max","y":"min"}}}]}
|
|
@@ -71,8 +71,7 @@
|
|
|
71
71
|
"face": "front"
|
|
72
72
|
},
|
|
73
73
|
"body1": {
|
|
74
|
-
"part": "{id}-emitter"
|
|
75
|
-
"face": "back"
|
|
74
|
+
"part": "{id}-emitter"
|
|
76
75
|
},
|
|
77
76
|
"origin": {
|
|
78
77
|
"align": {
|
|
@@ -92,8 +91,7 @@
|
|
|
92
91
|
"face": "front"
|
|
93
92
|
},
|
|
94
93
|
"body1": {
|
|
95
|
-
"part": "{id}-receiver"
|
|
96
|
-
"face": "back"
|
|
94
|
+
"part": "{id}-receiver"
|
|
97
95
|
},
|
|
98
96
|
"origin": {
|
|
99
97
|
"align": {
|
|
@@ -4,10 +4,10 @@ import { host, Model } from '../_lib/model.mts'
|
|
|
4
4
|
export default function build() {
|
|
5
5
|
const m = new Model(host({ x: 3000, y: 700, z: 800 }, 'TPL_LIMIT_SWITCH'))
|
|
6
6
|
m.box('body', 40, 60, 30)
|
|
7
|
-
.on('body', '
|
|
7
|
+
.on('body', 'host', 'top', { x: 'max', z: 'max' })
|
|
8
8
|
.colour('body', 'estop-base', '#f2c200')
|
|
9
9
|
.box('lever', 10, 80, 10)
|
|
10
|
-
.on('lever', '
|
|
10
|
+
.on('lever', 'body', 'top')
|
|
11
11
|
.colour('lever', 'rod', '#d0d4d8')
|
|
12
12
|
.moves('lever', { type: 'revolute', axis: 'Z', lower: -30, upper: 0, state: 'trip' })
|
|
13
13
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_LIMIT_SWITCH","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"trip","unit":"deg","min":-30,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_LIMIT_SWITCH","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lever.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"trip","unit":"deg","min":-30,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"body.k.centre","unit":"ratio","value":-0.5},{"id":"lever.k.centre","unit":"ratio","value":-0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"body.shape","op":"extrude@1","args":["body.start.value","body.dimension.height","body.dimension.width","body.dimension.depth"],"outputs":{"shape":"body.shapeValue"},"params":{"frame":"body.local","axis":"y","section":"rectangle"}},{"id":"body.pose","op":"rigid@1","args":["body.on.host.pose.x.t0.value","body.on.host.pose.y.t0.value","body.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"body.poseValue"},"params":{"from":"body.local","to":"body.seat"}},{"id":"body","op":"place@1","args":["body.shapeValue","body.world.value"],"outputs":{"placed":"body.placed"}},{"id":"body.start","op":"mul@1","args":["body.dimension.height","body.k.centre"],"outputs":{"value":"body.start.value"}},{"id":"lever.shape","op":"extrude@1","args":["lever.start.value","lever.dimension.height","lever.dimension.width","lever.dimension.depth"],"outputs":{"shape":"lever.shapeValue"},"params":{"frame":"lever.local","axis":"y","section":"rectangle"}},{"id":"lever.pose","op":"rigid@1","args":["d.mm.0","lever.on.body.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lever.poseValue"},"params":{"from":"lever.local","to":"lever.seat"}},{"id":"lever","op":"place@1","args":["lever.shapeValue","lever.world.value"],"outputs":{"placed":"lever.placed"}},{"id":"lever.start","op":"mul@1","args":["lever.dimension.height","lever.k.centre"],"outputs":{"value":"lever.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"body.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"body.on.host.seat.x.t0.value"}},{"id":"body.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"body.on.host.seat.y.t0.value"}},{"id":"body.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"body.on.host.seat.z.t0.value"}},{"id":"body.on.host.pose.x.t0","op":"mul@1","args":["body.dimension.width","host.k.centre"],"outputs":{"value":"body.on.host.pose.x.t0.value"}},{"id":"body.on.host.pose.y.t0","op":"mul@1","args":["body.dimension.height","k.ratio.0_5"],"outputs":{"value":"body.on.host.pose.y.t0.value"}},{"id":"body.on.host.pose.z.t0","op":"mul@1","args":["body.dimension.depth","host.k.centre"],"outputs":{"value":"body.on.host.pose.z.t0.value"}},{"id":"body.seat.rigid","op":"rigid@1","args":["body.on.host.seat.x.t0.value","body.on.host.seat.y.t0.value","body.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"body.seat.value"},"params":{"from":"body.seat","to":"host.local"}},{"id":"body.chain","op":"compose@1","args":["body.seat.value","body.poseValue"],"outputs":{"pose":"body.chain.value"}},{"id":"body.world","op":"compose@1","args":["host.chain.value","body.chain.value"],"outputs":{"pose":"body.world.value"}},{"id":"lever.on.body.seat.y.t0","op":"mul@1","args":["body.dimension.height","k.ratio.0_5"],"outputs":{"value":"lever.on.body.seat.y.t0.value"}},{"id":"lever.on.body.pose.y.t0","op":"mul@1","args":["lever.dimension.height","k.ratio.0_5"],"outputs":{"value":"lever.on.body.pose.y.t0.value"}},{"id":"lever.seat.rigid","op":"rigid@1","args":["d.mm.0","lever.on.body.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lever.seat.value"},"params":{"from":"lever.joint","to":"body.local"}},{"id":"lever.chain","op":"compose@1","args":["lever.seat.value","lever.turned.value"],"outputs":{"pose":"lever.chain.value"}},{"id":"lever.world","op":"compose@1","args":["body.world.value","lever.chain.value"],"outputs":{"pose":"lever.world.value"}},{"id":"lever.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.0","axis.ratio.1","trip"],"outputs":{"pose":"lever.motion.value"},"params":{"from":"lever.seat","to":"lever.joint"}},{"id":"lever.turned","op":"compose@1","args":["lever.motion.value","lever.poseValue"],"outputs":{"pose":"lever.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"body.dimension.width":40,"body.dimension.height":60,"body.dimension.depth":30,"lever.dimension.width":10,"lever.dimension.height":80,"lever.dimension.depth":10},"stateDefaults":{"trip":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-f2c200":"#f2c200","palette.tpl-d0d4d8":"#d0d4d8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"body","material":{"token":"palette.tpl-f2c200"}},{"target":"lever","material":{"token":"palette.tpl-d0d4d8"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"body","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"body"},"origin":{"align":{"x":"max","z":"max"}}},{"id":"lever","type":"revolute","body0":{"part":"body","face":"top"},"body1":{"part":"lever"},"origin":{},"axis":"Z","lowerLimit":-30,"upperLimit":0,"state":{"id":"trip"}}]}
|
|
@@ -50,8 +50,7 @@
|
|
|
50
50
|
"face": "top"
|
|
51
51
|
},
|
|
52
52
|
"body1": {
|
|
53
|
-
"part": "{id}-body"
|
|
54
|
-
"face": "bottom"
|
|
53
|
+
"part": "{id}-body"
|
|
55
54
|
},
|
|
56
55
|
"origin": {
|
|
57
56
|
"align": {
|
|
@@ -71,8 +70,7 @@
|
|
|
71
70
|
"face": "top"
|
|
72
71
|
},
|
|
73
72
|
"body1": {
|
|
74
|
-
"part": "{id}-lever"
|
|
75
|
-
"face": "bottom"
|
|
73
|
+
"part": "{id}-lever"
|
|
76
74
|
},
|
|
77
75
|
"origin": {},
|
|
78
76
|
"axis": "Z",
|
|
@@ -5,10 +5,10 @@ export default function build() {
|
|
|
5
5
|
const m = new Model(host({ x: 3000, y: 700, z: 800 }, 'TPL_LINEAR_GUIDE'))
|
|
6
6
|
m.box('rail', 2700, 30, 40)
|
|
7
7
|
.follow('rail', 'x', 'host', 'x', 0.9)
|
|
8
|
-
.on('rail', '
|
|
8
|
+
.on('rail', 'host', 'top')
|
|
9
9
|
.colour('rail', 'palette.rail', '#9aa3ab')
|
|
10
10
|
.box('carriage', 150, 40, 100)
|
|
11
|
-
.on('carriage', '
|
|
11
|
+
.on('carriage', 'rail', 'top', { x: 'min' })
|
|
12
12
|
.colour('carriage', 'palette.stop', '#e0a800')
|
|
13
13
|
.do({ kind: 'set-joint', joint: { ...m.asset.joints!.find(j => j.body1.part === 'carriage')!, type: 'prismatic', axis: 'X', lowerLimit: 0, upperLimit: 1, travel: { source: { of: 'part', part: 'rail', axis: 'x' }, plus: -150 }, state: { id: 'move' } } } as never)
|
|
14
14
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_LINEAR_GUIDE","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"move","unit":"ratio","min":0,"max":1,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_LINEAR_GUIDE","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"move","unit":"ratio","min":0,"max":1,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"rail.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_9","unit":"ratio","value":0.9},{"id":"carriage.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._150","unit":"mm","value":-150},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"rail.shape","op":"extrude@1","args":["rail.start.value","rail.dimension.height","rail.dimension.x.value","rail.dimension.depth"],"outputs":{"shape":"rail.shapeValue"},"params":{"frame":"rail.local","axis":"y","section":"rectangle"}},{"id":"rail.pose","op":"rigid@1","args":["d.mm.0","rail.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.poseValue"},"params":{"from":"rail.local","to":"rail.seat"}},{"id":"rail","op":"place@1","args":["rail.shapeValue","rail.world.value"],"outputs":{"placed":"rail.placed"}},{"id":"rail.start","op":"mul@1","args":["rail.dimension.height","rail.k.centre"],"outputs":{"value":"rail.start.value"}},{"id":"rail.dimension.x","op":"mul@1","args":["rail.x.follows.times.value","k.ratio.1"],"outputs":{"value":"rail.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"rail.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_9"],"outputs":{"value":"rail.x.follows.times.value"}},{"id":"carriage.shape","op":"extrude@1","args":["carriage.start.value","carriage.dimension.height","carriage.dimension.width","carriage.dimension.depth"],"outputs":{"shape":"carriage.shapeValue"},"params":{"frame":"carriage.local","axis":"y","section":"rectangle"}},{"id":"carriage.pose","op":"rigid@1","args":["carriage.on.rail.pose.x.t0.value","carriage.on.rail.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.poseValue"},"params":{"from":"carriage.local","to":"carriage.seat"}},{"id":"carriage","op":"place@1","args":["carriage.shapeValue","carriage.world.value"],"outputs":{"placed":"carriage.placed"}},{"id":"carriage.start","op":"mul@1","args":["carriage.dimension.height","carriage.k.centre"],"outputs":{"value":"carriage.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"rail.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"rail.on.host.seat.y.t0.value"}},{"id":"rail.on.host.pose.y.t0","op":"mul@1","args":["rail.dimension.height","k.ratio.0_5"],"outputs":{"value":"rail.on.host.pose.y.t0.value"}},{"id":"rail.seat.rigid","op":"rigid@1","args":["d.mm.0","rail.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.seat.value"},"params":{"from":"rail.seat","to":"host.local"}},{"id":"rail.chain","op":"compose@1","args":["rail.seat.value","rail.poseValue"],"outputs":{"pose":"rail.chain.value"}},{"id":"rail.world","op":"compose@1","args":["host.chain.value","rail.chain.value"],"outputs":{"pose":"rail.world.value"}},{"id":"carriage.on.rail.seat.x.t0","op":"mul@1","args":["rail.dimension.x.value","host.k.centre"],"outputs":{"value":"carriage.on.rail.seat.x.t0.value"}},{"id":"carriage.on.rail.seat.y.t0","op":"mul@1","args":["rail.dimension.height","k.ratio.0_5"],"outputs":{"value":"carriage.on.rail.seat.y.t0.value"}},{"id":"carriage.on.rail.pose.x.t0","op":"mul@1","args":["carriage.dimension.width","k.ratio.0_5"],"outputs":{"value":"carriage.on.rail.pose.x.t0.value"}},{"id":"carriage.on.rail.pose.y.t0","op":"mul@1","args":["carriage.dimension.height","k.ratio.0_5"],"outputs":{"value":"carriage.on.rail.pose.y.t0.value"}},{"id":"carriage.seat.rigid","op":"rigid@1","args":["carriage.on.rail.seat.x.t0.value","carriage.on.rail.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.seat.value"},"params":{"from":"carriage.joint","to":"rail.local"}},{"id":"carriage.chain","op":"compose@1","args":["carriage.seat.value","carriage.turned.value"],"outputs":{"pose":"carriage.chain.value"}},{"id":"carriage.world","op":"compose@1","args":["rail.world.value","carriage.chain.value"],"outputs":{"pose":"carriage.world.value"}},{"id":"carriage.motion.travel.plus","op":"add@1","args":["rail.dimension.x.value","d.mm._150"],"outputs":{"value":"carriage.motion.travel.plus.value"}},{"id":"carriage.motion.distance","op":"mul@1","args":["move","carriage.motion.travel.plus.value"],"outputs":{"value":"carriage.motion.distance.value"}},{"id":"carriage.motion","op":"axis-slide@1","args":["k.ratio.1","axis.ratio.0","axis.ratio.0","carriage.motion.distance.value"],"outputs":{"pose":"carriage.motion.value"},"params":{"from":"carriage.seat","to":"carriage.joint"}},{"id":"carriage.turned","op":"compose@1","args":["carriage.motion.value","carriage.poseValue"],"outputs":{"pose":"carriage.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"rail.dimension.height":30,"rail.dimension.depth":40,"carriage.dimension.width":150,"carriage.dimension.height":40,"carriage.dimension.depth":100},"stateDefaults":{"move":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab","palette.tpl-e0a800":"#e0a800"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"rail","material":{"token":"palette.tpl-9aa3ab"}},{"target":"carriage","material":{"token":"palette.tpl-e0a800"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"rail","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"rail"},"origin":{}},{"id":"carriage","type":"prismatic","body0":{"part":"rail","face":"top"},"body1":{"part":"carriage"},"origin":{"align":{"x":"min"}},"axis":"X","lowerLimit":0,"upperLimit":1,"travel":{"source":{"of":"part","part":"rail","axis":"x"},"plus":-150},"state":{"id":"move"}}]}
|
|
@@ -81,8 +81,7 @@
|
|
|
81
81
|
"face": "top"
|
|
82
82
|
},
|
|
83
83
|
"body1": {
|
|
84
|
-
"part": "{id}-rail"
|
|
85
|
-
"face": "bottom"
|
|
84
|
+
"part": "{id}-rail"
|
|
86
85
|
},
|
|
87
86
|
"origin": {}
|
|
88
87
|
}
|
|
@@ -97,8 +96,7 @@
|
|
|
97
96
|
"face": "top"
|
|
98
97
|
},
|
|
99
98
|
"body1": {
|
|
100
|
-
"part": "{id}-carriage"
|
|
101
|
-
"face": "bottom"
|
|
99
|
+
"part": "{id}-carriage"
|
|
102
100
|
},
|
|
103
101
|
"origin": {
|
|
104
102
|
"align": {
|
|
@@ -4,7 +4,7 @@ import { host, Model } from '../_lib/model.mts'
|
|
|
4
4
|
export default function build() {
|
|
5
5
|
const m = new Model(host({ x: 2400, y: 1800, z: 500 }, 'TPL_LOCKER_ROW'))
|
|
6
6
|
m.box('door', 380, 1760, 15)
|
|
7
|
-
.on('door', '
|
|
7
|
+
.on('door', 'host', 'front')
|
|
8
8
|
.colour('door', 'leaf', '#5c7c96')
|
|
9
9
|
.do({ kind: 'make-repeat', part: 'door', axis: 'x', pitch: 400, narrowRange: true })
|
|
10
10
|
return m.asset
|