@things-factory/figure-service 10.1.198 → 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 +20 -40
- 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 +16 -32
- 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
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"face": "top"
|
|
64
64
|
},
|
|
65
65
|
"body1": {
|
|
66
|
-
"part": "{id}-base"
|
|
67
|
-
"face": "bottom"
|
|
66
|
+
"part": "{id}-base"
|
|
68
67
|
},
|
|
69
68
|
"origin": {}
|
|
70
69
|
}
|
|
@@ -79,8 +78,7 @@
|
|
|
79
78
|
"face": "top"
|
|
80
79
|
},
|
|
81
80
|
"body1": {
|
|
82
|
-
"part": "{id}-post"
|
|
83
|
-
"face": "bottom"
|
|
81
|
+
"part": "{id}-post"
|
|
84
82
|
},
|
|
85
83
|
"origin": {}
|
|
86
84
|
}
|
|
@@ -95,8 +93,7 @@
|
|
|
95
93
|
"face": "front"
|
|
96
94
|
},
|
|
97
95
|
"body1": {
|
|
98
|
-
"part": "{id}-sign"
|
|
99
|
-
"face": "back"
|
|
96
|
+
"part": "{id}-sign"
|
|
100
97
|
},
|
|
101
98
|
"origin": {
|
|
102
99
|
"align": {
|
|
@@ -3,8 +3,8 @@ import { host, Model } from '../_lib/model.mts'
|
|
|
3
3
|
|
|
4
4
|
export default function build() {
|
|
5
5
|
const m = new Model(host({ x: 3000, y: 700, z: 800 }, 'TPL_SCANNER_MOUNT'))
|
|
6
|
-
m.box('post', 40, 600, 40).on('post', '
|
|
7
|
-
.box('arm', 40, 40, 400).on('arm', '
|
|
8
|
-
.box('scanner', 120, 60, 80).on('scanner', '
|
|
6
|
+
m.box('post', 40, 600, 40).on('post', 'host', 'top', { z: 'min' }).colour('post', 'leg', '#7d8790')
|
|
7
|
+
.box('arm', 40, 40, 400).on('arm', 'post', 'front', { y: 'max' }).colour('arm', 'leg', '#7d8790')
|
|
8
|
+
.box('scanner', 120, 60, 80).on('scanner', 'arm', 'bottom', { z: 'max' }).colour('scanner', 'screen', '#1b1f23')
|
|
9
9
|
return m.asset
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SCANNER_MOUNT","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":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.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":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"post.k.centre","unit":"ratio","value":-0.5},{"id":"arm.k.centre","unit":"ratio","value":-0.5},{"id":"scanner.k.centre","unit":"ratio","value":-0.5},{"id":"k.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.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":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["d.mm.0","post.on.host.along.y.1.sum.value","post.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"place@1","args":["post.shapeValue","post.world.value"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"arm.shape","op":"extrude@1","args":["arm.start.value","arm.dimension.height","arm.dimension.width","arm.dimension.depth"],"outputs":{"shape":"arm.shapeValue"},"params":{"frame":"arm.local","axis":"y","section":"rectangle"}},{"id":"arm.pose","op":"rigid@1","args":["d.mm.0","arm.on.post.own-edge.y.0.times.value","arm.on.post.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.poseValue"},"params":{"from":"arm.local","to":"arm.seat"}},{"id":"arm","op":"place@1","args":["arm.shapeValue","arm.world.value"],"outputs":{"placed":"arm.placed"}},{"id":"arm.start","op":"mul@1","args":["arm.dimension.height","arm.k.centre"],"outputs":{"value":"arm.start.value"}},{"id":"scanner.shape","op":"extrude@1","args":["scanner.start.value","scanner.dimension.height","scanner.dimension.width","scanner.dimension.depth"],"outputs":{"shape":"scanner.shapeValue"},"params":{"frame":"scanner.local","axis":"y","section":"rectangle"}},{"id":"scanner.pose","op":"rigid@1","args":["d.mm.0","scanner.on.arm.along.y.1.sum.value","scanner.on.arm.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"scanner.poseValue"},"params":{"from":"scanner.local","to":"scanner.seat"}},{"id":"scanner","op":"place@1","args":["scanner.shapeValue","scanner.world.value"],"outputs":{"placed":"scanner.placed"}},{"id":"scanner.start","op":"mul@1","args":["scanner.dimension.height","scanner.k.centre"],"outputs":{"value":"scanner.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.0"],"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":"post.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.0.times.value"}},{"id":"post.on.host.along.y.0.times","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.along.y.0.times.value"}},{"id":"post.on.host.along.y.1.sum","op":"add@1","args":["post.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post.on.host.along.y.1.sum.value"}},{"id":"post.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"post.on.host.edge.z.0.times.value"}},{"id":"post.on.host.own-edge.z.0.times","op":"mul@1","args":["post.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post.on.host.own-edge.z.0.times.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["d.mm.0","post.on.host.seat.y.0.times.value","post.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.chain","op":"compose@1","args":["post.seat.value","post.poseValue"],"outputs":{"pose":"post.chain.value"}},{"id":"post.world","op":"compose@1","args":["host.chain.value","post.chain.value"],"outputs":{"pose":"post.world.value"}},{"id":"arm.on.post.seat.z.0.times","op":"mul@1","args":["post.dimension.depth","k.ratio.0_5"],"outputs":{"value":"arm.on.post.seat.z.0.times.value"}},{"id":"arm.on.post.along.z.0.times","op":"mul@1","args":["arm.dimension.depth","k.ratio.0_5"],"outputs":{"value":"arm.on.post.along.z.0.times.value"}},{"id":"arm.on.post.along.z.1.sum","op":"add@1","args":["arm.on.post.along.z.0.times.value","d.mm.0"],"outputs":{"value":"arm.on.post.along.z.1.sum.value"}},{"id":"arm.on.post.edge.y.0.times","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"arm.on.post.edge.y.0.times.value"}},{"id":"arm.on.post.own-edge.y.0.times","op":"mul@1","args":["arm.dimension.height","host.k.centre"],"outputs":{"value":"arm.on.post.own-edge.y.0.times.value"}},{"id":"arm.seat.rigid","op":"rigid@1","args":["d.mm.0","arm.on.post.edge.y.0.times.value","arm.on.post.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.seat.value"},"params":{"from":"arm.seat","to":"post.local"}},{"id":"arm.chain","op":"compose@1","args":["arm.seat.value","arm.poseValue"],"outputs":{"pose":"arm.chain.value"}},{"id":"arm.world","op":"compose@1","args":["post.world.value","arm.chain.value"],"outputs":{"pose":"arm.world.value"}},{"id":"scanner.on.arm.seat.y.0.times","op":"mul@1","args":["arm.dimension.height","host.k.centre"],"outputs":{"value":"scanner.on.arm.seat.y.0.times.value"}},{"id":"scanner.on.arm.along.y.0.times","op":"mul@1","args":["scanner.dimension.height","host.k.centre"],"outputs":{"value":"scanner.on.arm.along.y.0.times.value"}},{"id":"scanner.on.arm.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"scanner.on.arm.along.y.1.times.value"}},{"id":"scanner.on.arm.along.y.1.sum","op":"add@1","args":["scanner.on.arm.along.y.0.times.value","scanner.on.arm.along.y.1.times.value"],"outputs":{"value":"scanner.on.arm.along.y.1.sum.value"}},{"id":"scanner.on.arm.edge.z.0.times","op":"mul@1","args":["arm.dimension.depth","k.ratio.0_5"],"outputs":{"value":"scanner.on.arm.edge.z.0.times.value"}},{"id":"scanner.on.arm.own-edge.z.0.times","op":"mul@1","args":["scanner.dimension.depth","host.k.centre"],"outputs":{"value":"scanner.on.arm.own-edge.z.0.times.value"}},{"id":"scanner.seat.rigid","op":"rigid@1","args":["d.mm.0","scanner.on.arm.seat.y.0.times.value","scanner.on.arm.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"scanner.seat.value"},"params":{"from":"scanner.seat","to":"arm.local"}},{"id":"scanner.chain","op":"compose@1","args":["scanner.seat.value","scanner.poseValue"],"outputs":{"pose":"scanner.chain.value"}},{"id":"scanner.world","op":"compose@1","args":["arm.world.value","scanner.chain.value"],"outputs":{"pose":"scanner.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"post.dimension.width":40,"post.dimension.height":600,"post.dimension.depth":40,"arm.dimension.width":40,"arm.dimension.height":40,"arm.dimension.depth":400,"scanner.dimension.width":120,"scanner.dimension.height":60,"scanner.dimension.depth":80},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"arm","material":{"token":"palette.tpl-7d8790"}},{"target":"scanner","material":{"token":"palette.tpl-1b1f23"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"post","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"arm","type":"fixed","body0":{"part":"post","face":"front"},"body1":{"part":"arm","face":"back"},"origin":{"align":{"y":"max"}}},{"id":"scanner","type":"fixed","body0":{"part":"arm","face":"bottom"},"body1":{"part":"scanner","face":"top"},"origin":{"align":{"z":"max"}}}]}
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_SCANNER_MOUNT","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":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"scanner.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":"post.k.centre","unit":"ratio","value":-0.5},{"id":"arm.k.centre","unit":"ratio","value":-0.5},{"id":"scanner.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":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["d.mm.0","post.on.host.pose.y.t0.value","post.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"place@1","args":["post.shapeValue","post.world.value"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"arm.shape","op":"extrude@1","args":["arm.start.value","arm.dimension.height","arm.dimension.width","arm.dimension.depth"],"outputs":{"shape":"arm.shapeValue"},"params":{"frame":"arm.local","axis":"y","section":"rectangle"}},{"id":"arm.pose","op":"rigid@1","args":["d.mm.0","arm.on.post.pose.y.t0.value","arm.on.post.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.poseValue"},"params":{"from":"arm.local","to":"arm.seat"}},{"id":"arm","op":"place@1","args":["arm.shapeValue","arm.world.value"],"outputs":{"placed":"arm.placed"}},{"id":"arm.start","op":"mul@1","args":["arm.dimension.height","arm.k.centre"],"outputs":{"value":"arm.start.value"}},{"id":"scanner.shape","op":"extrude@1","args":["scanner.start.value","scanner.dimension.height","scanner.dimension.width","scanner.dimension.depth"],"outputs":{"shape":"scanner.shapeValue"},"params":{"frame":"scanner.local","axis":"y","section":"rectangle"}},{"id":"scanner.pose","op":"rigid@1","args":["d.mm.0","scanner.on.arm.pose.y.t0.value","scanner.on.arm.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"scanner.poseValue"},"params":{"from":"scanner.local","to":"scanner.seat"}},{"id":"scanner","op":"place@1","args":["scanner.shapeValue","scanner.world.value"],"outputs":{"placed":"scanner.placed"}},{"id":"scanner.start","op":"mul@1","args":["scanner.dimension.height","scanner.k.centre"],"outputs":{"value":"scanner.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":"post.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.t0.value"}},{"id":"post.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.y.t0.value"}},{"id":"post.on.host.pose.z.t0","op":"mul@1","args":["post.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["d.mm.0","post.on.host.seat.y.t0.value","post.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.chain","op":"compose@1","args":["post.seat.value","post.poseValue"],"outputs":{"pose":"post.chain.value"}},{"id":"post.world","op":"compose@1","args":["host.chain.value","post.chain.value"],"outputs":{"pose":"post.world.value"}},{"id":"arm.on.post.seat.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"arm.on.post.seat.y.t0.value"}},{"id":"arm.on.post.seat.z.t0","op":"mul@1","args":["post.dimension.depth","k.ratio.0_5"],"outputs":{"value":"arm.on.post.seat.z.t0.value"}},{"id":"arm.on.post.pose.y.t0","op":"mul@1","args":["arm.dimension.height","host.k.centre"],"outputs":{"value":"arm.on.post.pose.y.t0.value"}},{"id":"arm.on.post.pose.z.t0","op":"mul@1","args":["arm.dimension.depth","k.ratio.0_5"],"outputs":{"value":"arm.on.post.pose.z.t0.value"}},{"id":"arm.seat.rigid","op":"rigid@1","args":["d.mm.0","arm.on.post.seat.y.t0.value","arm.on.post.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.seat.value"},"params":{"from":"arm.seat","to":"post.local"}},{"id":"arm.chain","op":"compose@1","args":["arm.seat.value","arm.poseValue"],"outputs":{"pose":"arm.chain.value"}},{"id":"arm.world","op":"compose@1","args":["post.world.value","arm.chain.value"],"outputs":{"pose":"arm.world.value"}},{"id":"scanner.on.arm.seat.y.t0","op":"mul@1","args":["arm.dimension.height","host.k.centre"],"outputs":{"value":"scanner.on.arm.seat.y.t0.value"}},{"id":"scanner.on.arm.seat.z.t0","op":"mul@1","args":["arm.dimension.depth","k.ratio.0_5"],"outputs":{"value":"scanner.on.arm.seat.z.t0.value"}},{"id":"scanner.on.arm.pose.y.t0","op":"mul@1","args":["scanner.dimension.height","host.k.centre"],"outputs":{"value":"scanner.on.arm.pose.y.t0.value"}},{"id":"scanner.on.arm.pose.z.t0","op":"mul@1","args":["scanner.dimension.depth","host.k.centre"],"outputs":{"value":"scanner.on.arm.pose.z.t0.value"}},{"id":"scanner.seat.rigid","op":"rigid@1","args":["d.mm.0","scanner.on.arm.seat.y.t0.value","scanner.on.arm.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"scanner.seat.value"},"params":{"from":"scanner.seat","to":"arm.local"}},{"id":"scanner.chain","op":"compose@1","args":["scanner.seat.value","scanner.poseValue"],"outputs":{"pose":"scanner.chain.value"}},{"id":"scanner.world","op":"compose@1","args":["arm.world.value","scanner.chain.value"],"outputs":{"pose":"scanner.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"post.dimension.width":40,"post.dimension.height":600,"post.dimension.depth":40,"arm.dimension.width":40,"arm.dimension.height":40,"arm.dimension.depth":400,"scanner.dimension.width":120,"scanner.dimension.height":60,"scanner.dimension.depth":80},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"arm","material":{"token":"palette.tpl-7d8790"}},{"target":"scanner","material":{"token":"palette.tpl-1b1f23"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"post","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post"},"origin":{"align":{"z":"min"}}},{"id":"arm","type":"fixed","body0":{"part":"post","face":"front"},"body1":{"part":"arm"},"origin":{"align":{"y":"max"}}},{"id":"scanner","type":"fixed","body0":{"part":"arm","face":"bottom"},"body1":{"part":"scanner"},"origin":{"align":{"z":"max"}}}]}
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"face": "top"
|
|
64
64
|
},
|
|
65
65
|
"body1": {
|
|
66
|
-
"part": "{id}-post"
|
|
67
|
-
"face": "bottom"
|
|
66
|
+
"part": "{id}-post"
|
|
68
67
|
},
|
|
69
68
|
"origin": {
|
|
70
69
|
"align": {
|
|
@@ -83,8 +82,7 @@
|
|
|
83
82
|
"face": "front"
|
|
84
83
|
},
|
|
85
84
|
"body1": {
|
|
86
|
-
"part": "{id}-arm"
|
|
87
|
-
"face": "back"
|
|
85
|
+
"part": "{id}-arm"
|
|
88
86
|
},
|
|
89
87
|
"origin": {
|
|
90
88
|
"align": {
|
|
@@ -103,8 +101,7 @@
|
|
|
103
101
|
"face": "bottom"
|
|
104
102
|
},
|
|
105
103
|
"body1": {
|
|
106
|
-
"part": "{id}-scanner"
|
|
107
|
-
"face": "top"
|
|
104
|
+
"part": "{id}-scanner"
|
|
108
105
|
},
|
|
109
106
|
"origin": {
|
|
110
107
|
"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: 800, y: 1200, z: 300 }, 'TPL_SELECTOR_SWITCH'))
|
|
6
6
|
m.box('bezel', 140, 140, 40)
|
|
7
|
-
.on('bezel', '
|
|
7
|
+
.on('bezel', 'host', 'front')
|
|
8
8
|
.colour('bezel', 'wheel', '#2f3437')
|
|
9
9
|
.box('knob', 30, 100, 40)
|
|
10
|
-
.on('knob', '
|
|
10
|
+
.on('knob', 'bezel', 'front')
|
|
11
11
|
.colour('knob', 'knob', '#e8e8e8')
|
|
12
12
|
.moves('knob', { type: 'revolute', axis: 'Z', lower: -45, upper: 45, state: 'select' })
|
|
13
13
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SELECTOR_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":"bezel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bezel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bezel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"select","unit":"deg","min":-45,"max":45,"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_SELECTOR_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":"bezel.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bezel.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bezel.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"knob.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"select","unit":"deg","min":-45,"max":45,"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":"bezel.k.centre","unit":"ratio","value":-0.5},{"id":"knob.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":"bezel.shape","op":"extrude@1","args":["bezel.start.value","bezel.dimension.height","bezel.dimension.width","bezel.dimension.depth"],"outputs":{"shape":"bezel.shapeValue"},"params":{"frame":"bezel.local","axis":"y","section":"rectangle"}},{"id":"bezel.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","bezel.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bezel.poseValue"},"params":{"from":"bezel.local","to":"bezel.seat"}},{"id":"bezel","op":"place@1","args":["bezel.shapeValue","bezel.world.value"],"outputs":{"placed":"bezel.placed"}},{"id":"bezel.start","op":"mul@1","args":["bezel.dimension.height","bezel.k.centre"],"outputs":{"value":"bezel.start.value"}},{"id":"knob.shape","op":"extrude@1","args":["knob.start.value","knob.dimension.height","knob.dimension.width","knob.dimension.depth"],"outputs":{"shape":"knob.shapeValue"},"params":{"frame":"knob.local","axis":"y","section":"rectangle"}},{"id":"knob.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","knob.on.bezel.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"knob.poseValue"},"params":{"from":"knob.local","to":"knob.seat"}},{"id":"knob","op":"place@1","args":["knob.shapeValue","knob.world.value"],"outputs":{"placed":"knob.placed"}},{"id":"knob.start","op":"mul@1","args":["knob.dimension.height","knob.k.centre"],"outputs":{"value":"knob.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":"bezel.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bezel.on.host.seat.z.t0.value"}},{"id":"bezel.on.host.pose.z.t0","op":"mul@1","args":["bezel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"bezel.on.host.pose.z.t0.value"}},{"id":"bezel.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","bezel.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bezel.seat.value"},"params":{"from":"bezel.seat","to":"host.local"}},{"id":"bezel.chain","op":"compose@1","args":["bezel.seat.value","bezel.poseValue"],"outputs":{"pose":"bezel.chain.value"}},{"id":"bezel.world","op":"compose@1","args":["host.chain.value","bezel.chain.value"],"outputs":{"pose":"bezel.world.value"}},{"id":"knob.on.bezel.seat.z.t0","op":"mul@1","args":["bezel.dimension.depth","k.ratio.0_5"],"outputs":{"value":"knob.on.bezel.seat.z.t0.value"}},{"id":"knob.on.bezel.pose.z.t0","op":"mul@1","args":["knob.dimension.depth","k.ratio.0_5"],"outputs":{"value":"knob.on.bezel.pose.z.t0.value"}},{"id":"knob.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","knob.on.bezel.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"knob.seat.value"},"params":{"from":"knob.joint","to":"bezel.local"}},{"id":"knob.chain","op":"compose@1","args":["knob.seat.value","knob.turned.value"],"outputs":{"pose":"knob.chain.value"}},{"id":"knob.world","op":"compose@1","args":["bezel.world.value","knob.chain.value"],"outputs":{"pose":"knob.world.value"}},{"id":"knob.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.0","axis.ratio.1","select"],"outputs":{"pose":"knob.motion.value"},"params":{"from":"knob.seat","to":"knob.joint"}},{"id":"knob.turned","op":"compose@1","args":["knob.motion.value","knob.poseValue"],"outputs":{"pose":"knob.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":800,"host.size.y":1200,"host.size.z":300,"bezel.dimension.width":140,"bezel.dimension.height":140,"bezel.dimension.depth":40,"knob.dimension.width":30,"knob.dimension.height":100,"knob.dimension.depth":40},"stateDefaults":{"select":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-2f3437":"#2f3437","palette.tpl-e8e8e8":"#e8e8e8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bezel","material":{"token":"palette.tpl-2f3437"}},{"target":"knob","material":{"token":"palette.tpl-e8e8e8"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bezel","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"bezel"},"origin":{}},{"id":"knob","type":"revolute","body0":{"part":"bezel","face":"front"},"body1":{"part":"knob"},"origin":{},"axis":"Z","lowerLimit":-45,"upperLimit":45,"state":{"id":"select"}}]}
|
|
@@ -52,8 +52,7 @@
|
|
|
52
52
|
"face": "front"
|
|
53
53
|
},
|
|
54
54
|
"body1": {
|
|
55
|
-
"part": "{id}-bezel"
|
|
56
|
-
"face": "back"
|
|
55
|
+
"part": "{id}-bezel"
|
|
57
56
|
},
|
|
58
57
|
"origin": {}
|
|
59
58
|
}
|
|
@@ -68,8 +67,7 @@
|
|
|
68
67
|
"face": "front"
|
|
69
68
|
},
|
|
70
69
|
"body1": {
|
|
71
|
-
"part": "{id}-knob"
|
|
72
|
-
"face": "back"
|
|
70
|
+
"part": "{id}-knob"
|
|
73
71
|
},
|
|
74
72
|
"origin": {},
|
|
75
73
|
"axis": "Z",
|
|
@@ -5,7 +5,7 @@ export default function build(values: Values) {
|
|
|
5
5
|
const m = new Model(host({ x: 1200, y: 1800, z: 400 }, 'TPL_SHELF_TIERS'))
|
|
6
6
|
m.box('board', 1150, 20, 400)
|
|
7
7
|
.follow('board', 'x', 'host', 'x', 0.96)
|
|
8
|
-
.on('board', '
|
|
8
|
+
.on('board', 'host', 'front')
|
|
9
9
|
.colour('board', 'palette.board', '#b08d57')
|
|
10
10
|
.do({ kind: 'make-repeat', part: 'board', axis: 'y', pitch: 400, count: Number(values.tiers) })
|
|
11
11
|
return m.asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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":"board.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_96","unit":"ratio","value":0.96},{"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.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":"board.shape","op":"extrude@1","args":["board.start.value","board.dimension.height","board.dimension.x.value","board.dimension.depth"],"outputs":{"shape":"board.shapeValue"},"params":{"frame":"board.local","axis":"y","section":"rectangle"}},{"id":"board.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","board.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.poseValue"},"params":{"from":"board.local","to":"board.seat"}},{"id":"board","op":"member@1","args":["board.shapeValue","board.poseValue"],"outputs":{"placed":"board.placed"}},{"id":"board.start","op":"mul@1","args":["board.dimension.height","board.k.centre"],"outputs":{"value":"board.start.value"}},{"id":"board.dimension.x","op":"mul@1","args":["board.x.follows.times.value","k.ratio.1"],"outputs":{"value":"board.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"board.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_96"],"outputs":{"value":"board.x.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":"board.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"board.on.host.seat.z.t0.value"}},{"id":"board.on.host.pose.z.t0","op":"mul@1","args":["board.dimension.depth","k.ratio.0_5"],"outputs":{"value":"board.on.host.pose.z.t0.value"}},{"id":"board.seat.rigid","op":"rigid@1","args":["d.mm.0","board.row.start.0.times.value","board.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.seat.value"},"params":{"from":"board.seat","to":"host.local"}},{"id":"board.row.start.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"board.row.start.0.times.value"}},{"id":"board.row.length.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.0.times.value"}},{"id":"board.row.length.1.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.1.times.value"}},{"id":"board.row.length.1.sum","op":"add@1","args":["board.row.length.0.times.value","board.row.length.1.times.value"],"outputs":{"value":"board.row.length.1.sum.value"}},{"id":"board.layout","op":"fixed-count@1","args":["count.count.3","board.row.length.1.sum.value","d.mm.0","d.mm.0","board.dimension.height","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"board.layout.value"}},{"id":"board.assembly","op":"assembly@1","args":["board.placed"],"outputs":{"assembly":"board.assembly.value"}},{"id":"board.row","op":"compose@1","args":["host.chain.value","board.seat.value"],"outputs":{"pose":"board.row.value"}},{"id":"board.repeat","op":"repeat@1","args":["board.layout.value","board.assembly.value","board.row.value"],"outputs":{"collection":"board.repeat.value"},"params":{"axis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":1800,"host.size.z":400,"board.dimension.height":20,"board.dimension.depth":400},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"board","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"board","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"board"},"origin":{},"repeat":{"axis":"Y","pitch":400,"count":3}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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":"board.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_96","unit":"ratio","value":0.96},{"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.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":"board.shape","op":"extrude@1","args":["board.start.value","board.dimension.height","board.dimension.x.value","board.dimension.depth"],"outputs":{"shape":"board.shapeValue"},"params":{"frame":"board.local","axis":"y","section":"rectangle"}},{"id":"board.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","board.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.poseValue"},"params":{"from":"board.local","to":"board.seat"}},{"id":"board","op":"member@1","args":["board.shapeValue","board.poseValue"],"outputs":{"placed":"board.placed"}},{"id":"board.start","op":"mul@1","args":["board.dimension.height","board.k.centre"],"outputs":{"value":"board.start.value"}},{"id":"board.dimension.x","op":"mul@1","args":["board.x.follows.times.value","k.ratio.1"],"outputs":{"value":"board.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"board.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_96"],"outputs":{"value":"board.x.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":"board.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"board.on.host.seat.z.t0.value"}},{"id":"board.on.host.pose.z.t0","op":"mul@1","args":["board.dimension.depth","k.ratio.0_5"],"outputs":{"value":"board.on.host.pose.z.t0.value"}},{"id":"board.seat.rigid","op":"rigid@1","args":["d.mm.0","board.row.start.0.times.value","board.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.seat.value"},"params":{"from":"board.seat","to":"host.local"}},{"id":"board.row.start.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"board.row.start.0.times.value"}},{"id":"board.row.length.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.0.times.value"}},{"id":"board.row.length.1.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.1.times.value"}},{"id":"board.row.length.1.sum","op":"add@1","args":["board.row.length.0.times.value","board.row.length.1.times.value"],"outputs":{"value":"board.row.length.1.sum.value"}},{"id":"board.layout","op":"fixed-count@1","args":["count.count.2","board.row.length.1.sum.value","d.mm.0","d.mm.0","board.dimension.height","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"board.layout.value"}},{"id":"board.assembly","op":"assembly@1","args":["board.placed"],"outputs":{"assembly":"board.assembly.value"}},{"id":"board.row","op":"compose@1","args":["host.chain.value","board.seat.value"],"outputs":{"pose":"board.row.value"}},{"id":"board.repeat","op":"repeat@1","args":["board.layout.value","board.assembly.value","board.row.value"],"outputs":{"collection":"board.repeat.value"},"params":{"axis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":1800,"host.size.z":400,"board.dimension.height":20,"board.dimension.depth":400},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"board","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"board","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"board"},"origin":{},"repeat":{"axis":"Y","pitch":400,"count":2}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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":"board.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_96","unit":"ratio","value":0.96},{"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.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":"board.shape","op":"extrude@1","args":["board.start.value","board.dimension.height","board.dimension.x.value","board.dimension.depth"],"outputs":{"shape":"board.shapeValue"},"params":{"frame":"board.local","axis":"y","section":"rectangle"}},{"id":"board.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","board.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.poseValue"},"params":{"from":"board.local","to":"board.seat"}},{"id":"board","op":"member@1","args":["board.shapeValue","board.poseValue"],"outputs":{"placed":"board.placed"}},{"id":"board.start","op":"mul@1","args":["board.dimension.height","board.k.centre"],"outputs":{"value":"board.start.value"}},{"id":"board.dimension.x","op":"mul@1","args":["board.x.follows.times.value","k.ratio.1"],"outputs":{"value":"board.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"board.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_96"],"outputs":{"value":"board.x.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":"board.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"board.on.host.seat.z.t0.value"}},{"id":"board.on.host.pose.z.t0","op":"mul@1","args":["board.dimension.depth","k.ratio.0_5"],"outputs":{"value":"board.on.host.pose.z.t0.value"}},{"id":"board.seat.rigid","op":"rigid@1","args":["d.mm.0","board.row.start.0.times.value","board.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.seat.value"},"params":{"from":"board.seat","to":"host.local"}},{"id":"board.row.start.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"board.row.start.0.times.value"}},{"id":"board.row.length.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.0.times.value"}},{"id":"board.row.length.1.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.1.times.value"}},{"id":"board.row.length.1.sum","op":"add@1","args":["board.row.length.0.times.value","board.row.length.1.times.value"],"outputs":{"value":"board.row.length.1.sum.value"}},{"id":"board.layout","op":"fixed-count@1","args":["count.count.3","board.row.length.1.sum.value","d.mm.0","d.mm.0","board.dimension.height","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"board.layout.value"}},{"id":"board.assembly","op":"assembly@1","args":["board.placed"],"outputs":{"assembly":"board.assembly.value"}},{"id":"board.row","op":"compose@1","args":["host.chain.value","board.seat.value"],"outputs":{"pose":"board.row.value"}},{"id":"board.repeat","op":"repeat@1","args":["board.layout.value","board.assembly.value","board.row.value"],"outputs":{"collection":"board.repeat.value"},"params":{"axis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":1800,"host.size.z":400,"board.dimension.height":20,"board.dimension.depth":400},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"board","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"board","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"board"},"origin":{},"repeat":{"axis":"Y","pitch":400,"count":3}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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":"board.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_96","unit":"ratio","value":0.96},{"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.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":"board.shape","op":"extrude@1","args":["board.start.value","board.dimension.height","board.dimension.x.value","board.dimension.depth"],"outputs":{"shape":"board.shapeValue"},"params":{"frame":"board.local","axis":"y","section":"rectangle"}},{"id":"board.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","board.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.poseValue"},"params":{"from":"board.local","to":"board.seat"}},{"id":"board","op":"member@1","args":["board.shapeValue","board.poseValue"],"outputs":{"placed":"board.placed"}},{"id":"board.start","op":"mul@1","args":["board.dimension.height","board.k.centre"],"outputs":{"value":"board.start.value"}},{"id":"board.dimension.x","op":"mul@1","args":["board.x.follows.times.value","k.ratio.1"],"outputs":{"value":"board.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"board.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_96"],"outputs":{"value":"board.x.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":"board.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"board.on.host.seat.z.t0.value"}},{"id":"board.on.host.pose.z.t0","op":"mul@1","args":["board.dimension.depth","k.ratio.0_5"],"outputs":{"value":"board.on.host.pose.z.t0.value"}},{"id":"board.seat.rigid","op":"rigid@1","args":["d.mm.0","board.row.start.0.times.value","board.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.seat.value"},"params":{"from":"board.seat","to":"host.local"}},{"id":"board.row.start.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"board.row.start.0.times.value"}},{"id":"board.row.length.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.0.times.value"}},{"id":"board.row.length.1.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.1.times.value"}},{"id":"board.row.length.1.sum","op":"add@1","args":["board.row.length.0.times.value","board.row.length.1.times.value"],"outputs":{"value":"board.row.length.1.sum.value"}},{"id":"board.layout","op":"fixed-count@1","args":["count.count.4","board.row.length.1.sum.value","d.mm.0","d.mm.0","board.dimension.height","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"board.layout.value"}},{"id":"board.assembly","op":"assembly@1","args":["board.placed"],"outputs":{"assembly":"board.assembly.value"}},{"id":"board.row","op":"compose@1","args":["host.chain.value","board.seat.value"],"outputs":{"pose":"board.row.value"}},{"id":"board.repeat","op":"repeat@1","args":["board.layout.value","board.assembly.value","board.row.value"],"outputs":{"collection":"board.repeat.value"},"params":{"axis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":1800,"host.size.z":400,"board.dimension.height":20,"board.dimension.depth":400},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"board","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"board","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"board"},"origin":{},"repeat":{"axis":"Y","pitch":400,"count":4}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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_SHELF_TIERS","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":"board.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"board.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":"board.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_96","unit":"ratio","value":0.96},{"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.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":"board.shape","op":"extrude@1","args":["board.start.value","board.dimension.height","board.dimension.x.value","board.dimension.depth"],"outputs":{"shape":"board.shapeValue"},"params":{"frame":"board.local","axis":"y","section":"rectangle"}},{"id":"board.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","board.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.poseValue"},"params":{"from":"board.local","to":"board.seat"}},{"id":"board","op":"member@1","args":["board.shapeValue","board.poseValue"],"outputs":{"placed":"board.placed"}},{"id":"board.start","op":"mul@1","args":["board.dimension.height","board.k.centre"],"outputs":{"value":"board.start.value"}},{"id":"board.dimension.x","op":"mul@1","args":["board.x.follows.times.value","k.ratio.1"],"outputs":{"value":"board.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"board.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_96"],"outputs":{"value":"board.x.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":"board.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"board.on.host.seat.z.t0.value"}},{"id":"board.on.host.pose.z.t0","op":"mul@1","args":["board.dimension.depth","k.ratio.0_5"],"outputs":{"value":"board.on.host.pose.z.t0.value"}},{"id":"board.seat.rigid","op":"rigid@1","args":["d.mm.0","board.row.start.0.times.value","board.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"board.seat.value"},"params":{"from":"board.seat","to":"host.local"}},{"id":"board.row.start.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"board.row.start.0.times.value"}},{"id":"board.row.length.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.0.times.value"}},{"id":"board.row.length.1.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"board.row.length.1.times.value"}},{"id":"board.row.length.1.sum","op":"add@1","args":["board.row.length.0.times.value","board.row.length.1.times.value"],"outputs":{"value":"board.row.length.1.sum.value"}},{"id":"board.layout","op":"fixed-count@1","args":["count.count.5","board.row.length.1.sum.value","d.mm.0","d.mm.0","board.dimension.height","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"board.layout.value"}},{"id":"board.assembly","op":"assembly@1","args":["board.placed"],"outputs":{"assembly":"board.assembly.value"}},{"id":"board.row","op":"compose@1","args":["host.chain.value","board.seat.value"],"outputs":{"pose":"board.row.value"}},{"id":"board.repeat","op":"repeat@1","args":["board.layout.value","board.assembly.value","board.row.value"],"outputs":{"collection":"board.repeat.value"},"params":{"axis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":1800,"host.size.z":400,"board.dimension.height":20,"board.dimension.depth":400},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"board","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"board","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"board"},"origin":{},"repeat":{"axis":"Y","pitch":400,"count":5}}]}
|
|
@@ -92,8 +92,7 @@
|
|
|
92
92
|
"face": "front"
|
|
93
93
|
},
|
|
94
94
|
"body1": {
|
|
95
|
-
"part": "{id}-board"
|
|
96
|
-
"face": "back"
|
|
95
|
+
"part": "{id}-board"
|
|
97
96
|
},
|
|
98
97
|
"origin": {},
|
|
99
98
|
"repeat": {
|
|
@@ -118,8 +117,7 @@
|
|
|
118
117
|
"face": "front"
|
|
119
118
|
},
|
|
120
119
|
"body1": {
|
|
121
|
-
"part": "{id}-board"
|
|
122
|
-
"face": "back"
|
|
120
|
+
"part": "{id}-board"
|
|
123
121
|
},
|
|
124
122
|
"origin": {},
|
|
125
123
|
"repeat": {
|
|
@@ -144,8 +142,7 @@
|
|
|
144
142
|
"face": "front"
|
|
145
143
|
},
|
|
146
144
|
"body1": {
|
|
147
|
-
"part": "{id}-board"
|
|
148
|
-
"face": "back"
|
|
145
|
+
"part": "{id}-board"
|
|
149
146
|
},
|
|
150
147
|
"origin": {},
|
|
151
148
|
"repeat": {
|
|
@@ -170,8 +167,7 @@
|
|
|
170
167
|
"face": "front"
|
|
171
168
|
},
|
|
172
169
|
"body1": {
|
|
173
|
-
"part": "{id}-board"
|
|
174
|
-
"face": "back"
|
|
170
|
+
"part": "{id}-board"
|
|
175
171
|
},
|
|
176
172
|
"origin": {},
|
|
177
173
|
"repeat": {
|
|
@@ -6,7 +6,7 @@ export default function build() {
|
|
|
6
6
|
for (const [rail, side] of [['near', 'max'], ['far', 'min']] as const)
|
|
7
7
|
m.box(rail, 3000, 60, 20)
|
|
8
8
|
.follow(rail, 'x', 'host', 'x')
|
|
9
|
-
.on(rail, '
|
|
9
|
+
.on(rail, 'host', 'top', { z: side })
|
|
10
10
|
.colour(rail, 'palette.rail', '#9aa3ab')
|
|
11
11
|
return m.asset
|
|
12
12
|
}
|