@things-factory/figure-service 10.1.207 → 10.1.210
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 +2 -1
- package/dist-server/service/figure/figure-context.js +2 -1
- package/dist-server/service/figure/figure-context.js.map +1 -1
- package/dist-server/service/figure/figure.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/recipes/_lib/model.mts +12 -8
- package/recipes/air-cylinder/models/default.json +1 -1
- package/recipes/air-cylinder/recipe.json +13 -10
- package/recipes/air-cylinder/spec.json +1 -1
- package/recipes/air-shower/models/default.json +1 -1
- package/recipes/air-shower/recipe.json +11 -8
- package/recipes/barrier-gate/models/default.json +1 -1
- package/recipes/barrier-gate/recipe.json +11 -7
- package/recipes/base-frame/models/default.json +1 -1
- package/recipes/base-frame/recipe.json +0 -4
- package/recipes/belt-surface/models/default.json +1 -1
- package/recipes/belt-surface/recipe.json +0 -1
- package/recipes/bin-row/models/default.json +1 -1
- package/recipes/bin-row/recipe.json +0 -1
- package/recipes/bollard-row/models/default.json +1 -1
- package/recipes/bollard-row/recipe.json +0 -1
- package/recipes/buzzer/models/default.json +1 -1
- package/recipes/buzzer/recipe.json +0 -1
- package/recipes/cabinet-doors/build.mts +1 -1
- 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 +21 -13
- package/recipes/cable-tray/models/default.json +1 -1
- package/recipes/cable-tray/recipe.json +0 -3
- package/recipes/camera-mount/models/default.json +1 -1
- package/recipes/camera-mount/recipe.json +11 -8
- package/recipes/canopy/models/default.json +1 -1
- package/recipes/canopy/recipe.json +0 -5
- package/recipes/cart/models/default.json +1 -1
- package/recipes/cart/recipe.json +0 -12
- package/recipes/cart-handle/models/default.json +1 -1
- package/recipes/cart-handle/recipe.json +0 -3
- package/recipes/casters-four/models/default.json +1 -1
- package/recipes/casters-four/recipe.json +0 -8
- package/recipes/ceiling-rail-carriage/build.mts +1 -1
- package/recipes/ceiling-rail-carriage/models/default.json +1 -1
- package/recipes/ceiling-rail-carriage/recipe.json +19 -16
- package/recipes/chain-rails/models/default.json +1 -1
- package/recipes/chain-rails/recipe.json +0 -2
- package/recipes/charging-station/models/default.json +1 -1
- package/recipes/charging-station/recipe.json +0 -2
- package/recipes/column-row/models/default.json +1 -1
- package/recipes/column-row/recipe.json +0 -1
- package/recipes/control-cabinet/models/default.json +1 -1
- package/recipes/control-cabinet/recipe.json +11 -8
- package/recipes/conveyor-skirts/models/default.json +1 -1
- package/recipes/conveyor-skirts/recipe.json +0 -2
- package/recipes/counter-display/models/default.json +1 -1
- package/recipes/counter-display/recipe.json +0 -2
- package/recipes/dock-bumpers/models/default.json +1 -1
- package/recipes/dock-bumpers/recipe.json +0 -2
- package/recipes/dock-leveler/models/default.json +1 -1
- package/recipes/dock-leveler/recipe.json +11 -7
- package/recipes/double-hinged-door/build.mts +1 -1
- package/recipes/double-hinged-door/models/default.json +1 -1
- package/recipes/double-hinged-door/recipe.json +21 -14
- 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 +99 -63
- package/recipes/drip-tray/models/default.json +1 -1
- package/recipes/drip-tray/recipe.json +0 -1
- package/recipes/duct-fan/models/default.json +1 -1
- package/recipes/duct-fan/recipe.json +11 -8
- package/recipes/emergency-stop/models/default.json +1 -1
- package/recipes/emergency-stop/recipe.json +11 -8
- package/recipes/end-covers/models/default.json +1 -1
- package/recipes/end-covers/recipe.json +0 -2
- package/recipes/ffu-row/models/default.json +1 -1
- package/recipes/ffu-row/recipe.json +0 -1
- package/recipes/fire-extinguisher/models/default.json +1 -1
- package/recipes/fire-extinguisher/recipe.json +0 -2
- package/recipes/first-aid-box/models/default.json +1 -1
- package/recipes/first-aid-box/recipe.json +0 -2
- package/recipes/floor-zone/models/default.json +1 -1
- package/recipes/floor-zone/recipe.json +0 -4
- package/recipes/folding-door/build.mts +1 -1
- package/recipes/folding-door/models/default.json +1 -1
- package/recipes/folding-door/recipe.json +21 -14
- package/recipes/fork/build.mts +1 -1
- package/recipes/fork/models/default.json +1 -1
- package/recipes/fork/recipe.json +23 -15
- package/recipes/fork/spec.json +1 -1
- package/recipes/gantry-frame/models/default.json +1 -1
- package/recipes/gantry-frame/recipe.json +0 -3
- package/recipes/gripper-2f/build.mts +1 -1
- package/recipes/gripper-2f/models/default.json +1 -1
- package/recipes/gripper-2f/recipe.json +23 -16
- package/recipes/gripper-2f/spec.json +1 -1
- package/recipes/guard-cover/models/default.json +1 -1
- package/recipes/guard-cover/recipe.json +11 -7
- package/recipes/handrail/models/default.json +1 -1
- package/recipes/handrail/recipe.json +0 -2
- package/recipes/hatch/models/default.json +1 -1
- package/recipes/hatch/recipe.json +11 -8
- package/recipes/hinged-door/build.mts +2 -3
- 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 +22 -15
- package/recipes/hmi-monitor/models/default.json +1 -1
- package/recipes/hmi-monitor/recipe.json +11 -8
- package/recipes/hopper/models/default.json +1 -1
- package/recipes/hopper/recipe.json +0 -2
- package/recipes/interlock-switch/models/default.json +1 -1
- package/recipes/interlock-switch/recipe.json +0 -1
- package/recipes/junction-box/models/default.json +1 -1
- package/recipes/junction-box/recipe.json +0 -1
- package/recipes/ladder/models/default.json +1 -1
- package/recipes/ladder/recipe.json +0 -3
- package/recipes/legs-four/models/default.json +1 -1
- package/recipes/legs-four/recipe.json +0 -4
- package/recipes/leveling-feet/models/default.json +1 -1
- package/recipes/leveling-feet/recipe.json +0 -4
- package/recipes/lift-updown/models/default.json +1 -1
- package/recipes/lift-updown/recipe.json +13 -9
- package/recipes/lift-updown/spec.json +1 -1
- package/recipes/light-curtain/models/default.json +1 -1
- package/recipes/light-curtain/recipe.json +0 -2
- package/recipes/limit-switch/models/default.json +1 -1
- package/recipes/limit-switch/recipe.json +11 -8
- package/recipes/linear-guide/build.mts +1 -1
- package/recipes/linear-guide/models/default.json +1 -1
- package/recipes/linear-guide/recipe.json +19 -16
- package/recipes/locker-row/models/default.json +1 -1
- package/recipes/locker-row/recipe.json +0 -1
- package/recipes/motor-box/models/default.json +1 -1
- package/recipes/motor-box/recipe.json +0 -1
- package/recipes/observation-window/models/default.json +1 -1
- package/recipes/observation-window/recipe.json +0 -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 +0 -5
- package/recipes/pallet/models/default.json +1 -1
- package/recipes/pallet/recipe.json +0 -4
- package/recipes/partition-wall/models/default.json +1 -1
- package/recipes/partition-wall/recipe.json +0 -3
- package/recipes/pass-box/models/default.json +1 -1
- package/recipes/pass-box/recipe.json +11 -8
- package/recipes/peg-board/models/default.json +1 -1
- package/recipes/peg-board/recipe.json +0 -2
- package/recipes/photo-sensor-pair/models/default.json +1 -1
- package/recipes/photo-sensor-pair/recipe.json +0 -2
- package/recipes/pipe-run/models/default.json +1 -1
- package/recipes/pipe-run/recipe.json +0 -1
- package/recipes/platform/models/default.json +1 -1
- package/recipes/platform/recipe.json +0 -5
- package/recipes/power-box/models/default.json +1 -1
- package/recipes/power-box/recipe.json +0 -1
- package/recipes/pressure-gauge/models/default.json +1 -1
- package/recipes/pressure-gauge/recipe.json +0 -1
- package/recipes/pull-cord/models/default.json +1 -1
- package/recipes/pull-cord/recipe.json +0 -1
- package/recipes/pump/models/default.json +1 -1
- package/recipes/pump/recipe.json +0 -2
- package/recipes/pusher/build.mts +1 -1
- package/recipes/pusher/models/default.json +1 -1
- package/recipes/pusher/recipe.json +19 -15
- package/recipes/robot-plinth/models/default.json +1 -1
- package/recipes/robot-plinth/recipe.json +0 -2
- package/recipes/roll-up-shutter/build.mts +1 -1
- package/recipes/roll-up-shutter/models/default.json +1 -1
- package/recipes/roll-up-shutter/recipe.json +19 -16
- package/recipes/roller-row/models/default.json +1 -1
- package/recipes/roller-row/recipe.json +11 -7
- package/recipes/room-shell/models/default.json +1 -1
- package/recipes/room-shell/recipe.json +0 -5
- package/recipes/rotating-beacon/models/default.json +1 -1
- package/recipes/rotating-beacon/recipe.json +11 -9
- package/recipes/safety-fence/models/default.json +1 -1
- package/recipes/safety-fence/recipe.json +0 -2
- package/recipes/safety-mat/models/default.json +1 -1
- package/recipes/safety-mat/recipe.json +0 -1
- package/recipes/safety-sign-stand/models/default.json +1 -1
- package/recipes/safety-sign-stand/recipe.json +0 -3
- package/recipes/scanner-mount/models/default.json +1 -1
- package/recipes/scanner-mount/recipe.json +0 -3
- package/recipes/selector-switch/models/default.json +1 -1
- package/recipes/selector-switch/recipe.json +11 -8
- 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 +0 -4
- package/recipes/side-guides/models/default.json +1 -1
- package/recipes/side-guides/recipe.json +0 -2
- package/recipes/sign-board/models/default.json +1 -1
- package/recipes/sign-board/recipe.json +0 -1
- package/recipes/signal-tower-3/build.mts +1 -1
- package/recipes/signal-tower-3/models/default.json +1 -1
- package/recipes/signal-tower-3/recipe.json +11 -10
- package/recipes/sliding-door/build.mts +4 -7
- 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 +48 -38
- package/recipes/stairs/models/default.json +1 -1
- package/recipes/stairs/recipe.json +0 -1
- package/recipes/status-lamp/models/default.json +1 -1
- package/recipes/status-lamp/recipe.json +11 -9
- package/recipes/stopper/models/default.json +1 -1
- package/recipes/stopper/recipe.json +11 -7
- package/recipes/suction-pads/models/default.json +1 -1
- package/recipes/suction-pads/recipe.json +0 -1
- package/recipes/tank/models/default.json +1 -1
- package/recipes/tank/recipe.json +0 -1
- package/recipes/telescopic-arm/build.mts +1 -1
- package/recipes/telescopic-arm/models/default.json +1 -1
- package/recipes/telescopic-arm/recipe.json +21 -13
- package/recipes/toe-board/models/default.json +1 -1
- package/recipes/toe-board/recipe.json +0 -1
- package/recipes/tote/models/default.json +1 -1
- package/recipes/tote/recipe.json +0 -1
- package/recipes/traffic-cones/models/default.json +1 -1
- package/recipes/traffic-cones/recipe.json +0 -2
- package/recipes/transfer-belts/build.mts +1 -1
- package/recipes/transfer-belts/models/default.json +1 -1
- package/recipes/transfer-belts/recipe.json +23 -15
- package/recipes/transfer-belts/spec.json +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 +0 -5
- package/recipes/trough/models/default.json +1 -1
- package/recipes/trough/recipe.json +0 -1
- package/recipes/turntable/models/default.json +1 -1
- package/recipes/turntable/recipe.json +11 -8
- package/recipes/valve-handle/models/default.json +1 -1
- package/recipes/valve-handle/recipe.json +11 -9
- package/recipes/waste-bin/models/default.json +1 -1
- package/recipes/waste-bin/recipe.json +0 -1
- package/recipes/work-light/models/default.json +1 -1
- package/recipes/work-light/recipe.json +11 -9
- package/recipes/workbench-top/models/default.json +1 -1
- package/recipes/workbench-top/recipe.json +0 -1
- package/server/service/figure/figure-context.test.ts +3 -3
- package/server/service/figure/figure-context.ts +4 -2
- package/server/service/figure/figure-propose-clips.test.ts +1 -1
- package/server/service/figure/figure-release-record-db.test.ts +3 -3
- package/server/service/figure/figure-tools.test.ts +1 -1
- package/server/service/figure/figure.ts +1 -1
- package/translations/ko.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_BOLLARD_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":"bollard.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"bollard.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"k.ratio.2","unit":"ratio","value":2},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1500","unit":"mm","value":1500}],"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":"bollard.shape","op":"extrude@1","args":["bollard.start.value","bollard.dimension.length","bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"shape":"bollard.shapeValue"},"params":{"frame":"bollard.local","axis":"y","section":"ellipse"}},{"id":"bollard.pose","op":"rigid@1","args":["d.mm.0","bollard.on.host.pose.y.t0.value","bollard.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.poseValue"},"params":{"from":"bollard.local","to":"bollard.seat"}},{"id":"bollard","op":"member@1","args":["bollard.shapeValue","bollard.poseValue"],"outputs":{"placed":"bollard.placed"}},{"id":"bollard.start","op":"mul@1","args":["bollard.dimension.length","bollard.k.centre"],"outputs":{"value":"bollard.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":"bollard.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.y.t0.value"}},{"id":"bollard.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.z.t0.value"}},{"id":"bollard.on.host.pose.y.t0","op":"mul@1","args":["bollard.dimension.length","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.pose.y.t0.value"}},{"id":"bollard.on.host.pose.z.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio._1"],"outputs":{"value":"bollard.on.host.pose.z.t0.value"}},{"id":"bollard.seat.rigid","op":"rigid@1","args":["bollard.row.start.0.times.value","bollard.on.host.seat.y.t0.value","bollard.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.seat.value"},"params":{"from":"bollard.seat","to":"host.local"}},{"id":"bollard.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bollard.row.start.0.times.value"}},{"id":"bollard.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.0.times.value"}},{"id":"bollard.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.1.times.value"}},{"id":"bollard.row.length.1.sum","op":"add@1","args":["bollard.row.length.0.times.value","bollard.row.length.1.times.value"],"outputs":{"value":"bollard.row.length.1.sum.value"}},{"id":"bollard.row.extent.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio.2"],"outputs":{"value":"bollard.row.extent.t0.value"}},{"id":"bollard.layout","op":"fit-pitch@1","args":["bollard.row.length.1.sum.value","d.mm.0","d.mm.0","bollard.row.extent.t0.value","d.mm.1500","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bollard.layout.value"}},{"id":"bollard.assembly","op":"assembly@1","args":["bollard.placed"],"outputs":{"assembly":"bollard.assembly.value"}},{"id":"bollard.row","op":"compose@1","args":["host.chain.value","bollard.seat.value"],"outputs":{"pose":"bollard.row.value"}},{"id":"bollard.repeat","op":"repeat@1","args":["bollard.layout.value","bollard.assembly.value","bollard.row.value"],"outputs":{"collection":"bollard.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"bollard.dimension.radius":80,"bollard.dimension.length":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bollard","material":{"token":"palette.tpl-e0b000"},"segments":12}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BOLLARD_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":"bollard.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"bollard.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"k.ratio.2","unit":"ratio","value":2},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1500","unit":"mm","value":1500}],"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":"bollard.shape","op":"extrude@1","args":["bollard.start.value","bollard.dimension.length","bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"shape":"bollard.shapeValue"},"params":{"frame":"bollard.local","axis":"y","section":"ellipse"}},{"id":"bollard.pose","op":"rigid@1","args":["d.mm.0","bollard.on.host.pose.y.t0.value","bollard.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.poseValue"},"params":{"from":"bollard.local","to":"bollard.seat"}},{"id":"bollard","op":"member@1","args":["bollard.shapeValue","bollard.poseValue"],"outputs":{"placed":"bollard.placed"}},{"id":"bollard.start","op":"mul@1","args":["bollard.dimension.length","bollard.k.centre"],"outputs":{"value":"bollard.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":"bollard.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.y.t0.value"}},{"id":"bollard.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.z.t0.value"}},{"id":"bollard.on.host.pose.y.t0","op":"mul@1","args":["bollard.dimension.length","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.pose.y.t0.value"}},{"id":"bollard.on.host.pose.z.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio._1"],"outputs":{"value":"bollard.on.host.pose.z.t0.value"}},{"id":"bollard.seat.rigid","op":"rigid@1","args":["bollard.row.start.0.times.value","bollard.on.host.seat.y.t0.value","bollard.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.seat.value"},"params":{"from":"bollard.seat","to":"host.local"}},{"id":"bollard.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bollard.row.start.0.times.value"}},{"id":"bollard.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.0.times.value"}},{"id":"bollard.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.1.times.value"}},{"id":"bollard.row.length.1.sum","op":"add@1","args":["bollard.row.length.0.times.value","bollard.row.length.1.times.value"],"outputs":{"value":"bollard.row.length.1.sum.value"}},{"id":"bollard.row.extent.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio.2"],"outputs":{"value":"bollard.row.extent.t0.value"}},{"id":"bollard.layout","op":"fit-pitch@1","args":["bollard.row.length.1.sum.value","d.mm.0","d.mm.0","bollard.row.extent.t0.value","d.mm.1500","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bollard.layout.value"}},{"id":"bollard.assembly","op":"assembly@1","args":["bollard.placed"],"outputs":{"assembly":"bollard.assembly.value"}},{"id":"bollard.row","op":"compose@1","args":["host.chain.value","bollard.seat.value"],"outputs":{"pose":"bollard.row.value"}},{"id":"bollard.repeat","op":"repeat@1","args":["bollard.layout.value","bollard.assembly.value","bollard.row.value"],"outputs":{"collection":"bollard.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"bollard.dimension.radius":80,"bollard.dimension.length":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bollard","material":{"token":"palette.tpl-e0b000"},"segments":12}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bollard","body0":{"part":"host","face":"top"},"body1":{"part":"bollard"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1500}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_BUZZER","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":"buzzer.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"buzzer.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":"buzzer.shape","op":"extrude@1","args":["buzzer.start.value","buzzer.dimension.length","buzzer.dimension.radius","buzzer.dimension.radius"],"outputs":{"shape":"buzzer.shapeValue"},"params":{"frame":"buzzer.local","axis":"y","section":"ellipse"}},{"id":"buzzer.pose","op":"rigid@1","args":["buzzer.dimension.radius","buzzer.on.host.pose.y.t0.value","buzzer.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.poseValue"},"params":{"from":"buzzer.local","to":"buzzer.seat"}},{"id":"buzzer","op":"place@1","args":["buzzer.shapeValue","buzzer.world.value"],"outputs":{"placed":"buzzer.placed"}},{"id":"buzzer.start","op":"mul@1","args":["buzzer.dimension.length","buzzer.k.centre"],"outputs":{"value":"buzzer.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":"buzzer.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.x.t0.value"}},{"id":"buzzer.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.seat.y.t0.value"}},{"id":"buzzer.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.z.t0.value"}},{"id":"buzzer.on.host.pose.y.t0","op":"mul@1","args":["buzzer.dimension.length","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.pose.y.t0.value"}},{"id":"buzzer.seat.rigid","op":"rigid@1","args":["buzzer.on.host.seat.x.t0.value","buzzer.on.host.seat.y.t0.value","buzzer.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.seat.value"},"params":{"from":"buzzer.seat","to":"host.local"}},{"id":"buzzer.chain","op":"compose@1","args":["buzzer.seat.value","buzzer.poseValue"],"outputs":{"pose":"buzzer.chain.value"}},{"id":"buzzer.world","op":"compose@1","args":["host.chain.value","buzzer.chain.value"],"outputs":{"pose":"buzzer.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"buzzer.dimension.radius":45,"buzzer.dimension.length":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"buzzer","material":{"token":"palette.tpl-1b1f23"},"segments":12}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BUZZER","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":"buzzer.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"buzzer.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":"buzzer.shape","op":"extrude@1","args":["buzzer.start.value","buzzer.dimension.length","buzzer.dimension.radius","buzzer.dimension.radius"],"outputs":{"shape":"buzzer.shapeValue"},"params":{"frame":"buzzer.local","axis":"y","section":"ellipse"}},{"id":"buzzer.pose","op":"rigid@1","args":["buzzer.dimension.radius","buzzer.on.host.pose.y.t0.value","buzzer.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.poseValue"},"params":{"from":"buzzer.local","to":"buzzer.seat"}},{"id":"buzzer","op":"place@1","args":["buzzer.shapeValue","buzzer.world.value"],"outputs":{"placed":"buzzer.placed"}},{"id":"buzzer.start","op":"mul@1","args":["buzzer.dimension.length","buzzer.k.centre"],"outputs":{"value":"buzzer.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":"buzzer.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.x.t0.value"}},{"id":"buzzer.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.seat.y.t0.value"}},{"id":"buzzer.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.z.t0.value"}},{"id":"buzzer.on.host.pose.y.t0","op":"mul@1","args":["buzzer.dimension.length","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.pose.y.t0.value"}},{"id":"buzzer.seat.rigid","op":"rigid@1","args":["buzzer.on.host.seat.x.t0.value","buzzer.on.host.seat.y.t0.value","buzzer.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.seat.value"},"params":{"from":"buzzer.seat","to":"host.local"}},{"id":"buzzer.chain","op":"compose@1","args":["buzzer.seat.value","buzzer.poseValue"],"outputs":{"pose":"buzzer.chain.value"}},{"id":"buzzer.world","op":"compose@1","args":["host.chain.value","buzzer.chain.value"],"outputs":{"pose":"buzzer.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"buzzer.dimension.radius":45,"buzzer.dimension.length":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"buzzer","material":{"token":"palette.tpl-1b1f23"},"segments":12}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"buzzer","body0":{"part":"host","face":"top"},"body1":{"part":"buzzer"},"origin":{"align":{"x":"min","z":"min"}}}]}
|
|
@@ -16,6 +16,6 @@ export default function build(values: Values) {
|
|
|
16
16
|
.follow('right', 'y', 'left', 'y')
|
|
17
17
|
.on('right', 'host', 'front', { x: 'max' })
|
|
18
18
|
.colour('right', 'palette.leaf', '#5c7c96')
|
|
19
|
-
.moves('right', { type: 'revolute', axis: 'Y', mimic: {
|
|
19
|
+
.moves('right', { type: 'revolute', axis: 'Y', mimic: { motion: 'left', multiplier: -1 } })
|
|
20
20
|
return m.asset
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]},{"id":"right","body0":{"part":"host","face":"front"},"body1":{"part":"right"},"origin":{"align":{"x":"max"}},"motion":[{"type":"revolute","axis":"Y","mimic":{"motion":"left","multiplier":-1}}]}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_98"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_98"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]},{"id":"right","body0":{"part":"host","face":"front"},"body1":{"part":"right"},"origin":{"align":{"x":"max"}},"motion":[{"type":"revolute","axis":"Y","mimic":{"motion":"left","multiplier":-1}}]}]}
|
|
@@ -156,7 +156,6 @@
|
|
|
156
156
|
"kind": "set-joint",
|
|
157
157
|
"joint": {
|
|
158
158
|
"id": "{id}-left",
|
|
159
|
-
"type": "revolute",
|
|
160
159
|
"body0": {
|
|
161
160
|
"part": "{target}",
|
|
162
161
|
"face": "front"
|
|
@@ -169,12 +168,17 @@
|
|
|
169
168
|
"x": "min"
|
|
170
169
|
}
|
|
171
170
|
},
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
171
|
+
"motion": [
|
|
172
|
+
{
|
|
173
|
+
"type": "revolute",
|
|
174
|
+
"axis": "Y",
|
|
175
|
+
"lowerLimit": -100,
|
|
176
|
+
"upperLimit": 0,
|
|
177
|
+
"state": {
|
|
178
|
+
"id": "{id}-open"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
178
182
|
}
|
|
179
183
|
},
|
|
180
184
|
{
|
|
@@ -185,7 +189,6 @@
|
|
|
185
189
|
"kind": "set-joint",
|
|
186
190
|
"joint": {
|
|
187
191
|
"id": "{id}-right",
|
|
188
|
-
"type": "revolute",
|
|
189
192
|
"body0": {
|
|
190
193
|
"part": "{target}",
|
|
191
194
|
"face": "front"
|
|
@@ -198,11 +201,16 @@
|
|
|
198
201
|
"x": "max"
|
|
199
202
|
}
|
|
200
203
|
},
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
"motion": [
|
|
205
|
+
{
|
|
206
|
+
"type": "revolute",
|
|
207
|
+
"axis": "Y",
|
|
208
|
+
"mimic": {
|
|
209
|
+
"motion": "{id}-left",
|
|
210
|
+
"multiplier": -1
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
]
|
|
206
214
|
}
|
|
207
215
|
},
|
|
208
216
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_CABLE_TRAY","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":"floor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"floor.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.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":"floor.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"lip-back.k.centre","unit":"ratio","value":-0.5},{"id":"lip-front.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.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":"floor.shape","op":"extrude@1","args":["floor.start.value","floor.dimension.height","floor.dimension.x.value","floor.dimension.depth"],"outputs":{"shape":"floor.shapeValue"},"params":{"frame":"floor.local","axis":"y","section":"rectangle"}},{"id":"floor.pose","op":"rigid@1","args":["d.mm.0","floor.on.host.pose.y.t0.value","floor.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.poseValue"},"params":{"from":"floor.local","to":"floor.seat"}},{"id":"floor","op":"place@1","args":["floor.shapeValue","floor.world.value"],"outputs":{"placed":"floor.placed"}},{"id":"floor.start","op":"mul@1","args":["floor.dimension.height","floor.k.centre"],"outputs":{"value":"floor.start.value"}},{"id":"floor.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"floor.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"lip-back.shape","op":"extrude@1","args":["lip-back.start.value","lip-back.dimension.height","lip-back.dimension.x.value","lip-back.dimension.depth"],"outputs":{"shape":"lip-back.shapeValue"},"params":{"frame":"lip-back.local","axis":"y","section":"rectangle"}},{"id":"lip-back.pose","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.pose.y.t0.value","lip-back.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.poseValue"},"params":{"from":"lip-back.local","to":"lip-back.seat"}},{"id":"lip-back","op":"place@1","args":["lip-back.shapeValue","lip-back.world.value"],"outputs":{"placed":"lip-back.placed"}},{"id":"lip-back.start","op":"mul@1","args":["lip-back.dimension.height","lip-back.k.centre"],"outputs":{"value":"lip-back.start.value"}},{"id":"lip-back.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-back.dimension.x.value"}},{"id":"lip-front.shape","op":"extrude@1","args":["lip-front.start.value","lip-front.dimension.height","lip-front.dimension.x.value","lip-front.dimension.depth"],"outputs":{"shape":"lip-front.shapeValue"},"params":{"frame":"lip-front.local","axis":"y","section":"rectangle"}},{"id":"lip-front.pose","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.pose.y.t0.value","lip-front.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.poseValue"},"params":{"from":"lip-front.local","to":"lip-front.seat"}},{"id":"lip-front","op":"place@1","args":["lip-front.shapeValue","lip-front.world.value"],"outputs":{"placed":"lip-front.placed"}},{"id":"lip-front.start","op":"mul@1","args":["lip-front.dimension.height","lip-front.k.centre"],"outputs":{"value":"lip-front.start.value"}},{"id":"lip-front.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-front.dimension.x.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":"floor.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"floor.on.host.seat.y.t0.value"}},{"id":"floor.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"floor.on.host.seat.z.t0.value"}},{"id":"floor.on.host.pose.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.y.t0.value"}},{"id":"floor.on.host.pose.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.z.t0.value"}},{"id":"floor.seat.rigid","op":"rigid@1","args":["d.mm.0","floor.on.host.seat.y.t0.value","floor.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.seat.value"},"params":{"from":"floor.seat","to":"host.local"}},{"id":"floor.chain","op":"compose@1","args":["floor.seat.value","floor.poseValue"],"outputs":{"pose":"floor.chain.value"}},{"id":"floor.world","op":"compose@1","args":["host.chain.value","floor.chain.value"],"outputs":{"pose":"floor.world.value"}},{"id":"lip-back.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.seat.y.t0.value"}},{"id":"lip-back.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","host.k.centre"],"outputs":{"value":"lip-back.on.floor.seat.z.t0.value"}},{"id":"lip-back.on.floor.pose.y.t0","op":"mul@1","args":["lip-back.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.y.t0.value"}},{"id":"lip-back.on.floor.pose.z.t0","op":"mul@1","args":["lip-back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.z.t0.value"}},{"id":"lip-back.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.seat.y.t0.value","lip-back.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.seat.value"},"params":{"from":"lip-back.seat","to":"floor.local"}},{"id":"lip-back.chain","op":"compose@1","args":["lip-back.seat.value","lip-back.poseValue"],"outputs":{"pose":"lip-back.chain.value"}},{"id":"lip-back.world","op":"compose@1","args":["floor.world.value","lip-back.chain.value"],"outputs":{"pose":"lip-back.world.value"}},{"id":"lip-front.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.y.t0.value"}},{"id":"lip-front.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.z.t0.value"}},{"id":"lip-front.on.floor.pose.y.t0","op":"mul@1","args":["lip-front.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.pose.y.t0.value"}},{"id":"lip-front.on.floor.pose.z.t0","op":"mul@1","args":["lip-front.dimension.depth","host.k.centre"],"outputs":{"value":"lip-front.on.floor.pose.z.t0.value"}},{"id":"lip-front.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.seat.y.t0.value","lip-front.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.seat.value"},"params":{"from":"lip-front.seat","to":"floor.local"}},{"id":"lip-front.chain","op":"compose@1","args":["lip-front.seat.value","lip-front.poseValue"],"outputs":{"pose":"lip-front.chain.value"}},{"id":"lip-front.world","op":"compose@1","args":["floor.world.value","lip-front.chain.value"],"outputs":{"pose":"lip-front.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"floor.dimension.height":10,"floor.dimension.depth":300,"lip-back.dimension.height":60,"lip-back.dimension.depth":10,"lip-front.dimension.height":60,"lip-front.dimension.depth":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"floor","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-back","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-front","material":{"token":"palette.tpl-9aa3ab"}}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_CABLE_TRAY","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":"floor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"floor.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.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":"floor.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"lip-back.k.centre","unit":"ratio","value":-0.5},{"id":"lip-front.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.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":"floor.shape","op":"extrude@1","args":["floor.start.value","floor.dimension.height","floor.dimension.x.value","floor.dimension.depth"],"outputs":{"shape":"floor.shapeValue"},"params":{"frame":"floor.local","axis":"y","section":"rectangle"}},{"id":"floor.pose","op":"rigid@1","args":["d.mm.0","floor.on.host.pose.y.t0.value","floor.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.poseValue"},"params":{"from":"floor.local","to":"floor.seat"}},{"id":"floor","op":"place@1","args":["floor.shapeValue","floor.world.value"],"outputs":{"placed":"floor.placed"}},{"id":"floor.start","op":"mul@1","args":["floor.dimension.height","floor.k.centre"],"outputs":{"value":"floor.start.value"}},{"id":"floor.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"floor.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"lip-back.shape","op":"extrude@1","args":["lip-back.start.value","lip-back.dimension.height","lip-back.dimension.x.value","lip-back.dimension.depth"],"outputs":{"shape":"lip-back.shapeValue"},"params":{"frame":"lip-back.local","axis":"y","section":"rectangle"}},{"id":"lip-back.pose","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.pose.y.t0.value","lip-back.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.poseValue"},"params":{"from":"lip-back.local","to":"lip-back.seat"}},{"id":"lip-back","op":"place@1","args":["lip-back.shapeValue","lip-back.world.value"],"outputs":{"placed":"lip-back.placed"}},{"id":"lip-back.start","op":"mul@1","args":["lip-back.dimension.height","lip-back.k.centre"],"outputs":{"value":"lip-back.start.value"}},{"id":"lip-back.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-back.dimension.x.value"}},{"id":"lip-front.shape","op":"extrude@1","args":["lip-front.start.value","lip-front.dimension.height","lip-front.dimension.x.value","lip-front.dimension.depth"],"outputs":{"shape":"lip-front.shapeValue"},"params":{"frame":"lip-front.local","axis":"y","section":"rectangle"}},{"id":"lip-front.pose","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.pose.y.t0.value","lip-front.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.poseValue"},"params":{"from":"lip-front.local","to":"lip-front.seat"}},{"id":"lip-front","op":"place@1","args":["lip-front.shapeValue","lip-front.world.value"],"outputs":{"placed":"lip-front.placed"}},{"id":"lip-front.start","op":"mul@1","args":["lip-front.dimension.height","lip-front.k.centre"],"outputs":{"value":"lip-front.start.value"}},{"id":"lip-front.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-front.dimension.x.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":"floor.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"floor.on.host.seat.y.t0.value"}},{"id":"floor.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"floor.on.host.seat.z.t0.value"}},{"id":"floor.on.host.pose.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.y.t0.value"}},{"id":"floor.on.host.pose.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.z.t0.value"}},{"id":"floor.seat.rigid","op":"rigid@1","args":["d.mm.0","floor.on.host.seat.y.t0.value","floor.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.seat.value"},"params":{"from":"floor.seat","to":"host.local"}},{"id":"floor.chain","op":"compose@1","args":["floor.seat.value","floor.poseValue"],"outputs":{"pose":"floor.chain.value"}},{"id":"floor.world","op":"compose@1","args":["host.chain.value","floor.chain.value"],"outputs":{"pose":"floor.world.value"}},{"id":"lip-back.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.seat.y.t0.value"}},{"id":"lip-back.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","host.k.centre"],"outputs":{"value":"lip-back.on.floor.seat.z.t0.value"}},{"id":"lip-back.on.floor.pose.y.t0","op":"mul@1","args":["lip-back.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.y.t0.value"}},{"id":"lip-back.on.floor.pose.z.t0","op":"mul@1","args":["lip-back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.z.t0.value"}},{"id":"lip-back.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.seat.y.t0.value","lip-back.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.seat.value"},"params":{"from":"lip-back.seat","to":"floor.local"}},{"id":"lip-back.chain","op":"compose@1","args":["lip-back.seat.value","lip-back.poseValue"],"outputs":{"pose":"lip-back.chain.value"}},{"id":"lip-back.world","op":"compose@1","args":["floor.world.value","lip-back.chain.value"],"outputs":{"pose":"lip-back.world.value"}},{"id":"lip-front.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.y.t0.value"}},{"id":"lip-front.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.z.t0.value"}},{"id":"lip-front.on.floor.pose.y.t0","op":"mul@1","args":["lip-front.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.pose.y.t0.value"}},{"id":"lip-front.on.floor.pose.z.t0","op":"mul@1","args":["lip-front.dimension.depth","host.k.centre"],"outputs":{"value":"lip-front.on.floor.pose.z.t0.value"}},{"id":"lip-front.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.seat.y.t0.value","lip-front.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.seat.value"},"params":{"from":"lip-front.seat","to":"floor.local"}},{"id":"lip-front.chain","op":"compose@1","args":["lip-front.seat.value","lip-front.poseValue"],"outputs":{"pose":"lip-front.chain.value"}},{"id":"lip-front.world","op":"compose@1","args":["floor.world.value","lip-front.chain.value"],"outputs":{"pose":"lip-front.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"floor.dimension.height":10,"floor.dimension.depth":300,"lip-back.dimension.height":60,"lip-back.dimension.depth":10,"lip-front.dimension.height":60,"lip-front.dimension.depth":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"floor","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-back","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-front","material":{"token":"palette.tpl-9aa3ab"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"floor","body0":{"part":"host","face":"top"},"body1":{"part":"floor"},"origin":{"align":{"z":"min"}}},{"id":"lip-back","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-back"},"origin":{"align":{"z":"min"}}},{"id":"lip-front","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-front"},"origin":{"align":{"z":"max"}}}]}
|
|
@@ -105,7 +105,6 @@
|
|
|
105
105
|
"kind": "set-joint",
|
|
106
106
|
"joint": {
|
|
107
107
|
"id": "{id}-floor",
|
|
108
|
-
"type": "fixed",
|
|
109
108
|
"body0": {
|
|
110
109
|
"part": "{target}",
|
|
111
110
|
"face": "top"
|
|
@@ -124,7 +123,6 @@
|
|
|
124
123
|
"kind": "set-joint",
|
|
125
124
|
"joint": {
|
|
126
125
|
"id": "{id}-lip-back",
|
|
127
|
-
"type": "fixed",
|
|
128
126
|
"body0": {
|
|
129
127
|
"part": "{id}-floor",
|
|
130
128
|
"face": "top"
|
|
@@ -143,7 +141,6 @@
|
|
|
143
141
|
"kind": "set-joint",
|
|
144
142
|
"joint": {
|
|
145
143
|
"id": "{id}-lip-front",
|
|
146
|
-
"type": "fixed",
|
|
147
144
|
"body0": {
|
|
148
145
|
"part": "{id}-floor",
|
|
149
146
|
"face": "top"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-asset-1","name":"TPL_CAMERA_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":"camera.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"pan","unit":"deg","min":-90,"max":90,"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":"post.k.centre","unit":"ratio","value":-0.5},{"id":"camera.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":"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":["post.on.host.pose.x.t0.value","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":"camera.shape","op":"extrude@1","args":["camera.start.value","camera.dimension.height","camera.dimension.width","camera.dimension.depth"],"outputs":{"shape":"camera.shapeValue"},"params":{"frame":"camera.local","axis":"y","section":"rectangle"}},{"id":"camera.pose","op":"rigid@1","args":["d.mm.0","camera.on.post.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.poseValue"},"params":{"from":"camera.local","to":"camera.seat"}},{"id":"camera","op":"place@1","args":["camera.shapeValue","camera.world.value"],"outputs":{"placed":"camera.placed"}},{"id":"camera.start","op":"mul@1","args":["camera.dimension.height","camera.k.centre"],"outputs":{"value":"camera.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.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"post.on.host.seat.x.t0.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","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.x.t0","op":"mul@1","args":["post.dimension.width","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.x.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","host.k.centre"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.on.host.seat.x.t0.value","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":"camera.on.post.seat.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.seat.y.t0.value"}},{"id":"camera.on.post.pose.y.t0","op":"mul@1","args":["camera.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.pose.y.t0.value"}},{"id":"camera.seat.rigid","op":"rigid@1","args":["d.mm.0","camera.on.post.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.seat.value"},"params":{"from":"camera.joint","to":"post.local"}},{"id":"camera.chain","op":"compose@1","args":["camera.seat.value","camera.turned.value"],"outputs":{"pose":"camera.chain.value"}},{"id":"camera.world","op":"compose@1","args":["post.world.value","camera.chain.value"],"outputs":{"pose":"camera.world.value"}},{"id":"camera.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","pan"],"outputs":{"pose":"camera.motion.value"},"params":{"from":"camera.seat","to":"camera.joint"}},{"id":"camera.turned","op":"compose@1","args":["camera.motion.value","camera.poseValue"],"outputs":{"pose":"camera.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"post.dimension.width":40,"post.dimension.height":400,"post.dimension.depth":40,"camera.dimension.width":180,"camera.dimension.height":90,"camera.dimension.depth":90},"stateDefaults":{"pan":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-ffffff":"#ffffff"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"camera","material":{"token":"palette.tpl-ffffff"}}],"joints":[{"id":"host","
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_CAMERA_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":"camera.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"pan","unit":"deg","min":-90,"max":90,"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":"post.k.centre","unit":"ratio","value":-0.5},{"id":"camera.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":"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":["post.on.host.pose.x.t0.value","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":"camera.shape","op":"extrude@1","args":["camera.start.value","camera.dimension.height","camera.dimension.width","camera.dimension.depth"],"outputs":{"shape":"camera.shapeValue"},"params":{"frame":"camera.local","axis":"y","section":"rectangle"}},{"id":"camera.pose","op":"rigid@1","args":["d.mm.0","camera.on.post.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.poseValue"},"params":{"from":"camera.local","to":"camera.seat"}},{"id":"camera","op":"place@1","args":["camera.shapeValue","camera.world.value"],"outputs":{"placed":"camera.placed"}},{"id":"camera.start","op":"mul@1","args":["camera.dimension.height","camera.k.centre"],"outputs":{"value":"camera.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.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"post.on.host.seat.x.t0.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","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.x.t0","op":"mul@1","args":["post.dimension.width","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.x.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","host.k.centre"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.on.host.seat.x.t0.value","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":"camera.on.post.seat.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.seat.y.t0.value"}},{"id":"camera.on.post.pose.y.t0","op":"mul@1","args":["camera.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.pose.y.t0.value"}},{"id":"camera.seat.rigid","op":"rigid@1","args":["d.mm.0","camera.on.post.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.seat.value"},"params":{"from":"camera.joint","to":"post.local"}},{"id":"camera.chain","op":"compose@1","args":["camera.seat.value","camera.turned.value"],"outputs":{"pose":"camera.chain.value"}},{"id":"camera.world","op":"compose@1","args":["post.world.value","camera.chain.value"],"outputs":{"pose":"camera.world.value"}},{"id":"camera.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","pan"],"outputs":{"pose":"camera.motion.value"},"params":{"from":"camera.seat","to":"camera.joint"}},{"id":"camera.turned","op":"compose@1","args":["camera.motion.value","camera.poseValue"],"outputs":{"pose":"camera.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"post.dimension.width":40,"post.dimension.height":400,"post.dimension.depth":40,"camera.dimension.width":180,"camera.dimension.height":90,"camera.dimension.depth":90},"stateDefaults":{"pan":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-ffffff":"#ffffff"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"camera","material":{"token":"palette.tpl-ffffff"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"post","body0":{"part":"host","face":"top"},"body1":{"part":"post"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"camera","body0":{"part":"post","face":"top"},"body1":{"part":"camera"},"origin":{},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-90,"upperLimit":90,"state":{"id":"pan"}}]}]}
|