@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_LOCKER_ROW","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":"door.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.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_LOCKER_ROW","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":"door.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.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":"door.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.400","unit":"mm","value":400}],"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":"door.shape","op":"extrude@1","args":["door.start.value","door.dimension.height","door.dimension.width","door.dimension.depth"],"outputs":{"shape":"door.shapeValue"},"params":{"frame":"door.local","axis":"y","section":"rectangle"}},{"id":"door.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","door.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"door.poseValue"},"params":{"from":"door.local","to":"door.seat"}},{"id":"door","op":"member@1","args":["door.shapeValue","door.poseValue"],"outputs":{"placed":"door.placed"}},{"id":"door.start","op":"mul@1","args":["door.dimension.height","door.k.centre"],"outputs":{"value":"door.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":"door.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"door.on.host.seat.z.t0.value"}},{"id":"door.on.host.pose.z.t0","op":"mul@1","args":["door.dimension.depth","k.ratio.0_5"],"outputs":{"value":"door.on.host.pose.z.t0.value"}},{"id":"door.seat.rigid","op":"rigid@1","args":["door.row.start.0.times.value","d.mm.0","door.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"door.seat.value"},"params":{"from":"door.seat","to":"host.local"}},{"id":"door.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"door.row.start.0.times.value"}},{"id":"door.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"door.row.length.0.times.value"}},{"id":"door.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"door.row.length.1.times.value"}},{"id":"door.row.length.1.sum","op":"add@1","args":["door.row.length.0.times.value","door.row.length.1.times.value"],"outputs":{"value":"door.row.length.1.sum.value"}},{"id":"door.layout","op":"fit-pitch@1","args":["door.row.length.1.sum.value","d.mm.0","d.mm.0","door.dimension.width","d.mm.400","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"door.layout.value"}},{"id":"door.assembly","op":"assembly@1","args":["door.placed"],"outputs":{"assembly":"door.assembly.value"}},{"id":"door.row","op":"compose@1","args":["host.chain.value","door.seat.value"],"outputs":{"pose":"door.row.value"}},{"id":"door.repeat","op":"repeat@1","args":["door.layout.value","door.assembly.value","door.row.value"],"outputs":{"collection":"door.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":2400,"host.size.y":1800,"host.size.z":500,"door.dimension.width":380,"door.dimension.height":1760,"door.dimension.depth":15},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"door","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"door","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"door"},"origin":{},"repeat":{"axis":"X","pitch":400}}]}
|
|
@@ -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: 3000, y: 700, z: 800 }, 'TPL_MOTOR_BOX'))
|
|
6
6
|
m.box('motor', 350, 300, 280)
|
|
7
|
-
.on('motor', '
|
|
7
|
+
.on('motor', 'host', 'front', { x: 'max', y: 'min' })
|
|
8
8
|
.colour('motor', 'palette.motor', '#44505a')
|
|
9
9
|
return m.asset
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_MOTOR_BOX","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":"motor.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"motor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"motor.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_MOTOR_BOX","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":"motor.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"motor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"motor.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":"motor.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":"motor.shape","op":"extrude@1","args":["motor.start.value","motor.dimension.height","motor.dimension.width","motor.dimension.depth"],"outputs":{"shape":"motor.shapeValue"},"params":{"frame":"motor.local","axis":"y","section":"rectangle"}},{"id":"motor.pose","op":"rigid@1","args":["motor.on.host.pose.x.t0.value","motor.on.host.pose.y.t0.value","motor.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"motor.poseValue"},"params":{"from":"motor.local","to":"motor.seat"}},{"id":"motor","op":"place@1","args":["motor.shapeValue","motor.world.value"],"outputs":{"placed":"motor.placed"}},{"id":"motor.start","op":"mul@1","args":["motor.dimension.height","motor.k.centre"],"outputs":{"value":"motor.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":"motor.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"motor.on.host.seat.x.t0.value"}},{"id":"motor.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"motor.on.host.seat.y.t0.value"}},{"id":"motor.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"motor.on.host.seat.z.t0.value"}},{"id":"motor.on.host.pose.x.t0","op":"mul@1","args":["motor.dimension.width","host.k.centre"],"outputs":{"value":"motor.on.host.pose.x.t0.value"}},{"id":"motor.on.host.pose.y.t0","op":"mul@1","args":["motor.dimension.height","k.ratio.0_5"],"outputs":{"value":"motor.on.host.pose.y.t0.value"}},{"id":"motor.on.host.pose.z.t0","op":"mul@1","args":["motor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"motor.on.host.pose.z.t0.value"}},{"id":"motor.seat.rigid","op":"rigid@1","args":["motor.on.host.seat.x.t0.value","motor.on.host.seat.y.t0.value","motor.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"motor.seat.value"},"params":{"from":"motor.seat","to":"host.local"}},{"id":"motor.chain","op":"compose@1","args":["motor.seat.value","motor.poseValue"],"outputs":{"pose":"motor.chain.value"}},{"id":"motor.world","op":"compose@1","args":["host.chain.value","motor.chain.value"],"outputs":{"pose":"motor.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"motor.dimension.width":350,"motor.dimension.height":300,"motor.dimension.depth":280},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-44505a":"#44505a"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"motor","material":{"token":"palette.tpl-44505a"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"motor","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"motor"},"origin":{"align":{"x":"max","y":"min"}}}]}
|
|
@@ -4,13 +4,13 @@ import { host, Model } from '../_lib/model.mts'
|
|
|
4
4
|
export default function build() {
|
|
5
5
|
const m = new Model(host({ x: 4000, y: 3000, z: 6000 }, 'TPL_OBSERVATION_WINDOW'))
|
|
6
6
|
m.add({ id: 'frame', kind: 'portal', dimensions: { width: 1200, height: 900, depth: 80, jamb: 60, head: 60 } } as never)
|
|
7
|
-
.on('frame', '
|
|
7
|
+
.on('frame', 'host', 'front')
|
|
8
8
|
.follow('frame', 'x', 'host', 'x', 0.3)
|
|
9
9
|
.follow('frame', 'y', 'host', 'y', 0.3)
|
|
10
10
|
.box('glass', 1080, 840, 10)
|
|
11
11
|
.follow('glass', 'x', 'frame', 'x', 1, -120)
|
|
12
12
|
.follow('glass', 'y', 'frame', 'y', 1, -60)
|
|
13
|
-
.do({ kind: 'attach', part: 'glass',
|
|
13
|
+
.do({ kind: 'attach', part: 'glass', to: { part: 'frame', face: 'bottom' }, facing: 'flush' })
|
|
14
14
|
.edit({ kind: 'set-material', target: 'glass', material: { token: 'palette.tpl-5aa9d6', preset: 'glass', transparent: true }, palette: { 'palette.tpl-5aa9d6': '#5aa9d6' } } as never)
|
|
15
15
|
return m.asset
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_OBSERVATION_WINDOW","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"glass.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_OBSERVATION_WINDOW","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"glass.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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_3","unit":"ratio","value":0.3},{"id":"glass.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._120","unit":"mm","value":-120},{"id":"d.mm._60","unit":"mm","value":-60}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","frame.on.host.pose.y.t0.value","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_3"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_3"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"glass.shape","op":"extrude@1","args":["glass.start.value","glass.dimension.y.value","glass.dimension.x.value","glass.dimension.depth"],"outputs":{"shape":"glass.shapeValue"},"params":{"frame":"glass.local","axis":"y","section":"rectangle"}},{"id":"glass.pose","op":"rigid@1","args":["d.mm.0","glass.on.frame.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"glass.poseValue"},"params":{"from":"glass.local","to":"glass.seat"}},{"id":"glass","op":"place@1","args":["glass.shapeValue","glass.world.value"],"outputs":{"placed":"glass.placed"}},{"id":"glass.start","op":"mul@1","args":["glass.dimension.y.value","glass.k.centre"],"outputs":{"value":"glass.start.value"}},{"id":"glass.dimension.x","op":"mul@1","args":["glass.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"glass.dimension.x.value"}},{"id":"glass.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._120"],"outputs":{"value":"glass.x.follows.plus.value"}},{"id":"glass.dimension.y","op":"mul@1","args":["glass.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"glass.dimension.y.value"}},{"id":"glass.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._60"],"outputs":{"value":"glass.y.follows.plus.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.dimension.y.value","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":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.y.t0","op":"mul@1","args":["frame.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.pose.y.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"glass.on.frame.pose.y.t0","op":"mul@1","args":["glass.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"glass.on.frame.pose.y.t0.value"}},{"id":"glass.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":"glass.seat.value"},"params":{"from":"glass.seat","to":"frame.local"}},{"id":"glass.chain","op":"compose@1","args":["glass.seat.value","glass.poseValue"],"outputs":{"pose":"glass.chain.value"}},{"id":"glass.world","op":"compose@1","args":["frame.world.value","glass.chain.value"],"outputs":{"pose":"glass.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":80,"frame.dimension.jamb":60,"frame.dimension.head":60,"glass.dimension.depth":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5aa9d6":"#5aa9d6"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"glass","material":{"token":"palette.tpl-5aa9d6","preset":"glass","transparent":true}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{}},{"id":"glass","type":"fixed","body0":{"part":"frame","face":"bottom"},"body1":{"part":"glass"},"origin":{"facing":"flush"}}]}
|
|
@@ -135,8 +135,7 @@
|
|
|
135
135
|
"face": "front"
|
|
136
136
|
},
|
|
137
137
|
"body1": {
|
|
138
|
-
"part": "{id}-frame"
|
|
139
|
-
"face": "back"
|
|
138
|
+
"part": "{id}-frame"
|
|
140
139
|
},
|
|
141
140
|
"origin": {}
|
|
142
141
|
}
|
|
@@ -151,8 +150,7 @@
|
|
|
151
150
|
"face": "bottom"
|
|
152
151
|
},
|
|
153
152
|
"body1": {
|
|
154
|
-
"part": "{id}-glass"
|
|
155
|
-
"face": "bottom"
|
|
153
|
+
"part": "{id}-glass"
|
|
156
154
|
},
|
|
157
155
|
"origin": {
|
|
158
156
|
"facing": "flush"
|
|
@@ -4,10 +4,10 @@ import { host, Model, type Values } from '../_lib/model.mts'
|
|
|
4
4
|
export default function build(values: Values) {
|
|
5
5
|
const m = new Model(host({ x: 1600, y: 1400, z: 1000 }, 'TPL_OPERATOR_PANEL'))
|
|
6
6
|
m.box('panel', 500, 250, 100)
|
|
7
|
-
.on('panel', '
|
|
7
|
+
.on('panel', 'host', 'front', { y: 'max' })
|
|
8
8
|
.colour('panel', 'palette.panel', '#4f5d6b')
|
|
9
9
|
.add({ id: 'button', kind: 'rounded-box', dimensions: { width: 40, height: 40, depth: 20, round: 8 } } as never)
|
|
10
|
-
.on('button', '
|
|
10
|
+
.on('button', 'panel', 'front')
|
|
11
11
|
.colour('button', 'palette.button', '#2e86de')
|
|
12
12
|
.do({ kind: 'make-repeat', part: 'button', axis: 'x', pitch: 90, count: Number(values.buttons) })
|
|
13
13
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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":"panel.k.centre","unit":"ratio","value":-0.5},{"id":"button.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"count.count.2","unit":"count","value":2}],"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":"panel.shape","op":"extrude@1","args":["panel.start.value","panel.dimension.height","panel.dimension.width","panel.dimension.depth"],"outputs":{"shape":"panel.shapeValue"},"params":{"frame":"panel.local","axis":"y","section":"rectangle"}},{"id":"panel.pose","op":"rigid@1","args":["d.mm.0","panel.on.host.pose.y.t0.value","panel.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.poseValue"},"params":{"from":"panel.local","to":"panel.seat"}},{"id":"panel","op":"place@1","args":["panel.shapeValue","panel.world.value"],"outputs":{"placed":"panel.placed"}},{"id":"panel.start","op":"mul@1","args":["panel.dimension.height","panel.k.centre"],"outputs":{"value":"panel.start.value"}},{"id":"button.shape","op":"extrude@1","args":["button.start.value","button.dimension.height","button.dimension.width","button.dimension.depth","button.dimension.round","button.dimension.round"],"outputs":{"shape":"button.shapeValue"},"params":{"frame":"button.local","axis":"y","section":"rectangle","corner":"round"}},{"id":"button.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","button.on.panel.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.poseValue"},"params":{"from":"button.local","to":"button.seat"}},{"id":"button","op":"member@1","args":["button.shapeValue","button.poseValue"],"outputs":{"placed":"button.placed"}},{"id":"button.start","op":"mul@1","args":["button.dimension.height","button.k.centre"],"outputs":{"value":"button.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":"panel.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.y.t0.value"}},{"id":"panel.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.z.t0.value"}},{"id":"panel.on.host.pose.y.t0","op":"mul@1","args":["panel.dimension.height","host.k.centre"],"outputs":{"value":"panel.on.host.pose.y.t0.value"}},{"id":"panel.on.host.pose.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"panel.on.host.pose.z.t0.value"}},{"id":"panel.seat.rigid","op":"rigid@1","args":["d.mm.0","panel.on.host.seat.y.t0.value","panel.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.seat.value"},"params":{"from":"panel.seat","to":"host.local"}},{"id":"panel.chain","op":"compose@1","args":["panel.seat.value","panel.poseValue"],"outputs":{"pose":"panel.chain.value"}},{"id":"panel.world","op":"compose@1","args":["host.chain.value","panel.chain.value"],"outputs":{"pose":"panel.world.value"}},{"id":"button.on.panel.seat.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.seat.z.t0.value"}},{"id":"button.on.panel.pose.z.t0","op":"mul@1","args":["button.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.pose.z.t0.value"}},{"id":"button.seat.rigid","op":"rigid@1","args":["button.row.start.0.times.value","d.mm.0","button.on.panel.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.seat.value"},"params":{"from":"button.seat","to":"panel.local"}},{"id":"button.row.start.0.times","op":"mul@1","args":["panel.dimension.width","host.k.centre"],"outputs":{"value":"button.row.start.0.times.value"}},{"id":"button.row.length.0.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.0.times.value"}},{"id":"button.row.length.1.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.1.times.value"}},{"id":"button.row.length.1.sum","op":"add@1","args":["button.row.length.0.times.value","button.row.length.1.times.value"],"outputs":{"value":"button.row.length.1.sum.value"}},{"id":"button.layout","op":"fixed-count@1","args":["count.count.2","button.row.length.1.sum.value","d.mm.0","d.mm.0","button.dimension.width","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"button.layout.value"}},{"id":"button.assembly","op":"assembly@1","args":["button.placed"],"outputs":{"assembly":"button.assembly.value"}},{"id":"button.row","op":"compose@1","args":["panel.world.value","button.seat.value"],"outputs":{"pose":"button.row.value"}},{"id":"button.repeat","op":"repeat@1","args":["button.layout.value","button.assembly.value","button.row.value"],"outputs":{"collection":"button.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"panel.dimension.width":500,"panel.dimension.height":250,"panel.dimension.depth":100,"button.dimension.width":40,"button.dimension.height":40,"button.dimension.depth":20,"button.dimension.round":8},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-2e86de":"#2e86de"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"panel","material":{"token":"palette.tpl-4f5d6b"}},{"target":"button","material":{"token":"palette.tpl-2e86de"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"panel","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"panel"},"origin":{"align":{"y":"max"}}},{"id":"button","type":"fixed","body0":{"part":"panel","face":"front"},"body1":{"part":"button"},"origin":{},"repeat":{"axis":"X","pitch":90,"count":2}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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":"panel.k.centre","unit":"ratio","value":-0.5},{"id":"button.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"count.count.3","unit":"count","value":3}],"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":"panel.shape","op":"extrude@1","args":["panel.start.value","panel.dimension.height","panel.dimension.width","panel.dimension.depth"],"outputs":{"shape":"panel.shapeValue"},"params":{"frame":"panel.local","axis":"y","section":"rectangle"}},{"id":"panel.pose","op":"rigid@1","args":["d.mm.0","panel.on.host.pose.y.t0.value","panel.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.poseValue"},"params":{"from":"panel.local","to":"panel.seat"}},{"id":"panel","op":"place@1","args":["panel.shapeValue","panel.world.value"],"outputs":{"placed":"panel.placed"}},{"id":"panel.start","op":"mul@1","args":["panel.dimension.height","panel.k.centre"],"outputs":{"value":"panel.start.value"}},{"id":"button.shape","op":"extrude@1","args":["button.start.value","button.dimension.height","button.dimension.width","button.dimension.depth","button.dimension.round","button.dimension.round"],"outputs":{"shape":"button.shapeValue"},"params":{"frame":"button.local","axis":"y","section":"rectangle","corner":"round"}},{"id":"button.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","button.on.panel.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.poseValue"},"params":{"from":"button.local","to":"button.seat"}},{"id":"button","op":"member@1","args":["button.shapeValue","button.poseValue"],"outputs":{"placed":"button.placed"}},{"id":"button.start","op":"mul@1","args":["button.dimension.height","button.k.centre"],"outputs":{"value":"button.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":"panel.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.y.t0.value"}},{"id":"panel.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.z.t0.value"}},{"id":"panel.on.host.pose.y.t0","op":"mul@1","args":["panel.dimension.height","host.k.centre"],"outputs":{"value":"panel.on.host.pose.y.t0.value"}},{"id":"panel.on.host.pose.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"panel.on.host.pose.z.t0.value"}},{"id":"panel.seat.rigid","op":"rigid@1","args":["d.mm.0","panel.on.host.seat.y.t0.value","panel.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.seat.value"},"params":{"from":"panel.seat","to":"host.local"}},{"id":"panel.chain","op":"compose@1","args":["panel.seat.value","panel.poseValue"],"outputs":{"pose":"panel.chain.value"}},{"id":"panel.world","op":"compose@1","args":["host.chain.value","panel.chain.value"],"outputs":{"pose":"panel.world.value"}},{"id":"button.on.panel.seat.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.seat.z.t0.value"}},{"id":"button.on.panel.pose.z.t0","op":"mul@1","args":["button.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.pose.z.t0.value"}},{"id":"button.seat.rigid","op":"rigid@1","args":["button.row.start.0.times.value","d.mm.0","button.on.panel.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.seat.value"},"params":{"from":"button.seat","to":"panel.local"}},{"id":"button.row.start.0.times","op":"mul@1","args":["panel.dimension.width","host.k.centre"],"outputs":{"value":"button.row.start.0.times.value"}},{"id":"button.row.length.0.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.0.times.value"}},{"id":"button.row.length.1.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.1.times.value"}},{"id":"button.row.length.1.sum","op":"add@1","args":["button.row.length.0.times.value","button.row.length.1.times.value"],"outputs":{"value":"button.row.length.1.sum.value"}},{"id":"button.layout","op":"fixed-count@1","args":["count.count.3","button.row.length.1.sum.value","d.mm.0","d.mm.0","button.dimension.width","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"button.layout.value"}},{"id":"button.assembly","op":"assembly@1","args":["button.placed"],"outputs":{"assembly":"button.assembly.value"}},{"id":"button.row","op":"compose@1","args":["panel.world.value","button.seat.value"],"outputs":{"pose":"button.row.value"}},{"id":"button.repeat","op":"repeat@1","args":["button.layout.value","button.assembly.value","button.row.value"],"outputs":{"collection":"button.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"panel.dimension.width":500,"panel.dimension.height":250,"panel.dimension.depth":100,"button.dimension.width":40,"button.dimension.height":40,"button.dimension.depth":20,"button.dimension.round":8},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-2e86de":"#2e86de"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"panel","material":{"token":"palette.tpl-4f5d6b"}},{"target":"button","material":{"token":"palette.tpl-2e86de"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"panel","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"panel"},"origin":{"align":{"y":"max"}}},{"id":"button","type":"fixed","body0":{"part":"panel","face":"front"},"body1":{"part":"button"},"origin":{},"repeat":{"axis":"X","pitch":90,"count":3}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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":"panel.k.centre","unit":"ratio","value":-0.5},{"id":"button.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"count.count.4","unit":"count","value":4}],"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":"panel.shape","op":"extrude@1","args":["panel.start.value","panel.dimension.height","panel.dimension.width","panel.dimension.depth"],"outputs":{"shape":"panel.shapeValue"},"params":{"frame":"panel.local","axis":"y","section":"rectangle"}},{"id":"panel.pose","op":"rigid@1","args":["d.mm.0","panel.on.host.pose.y.t0.value","panel.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.poseValue"},"params":{"from":"panel.local","to":"panel.seat"}},{"id":"panel","op":"place@1","args":["panel.shapeValue","panel.world.value"],"outputs":{"placed":"panel.placed"}},{"id":"panel.start","op":"mul@1","args":["panel.dimension.height","panel.k.centre"],"outputs":{"value":"panel.start.value"}},{"id":"button.shape","op":"extrude@1","args":["button.start.value","button.dimension.height","button.dimension.width","button.dimension.depth","button.dimension.round","button.dimension.round"],"outputs":{"shape":"button.shapeValue"},"params":{"frame":"button.local","axis":"y","section":"rectangle","corner":"round"}},{"id":"button.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","button.on.panel.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.poseValue"},"params":{"from":"button.local","to":"button.seat"}},{"id":"button","op":"member@1","args":["button.shapeValue","button.poseValue"],"outputs":{"placed":"button.placed"}},{"id":"button.start","op":"mul@1","args":["button.dimension.height","button.k.centre"],"outputs":{"value":"button.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":"panel.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.y.t0.value"}},{"id":"panel.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.z.t0.value"}},{"id":"panel.on.host.pose.y.t0","op":"mul@1","args":["panel.dimension.height","host.k.centre"],"outputs":{"value":"panel.on.host.pose.y.t0.value"}},{"id":"panel.on.host.pose.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"panel.on.host.pose.z.t0.value"}},{"id":"panel.seat.rigid","op":"rigid@1","args":["d.mm.0","panel.on.host.seat.y.t0.value","panel.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.seat.value"},"params":{"from":"panel.seat","to":"host.local"}},{"id":"panel.chain","op":"compose@1","args":["panel.seat.value","panel.poseValue"],"outputs":{"pose":"panel.chain.value"}},{"id":"panel.world","op":"compose@1","args":["host.chain.value","panel.chain.value"],"outputs":{"pose":"panel.world.value"}},{"id":"button.on.panel.seat.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.seat.z.t0.value"}},{"id":"button.on.panel.pose.z.t0","op":"mul@1","args":["button.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.pose.z.t0.value"}},{"id":"button.seat.rigid","op":"rigid@1","args":["button.row.start.0.times.value","d.mm.0","button.on.panel.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.seat.value"},"params":{"from":"button.seat","to":"panel.local"}},{"id":"button.row.start.0.times","op":"mul@1","args":["panel.dimension.width","host.k.centre"],"outputs":{"value":"button.row.start.0.times.value"}},{"id":"button.row.length.0.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.0.times.value"}},{"id":"button.row.length.1.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.1.times.value"}},{"id":"button.row.length.1.sum","op":"add@1","args":["button.row.length.0.times.value","button.row.length.1.times.value"],"outputs":{"value":"button.row.length.1.sum.value"}},{"id":"button.layout","op":"fixed-count@1","args":["count.count.4","button.row.length.1.sum.value","d.mm.0","d.mm.0","button.dimension.width","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"button.layout.value"}},{"id":"button.assembly","op":"assembly@1","args":["button.placed"],"outputs":{"assembly":"button.assembly.value"}},{"id":"button.row","op":"compose@1","args":["panel.world.value","button.seat.value"],"outputs":{"pose":"button.row.value"}},{"id":"button.repeat","op":"repeat@1","args":["button.layout.value","button.assembly.value","button.row.value"],"outputs":{"collection":"button.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"panel.dimension.width":500,"panel.dimension.height":250,"panel.dimension.depth":100,"button.dimension.width":40,"button.dimension.height":40,"button.dimension.depth":20,"button.dimension.round":8},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-2e86de":"#2e86de"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"panel","material":{"token":"palette.tpl-4f5d6b"}},{"target":"button","material":{"token":"palette.tpl-2e86de"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"panel","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"panel"},"origin":{"align":{"y":"max"}}},{"id":"button","type":"fixed","body0":{"part":"panel","face":"front"},"body1":{"part":"button"},"origin":{},"repeat":{"axis":"X","pitch":90,"count":4}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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_OPERATOR_PANEL","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":"panel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"panel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"button.dimension.round","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":"panel.k.centre","unit":"ratio","value":-0.5},{"id":"button.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"count.count.5","unit":"count","value":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":"panel.shape","op":"extrude@1","args":["panel.start.value","panel.dimension.height","panel.dimension.width","panel.dimension.depth"],"outputs":{"shape":"panel.shapeValue"},"params":{"frame":"panel.local","axis":"y","section":"rectangle"}},{"id":"panel.pose","op":"rigid@1","args":["d.mm.0","panel.on.host.pose.y.t0.value","panel.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.poseValue"},"params":{"from":"panel.local","to":"panel.seat"}},{"id":"panel","op":"place@1","args":["panel.shapeValue","panel.world.value"],"outputs":{"placed":"panel.placed"}},{"id":"panel.start","op":"mul@1","args":["panel.dimension.height","panel.k.centre"],"outputs":{"value":"panel.start.value"}},{"id":"button.shape","op":"extrude@1","args":["button.start.value","button.dimension.height","button.dimension.width","button.dimension.depth","button.dimension.round","button.dimension.round"],"outputs":{"shape":"button.shapeValue"},"params":{"frame":"button.local","axis":"y","section":"rectangle","corner":"round"}},{"id":"button.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","button.on.panel.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.poseValue"},"params":{"from":"button.local","to":"button.seat"}},{"id":"button","op":"member@1","args":["button.shapeValue","button.poseValue"],"outputs":{"placed":"button.placed"}},{"id":"button.start","op":"mul@1","args":["button.dimension.height","button.k.centre"],"outputs":{"value":"button.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":"panel.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.y.t0.value"}},{"id":"panel.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"panel.on.host.seat.z.t0.value"}},{"id":"panel.on.host.pose.y.t0","op":"mul@1","args":["panel.dimension.height","host.k.centre"],"outputs":{"value":"panel.on.host.pose.y.t0.value"}},{"id":"panel.on.host.pose.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"panel.on.host.pose.z.t0.value"}},{"id":"panel.seat.rigid","op":"rigid@1","args":["d.mm.0","panel.on.host.seat.y.t0.value","panel.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"panel.seat.value"},"params":{"from":"panel.seat","to":"host.local"}},{"id":"panel.chain","op":"compose@1","args":["panel.seat.value","panel.poseValue"],"outputs":{"pose":"panel.chain.value"}},{"id":"panel.world","op":"compose@1","args":["host.chain.value","panel.chain.value"],"outputs":{"pose":"panel.world.value"}},{"id":"button.on.panel.seat.z.t0","op":"mul@1","args":["panel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.seat.z.t0.value"}},{"id":"button.on.panel.pose.z.t0","op":"mul@1","args":["button.dimension.depth","k.ratio.0_5"],"outputs":{"value":"button.on.panel.pose.z.t0.value"}},{"id":"button.seat.rigid","op":"rigid@1","args":["button.row.start.0.times.value","d.mm.0","button.on.panel.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"button.seat.value"},"params":{"from":"button.seat","to":"panel.local"}},{"id":"button.row.start.0.times","op":"mul@1","args":["panel.dimension.width","host.k.centre"],"outputs":{"value":"button.row.start.0.times.value"}},{"id":"button.row.length.0.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.0.times.value"}},{"id":"button.row.length.1.times","op":"mul@1","args":["panel.dimension.width","k.ratio.0_5"],"outputs":{"value":"button.row.length.1.times.value"}},{"id":"button.row.length.1.sum","op":"add@1","args":["button.row.length.0.times.value","button.row.length.1.times.value"],"outputs":{"value":"button.row.length.1.sum.value"}},{"id":"button.layout","op":"fixed-count@1","args":["count.count.5","button.row.length.1.sum.value","d.mm.0","d.mm.0","button.dimension.width","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"button.layout.value"}},{"id":"button.assembly","op":"assembly@1","args":["button.placed"],"outputs":{"assembly":"button.assembly.value"}},{"id":"button.row","op":"compose@1","args":["panel.world.value","button.seat.value"],"outputs":{"pose":"button.row.value"}},{"id":"button.repeat","op":"repeat@1","args":["button.layout.value","button.assembly.value","button.row.value"],"outputs":{"collection":"button.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"panel.dimension.width":500,"panel.dimension.height":250,"panel.dimension.depth":100,"button.dimension.width":40,"button.dimension.height":40,"button.dimension.depth":20,"button.dimension.round":8},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-2e86de":"#2e86de"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"panel","material":{"token":"palette.tpl-4f5d6b"}},{"target":"button","material":{"token":"palette.tpl-2e86de"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"panel","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"panel"},"origin":{"align":{"y":"max"}}},{"id":"button","type":"fixed","body0":{"part":"panel","face":"front"},"body1":{"part":"button"},"origin":{},"repeat":{"axis":"X","pitch":90,"count":5}}]}
|