@things-factory/figure-service 10.1.75 → 10.1.79
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/README.md +1 -1
- package/dist-server/service/figure/figure-format.d.ts +6 -6
- package/dist-server/service/figure/figure-format.js +32 -32
- package/dist-server/service/figure/figure-format.js.map +1 -1
- package/dist-server/service/figure/figure-history.js +1 -1
- package/dist-server/service/figure/figure-history.js.map +1 -1
- package/dist-server/service/figure/figure-mutation.d.ts +1 -1
- package/dist-server/service/figure/figure-mutation.js +12 -12
- package/dist-server/service/figure/figure-mutation.js.map +1 -1
- package/dist-server/service/figure/{figure-propose-v3.d.ts → figure-propose-steps.d.ts} +16 -16
- package/dist-server/service/figure/{figure-propose-v3.js → figure-propose-steps.js} +27 -27
- package/dist-server/service/figure/figure-propose-steps.js.map +1 -0
- package/dist-server/service/figure/figure-propose-type.js +3 -3
- package/dist-server/service/figure/figure-propose-type.js.map +1 -1
- package/dist-server/service/figure/figure-query.d.ts +2 -2
- package/dist-server/service/figure/figure-query.js +5 -5
- package/dist-server/service/figure/figure-query.js.map +1 -1
- package/dist-server/service/figure/figure-tools.js +14 -14
- package/dist-server/service/figure/figure-tools.js.map +1 -1
- package/dist-server/service/figure/figure-type.js +2 -2
- package/dist-server/service/figure/figure-type.js.map +1 -1
- package/dist-server/service/figure/{figure-v3-write.d.ts → figure-write.d.ts} +3 -3
- package/dist-server/service/figure/{figure-v3-write.js → figure-write.js} +10 -10
- package/dist-server/service/figure/figure-write.js.map +1 -0
- package/dist-server/service/figure/figure.d.ts +2 -2
- package/dist-server/service/figure/figure.js +2 -2
- package/dist-server/service/figure/figure.js.map +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-templates.d.ts +2 -2
- package/dist-server/service/figure-recipe/figure-recipe-templates.js +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-templates.js.map +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-type.js +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-type.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/recipes/_lib/model.mts +19 -19
- package/recipes/air-cylinder/models/default.json +1 -1
- package/recipes/air-shower/models/default.json +1 -1
- package/recipes/barrier-gate/models/default.json +1 -1
- package/recipes/base-frame/models/default.json +1 -1
- package/recipes/belt-surface/models/default.json +1 -1
- package/recipes/bin-row/models/default.json +1 -1
- package/recipes/bollard-row/models/default.json +1 -1
- package/recipes/buzzer/models/default.json +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/cable-tray/models/default.json +1 -1
- package/recipes/camera-mount/models/default.json +1 -1
- package/recipes/canopy/models/default.json +1 -1
- package/recipes/cart/models/default.json +1 -1
- package/recipes/cart-handle/models/default.json +1 -1
- package/recipes/casters-four/models/default.json +1 -1
- package/recipes/ceiling-rail-carriage/models/default.json +1 -1
- package/recipes/chain-rails/models/default.json +1 -1
- package/recipes/charging-station/models/default.json +1 -1
- package/recipes/column-row/models/default.json +1 -1
- package/recipes/control-cabinet/models/default.json +1 -1
- package/recipes/conveyor-skirts/models/default.json +1 -1
- package/recipes/counter-display/models/default.json +1 -1
- package/recipes/dock-bumpers/models/default.json +1 -1
- package/recipes/dock-leveler/models/default.json +1 -1
- package/recipes/double-hinged-door/models/default.json +1 -1
- package/recipes/drawer-stack/models/default.json +1 -1
- package/recipes/drawer-stack/models/drawers=2.json +1 -1
- package/recipes/drawer-stack/models/drawers=3.json +1 -1
- package/recipes/drawer-stack/models/drawers=4.json +1 -1
- package/recipes/drip-tray/models/default.json +1 -1
- package/recipes/duct-fan/models/default.json +1 -1
- package/recipes/emergency-stop/models/default.json +1 -1
- package/recipes/end-covers/models/default.json +1 -1
- package/recipes/ffu-row/models/default.json +1 -1
- package/recipes/fire-extinguisher/models/default.json +1 -1
- package/recipes/first-aid-box/models/default.json +1 -1
- package/recipes/floor-zone/models/default.json +1 -1
- package/recipes/folding-door/models/default.json +1 -1
- package/recipes/fork/models/default.json +1 -1
- package/recipes/gantry-frame/models/default.json +1 -1
- package/recipes/gripper-2f/models/default.json +1 -1
- package/recipes/guard-cover/models/default.json +1 -1
- package/recipes/handrail/models/default.json +1 -1
- package/recipes/hatch/models/default.json +1 -1
- 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/hmi-monitor/models/default.json +1 -1
- package/recipes/hopper/models/default.json +1 -1
- package/recipes/interlock-switch/models/default.json +1 -1
- package/recipes/junction-box/models/default.json +1 -1
- package/recipes/ladder/models/default.json +1 -1
- package/recipes/legs-four/models/default.json +1 -1
- package/recipes/leveling-feet/models/default.json +1 -1
- package/recipes/lift-updown/models/default.json +1 -1
- package/recipes/light-curtain/models/default.json +1 -1
- package/recipes/limit-switch/models/default.json +1 -1
- package/recipes/linear-guide/models/default.json +1 -1
- package/recipes/locker-row/models/default.json +1 -1
- package/recipes/motor-box/models/default.json +1 -1
- package/recipes/observation-window/models/default.json +1 -1
- 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/pallet/models/default.json +1 -1
- package/recipes/partition-wall/models/default.json +1 -1
- package/recipes/pass-box/models/default.json +1 -1
- package/recipes/peg-board/models/default.json +1 -1
- package/recipes/photo-sensor-pair/models/default.json +1 -1
- package/recipes/pipe-run/models/default.json +1 -1
- package/recipes/platform/models/default.json +1 -1
- package/recipes/power-box/models/default.json +1 -1
- package/recipes/pressure-gauge/models/default.json +1 -1
- package/recipes/pull-cord/models/default.json +1 -1
- package/recipes/pump/models/default.json +1 -1
- package/recipes/pusher/models/default.json +1 -1
- package/recipes/robot-plinth/models/default.json +1 -1
- package/recipes/roll-up-shutter/models/default.json +1 -1
- package/recipes/roller-row/models/default.json +1 -1
- package/recipes/room-shell/models/default.json +1 -1
- package/recipes/rotating-beacon/models/default.json +1 -1
- package/recipes/safety-fence/models/default.json +1 -1
- package/recipes/safety-mat/models/default.json +1 -1
- package/recipes/safety-sign-stand/models/default.json +1 -1
- package/recipes/scanner-mount/models/default.json +1 -1
- package/recipes/selector-switch/models/default.json +1 -1
- package/recipes/shelf-tiers/models/default.json +1 -1
- package/recipes/shelf-tiers/models/tiers=2.json +1 -1
- package/recipes/shelf-tiers/models/tiers=3.json +1 -1
- package/recipes/shelf-tiers/models/tiers=4.json +1 -1
- package/recipes/shelf-tiers/models/tiers=5.json +1 -1
- package/recipes/side-guides/models/default.json +1 -1
- package/recipes/sign-board/models/default.json +1 -1
- package/recipes/signal-tower-3/models/default.json +1 -1
- 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/stairs/models/default.json +1 -1
- package/recipes/status-lamp/models/default.json +1 -1
- package/recipes/stopper/models/default.json +1 -1
- package/recipes/suction-pads/models/default.json +1 -1
- package/recipes/tank/models/default.json +1 -1
- package/recipes/telescopic-arm/models/default.json +1 -1
- package/recipes/toe-board/models/default.json +1 -1
- package/recipes/tote/models/default.json +1 -1
- package/recipes/traffic-cones/models/default.json +1 -1
- package/recipes/transfer-belts/models/default.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/trough/models/default.json +1 -1
- package/recipes/turntable/models/default.json +1 -1
- package/recipes/valve-handle/models/default.json +1 -1
- package/recipes/waste-bin/models/default.json +1 -1
- package/recipes/work-light/models/default.json +1 -1
- package/recipes/workbench-top/models/default.json +1 -1
- package/scripts/build-templates.mts +7 -7
- package/scripts/templates.test.mts +16 -16
- package/server/service/figure/figure-blueprint-query.test.ts +3 -3
- package/server/service/figure/figure-format.test.ts +57 -57
- package/server/service/figure/figure-format.ts +39 -39
- package/server/service/figure/figure-history.ts +1 -1
- package/server/service/figure/figure-inspect-db.test.ts +14 -14
- package/server/service/figure/figure-llm-smoke.test.ts +7 -7
- package/server/service/figure/figure-mutation.ts +12 -12
- package/server/service/figure/{figure-propose-v3.test.ts → figure-propose-steps.test.ts} +18 -18
- package/server/service/figure/{figure-propose-v3.ts → figure-propose-steps.ts} +33 -33
- package/server/service/figure/figure-propose-type.ts +3 -3
- package/server/service/figure/figure-query.ts +5 -5
- package/server/service/figure/figure-rename-db.test.ts +5 -5
- package/server/service/figure/figure-rename.test.ts +7 -7
- package/server/service/figure/figure-tools.test.ts +22 -22
- package/server/service/figure/figure-tools.ts +14 -14
- package/server/service/figure/figure-type.ts +2 -2
- package/server/service/figure/{figure-v3-write.ts → figure-write.ts} +10 -10
- package/server/service/figure/figure.ts +3 -3
- package/server/service/figure-recipe/figure-recipe-templates.test.ts +2 -2
- package/server/service/figure-recipe/figure-recipe-templates.ts +4 -4
- package/server/service/figure-recipe/figure-recipe-type.ts +1 -1
- package/translations/en.json +2 -3
- package/translations/ko.json +2 -3
- package/dist-server/service/figure/figure-propose-v3.js.map +0 -1
- package/dist-server/service/figure/figure-v3-write.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/figure-service",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.79",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"@things-factory:registry": "https://registry.npmjs.org"
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"test:templates": "node --test scripts/templates.test.mts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@hatiolab/figure-model": "^0.1.
|
|
28
|
+
"@hatiolab/figure-model": "^0.1.93",
|
|
29
29
|
"@operato/typeorm-history": "^10.0.0",
|
|
30
30
|
"@things-factory/ai-client-base": "^10.1.53",
|
|
31
|
-
"@things-factory/auth-base": "^10.1.
|
|
31
|
+
"@things-factory/auth-base": "^10.1.79",
|
|
32
32
|
"@things-factory/env": "^10.1.20",
|
|
33
|
-
"@things-factory/shell": "^10.1.
|
|
33
|
+
"@things-factory/shell": "^10.1.79",
|
|
34
34
|
"graphql-scalars": "^1.22.4",
|
|
35
35
|
"graphql-upload": "^15.0.2",
|
|
36
36
|
"koa-router": "^7.4.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "94cde9ba17dfdddb0a16139b71e5a7e370977e4a"
|
|
39
39
|
}
|
package/recipes/_lib/model.mts
CHANGED
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
* What a template's model is built with (ADR-0095 amended: model first). A model is a figure: a `host` box standing
|
|
3
3
|
* for the part the template is put onto, and the template's parts fastened to it, made with the modeller's own commands.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import type {
|
|
5
|
+
import { addFigureBox, addFigurePrimitive, applyFigureAuthoring, createFigureAsset, editFigurePart } from '@hatiolab/figure-model'
|
|
6
|
+
import type { FigureAsset, FigureAuthoringAction, FigurePartEdit, FigurePrimitiveCreation } from '@hatiolab/figure-model'
|
|
7
7
|
|
|
8
8
|
export type Values = Record<string, number | string | boolean>
|
|
9
9
|
|
|
10
10
|
/** A model's host: a box of this size on the floor. */
|
|
11
|
-
export function host(size: { x: number; y: number; z: number }, name = 'Template model', gap = 0):
|
|
12
|
-
const asset =
|
|
11
|
+
export function host(size: { x: number; y: number; z: number }, name = 'Template model', gap = 0): FigureAsset {
|
|
12
|
+
const asset = addFigureBox(createFigureAsset(name), { id: 'host', size, position: { x: 0, y: size.y / 2, z: 0 } })
|
|
13
13
|
/* The host is only where the template goes: drawn pale, so the template's own parts stand out in the model and its picture. */
|
|
14
|
-
const pale =
|
|
15
|
-
return
|
|
14
|
+
const pale = editFigurePart(asset, { kind: 'set-material', target: 'host', material: { token: 'palette.host' }, palette: { 'palette.host': '#d9dde2' } } as FigurePartEdit)
|
|
15
|
+
return applyFigureAuthoring(pale, { kind: 'attach', part: 'host', face: 'bottom', to: { plane: 'mounting-plane' }, ...(gap ? { gap } : {}) })
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/** A small builder over the modeller's commands: each call one command, as a person's step would be. */
|
|
19
19
|
export class Model {
|
|
20
|
-
asset:
|
|
21
|
-
constructor(asset:
|
|
20
|
+
asset: FigureAsset
|
|
21
|
+
constructor(asset: FigureAsset) {
|
|
22
22
|
this.asset = asset
|
|
23
23
|
}
|
|
24
|
-
add(part:
|
|
25
|
-
this.asset =
|
|
24
|
+
add(part: FigurePrimitiveCreation): this {
|
|
25
|
+
this.asset = addFigurePrimitive(this.asset, { position: { x: 0, y: 0, z: 0 }, ...part } as FigurePrimitiveCreation)
|
|
26
26
|
return this
|
|
27
27
|
}
|
|
28
28
|
box(id: string, width: number, height: number, depth: number): this {
|
|
29
|
-
return this.add({ id, kind: 'box', dimensions: { width, height, depth } } as
|
|
29
|
+
return this.add({ id, kind: 'box', dimensions: { width, height, depth } } as FigurePrimitiveCreation)
|
|
30
30
|
}
|
|
31
|
-
do(action:
|
|
32
|
-
this.asset =
|
|
31
|
+
do(action: FigureAuthoringAction): this {
|
|
32
|
+
this.asset = applyFigureAuthoring(this.asset, action)
|
|
33
33
|
return this
|
|
34
34
|
}
|
|
35
|
-
edit(edit:
|
|
36
|
-
this.asset =
|
|
35
|
+
edit(edit: FigurePartEdit): this {
|
|
36
|
+
this.asset = editFigurePart(this.asset, edit)
|
|
37
37
|
return this
|
|
38
38
|
}
|
|
39
39
|
/** Fasten a part's face to another's (or the host's) face; `align` places it across that face. */
|
|
40
40
|
on(part: string, face: string, to: string, toFace: string, align?: Record<string, unknown>, gap?: number): this {
|
|
41
|
-
return this.do({ kind: 'attach', part, face, to: { part: to, face: toFace }, ...(align ? { align } : {}), ...(gap ? { gap } : {}) } as
|
|
41
|
+
return this.do({ kind: 'attach', part, face, to: { part: to, face: toFace }, ...(align ? { align } : {}), ...(gap ? { gap } : {}) } as FigureAuthoringAction)
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* A part's colour. The palette is the figure's, shared by every template put into it: a token named for its value
|
|
@@ -46,7 +46,7 @@ export class Model {
|
|
|
46
46
|
*/
|
|
47
47
|
colour(part: string, _for: string, value: string, glow = false): this {
|
|
48
48
|
const token = `palette.tpl-${value.replace('#', '').toLowerCase()}`
|
|
49
|
-
return this.edit({ kind: 'set-material', target: part, material: { token, ...(glow ? { emissive: { on: true, token, intensity: 1 } } : {}) }, palette: { [token]: value } } as
|
|
49
|
+
return this.edit({ kind: 'set-material', target: part, material: { token, ...(glow ? { emissive: { on: true, token, intensity: 1 } } : {}) }, palette: { [token]: value } } as FigurePartEdit)
|
|
50
50
|
}
|
|
51
51
|
/** A moving joint on a part already fastened: its record as it is, made to slide or turn on a control. */
|
|
52
52
|
moves(part: string, motion: { type: 'prismatic' | 'revolute'; axis: 'X' | 'Y' | 'Z'; lower?: number; upper?: number; state?: string; mimic?: { joint: string; multiplier: number } }): this {
|
|
@@ -62,10 +62,10 @@ export class Model {
|
|
|
62
62
|
...(motion.state ? { state: { id: motion.state } } : {}),
|
|
63
63
|
...(motion.mimic ? { mimic: motion.mimic } : {})
|
|
64
64
|
}
|
|
65
|
-
} as
|
|
65
|
+
} as FigureAuthoringAction)
|
|
66
66
|
}
|
|
67
67
|
/** One measure following another part's, in a share (and a difference). */
|
|
68
68
|
follow(part: string, axis: 'x' | 'y' | 'z', of: string, ofAxis: 'x' | 'y' | 'z', times = 1, plus = 0): this {
|
|
69
|
-
return this.do({ kind: 'link-dimension', part, axis, source: { of: 'part', part: of, axis: ofAxis }, ...(times !== 1 ? { times } : {}), ...(plus ? { plus } : {}), narrowRange: true } as
|
|
69
|
+
return this.do({ kind: 'link-dimension', part, axis, source: { of: 'part', part: of, axis: ofAxis }, ...(times !== 1 ? { times } : {}), ...(plus ? { plus } : {}), narrowRange: true } as FigureAuthoringAction)
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_AIR_CYLINDER","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"body.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rod.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rod.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"extend","unit":"mm","min":0,"max":200,"role":"state"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"body.shape","op":"cylinder-shape@1","args":["body.dimension.radius","body.dimension.length"],"outputs":{"shape":"body.shapeValue"},"params":{"frame":"body.local"}},{"id":"body.pose","op":"rigid@1","args":["d.mm.0","body.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"body.poseValue"},"params":{"from":"body.local","to":"body.seat"}},{"id":"body","op":"place@1","args":["body.shapeValue","body.world.value"],"outputs":{"placed":"body.placed"}},{"id":"rod.shape","op":"cylinder-shape@1","args":["rod.dimension.radius","rod.dimension.length"],"outputs":{"shape":"rod.shapeValue"},"params":{"frame":"rod.local"}},{"id":"rod.pose","op":"rigid@1","args":["d.mm.0","rod.on.body.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rod.poseValue"},"params":{"from":"rod.local","to":"rod.seat"}},{"id":"rod","op":"place@1","args":["rod.shapeValue","rod.world.value"],"outputs":{"placed":"rod.placed"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"body.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"body.on.host.seat.y.0.times.value"}},{"id":"body.on.host.along.y.0.times","op":"mul@1","args":["body.dimension.length","k.ratio.0_5"],"outputs":{"value":"body.on.host.along.y.0.times.value"}},{"id":"body.on.host.along.y.1.sum","op":"add@1","args":["body.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"body.on.host.along.y.1.sum.value"}},{"id":"body.seat.rigid","op":"rigid@1","args":["d.mm.0","body.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"body.seat.value"},"params":{"from":"body.seat","to":"host.local"}},{"id":"body.chain","op":"compose@1","args":["body.seat.value","body.poseValue"],"outputs":{"pose":"body.chain.value"}},{"id":"body.world","op":"compose@1","args":["host.chain.value","body.chain.value"],"outputs":{"pose":"body.world.value"}},{"id":"rod.on.body.seat.y.0.times","op":"mul@1","args":["body.dimension.length","k.ratio.0_5"],"outputs":{"value":"rod.on.body.seat.y.0.times.value"}},{"id":"rod.on.body.along.y.0.times","op":"mul@1","args":["rod.dimension.length","k.ratio.0_5"],"outputs":{"value":"rod.on.body.along.y.0.times.value"}},{"id":"rod.on.body.along.y.1.sum","op":"add@1","args":["rod.on.body.along.y.0.times.value","d.mm.0"],"outputs":{"value":"rod.on.body.along.y.1.sum.value"}},{"id":"rod.seat.rigid","op":"rigid@1","args":["d.mm.0","rod.on.body.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rod.seat.value"},"params":{"from":"rod.joint","to":"body.local"}},{"id":"rod.chain","op":"compose@1","args":["rod.seat.value","rod.turned.value"],"outputs":{"pose":"rod.chain.value"}},{"id":"rod.world","op":"compose@1","args":["body.world.value","rod.chain.value"],"outputs":{"pose":"rod.world.value"}},{"id":"rod.motion","op":"axis-slide@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","extend"],"outputs":{"pose":"rod.motion.value"},"params":{"from":"rod.seat","to":"rod.joint"}},{"id":"rod.turned","op":"compose@1","args":["rod.motion.value","rod.poseValue"],"outputs":{"pose":"rod.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"body.dimension.radius":40,"body.dimension.length":300,"rod.dimension.radius":12,"rod.dimension.length":250},"stateDefaults":{"extend":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab","palette.tpl-d0d4d8":"#d0d4d8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"body","material":{"token":"palette.tpl-9aa3ab"},"segments":12},{"target":"rod","material":{"token":"palette.tpl-d0d4d8"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"body","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"body","face":"bottom"},"origin":{}},{"id":"rod","type":"prismatic","body0":{"part":"body","face":"top"},"body1":{"part":"rod","face":"bottom"},"origin":{},"axis":"Y","lowerLimit":0,"upperLimit":200,"state":{"id":"extend"}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_AIR_SHOWER","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":"booth.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"booth.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"booth.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"door.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"booth.shape","op":"box-shape@1","args":["booth.dimension.width","booth.dimension.height","booth.dimension.depth"],"outputs":{"shape":"booth.shapeValue"},"params":{"frame":"booth.local"}},{"id":"booth.pose","op":"rigid@1","args":["d.mm.0","booth.on.host.own-edge.y.0.times.value","booth.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"booth.poseValue"},"params":{"from":"booth.local","to":"booth.seat"}},{"id":"booth","op":"place@1","args":["booth.shapeValue","booth.world.value"],"outputs":{"placed":"booth.placed"}},{"id":"door.shape","op":"box-shape@1","args":["door.dimension.width","door.dimension.height","door.dimension.depth"],"outputs":{"shape":"door.shapeValue"},"params":{"frame":"door.local"}},{"id":"door.pose","op":"rigid@1","args":["d.mm.0","door.on.booth.own-edge.y.0.times.value","door.on.booth.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"door.poseValue"},"params":{"from":"door.local","to":"door.seat"}},{"id":"door","op":"place@1","args":["door.shapeValue","door.world.value"],"outputs":{"placed":"door.placed"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"booth.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"booth.on.host.seat.z.0.times.value"}},{"id":"booth.on.host.along.z.0.times","op":"mul@1","args":["booth.dimension.depth","k.ratio.0_5"],"outputs":{"value":"booth.on.host.along.z.0.times.value"}},{"id":"booth.on.host.along.z.1.sum","op":"add@1","args":["booth.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"booth.on.host.along.z.1.sum.value"}},{"id":"booth.on.host.edge.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"booth.on.host.edge.y.0.times.value"}},{"id":"booth.on.host.own-edge.y.0.times","op":"mul@1","args":["booth.dimension.height","k.ratio.0_5"],"outputs":{"value":"booth.on.host.own-edge.y.0.times.value"}},{"id":"booth.seat.rigid","op":"rigid@1","args":["d.mm.0","booth.on.host.edge.y.0.times.value","booth.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"booth.seat.value"},"params":{"from":"booth.seat","to":"host.local"}},{"id":"booth.chain","op":"compose@1","args":["booth.seat.value","booth.poseValue"],"outputs":{"pose":"booth.chain.value"}},{"id":"booth.world","op":"compose@1","args":["host.chain.value","booth.chain.value"],"outputs":{"pose":"booth.world.value"}},{"id":"door.on.booth.seat.z.0.times","op":"mul@1","args":["booth.dimension.depth","k.ratio.0_5"],"outputs":{"value":"door.on.booth.seat.z.0.times.value"}},{"id":"door.on.booth.along.z.0.times","op":"mul@1","args":["door.dimension.depth","k.ratio.0_5"],"outputs":{"value":"door.on.booth.along.z.0.times.value"}},{"id":"door.on.booth.along.z.1.sum","op":"add@1","args":["door.on.booth.along.z.0.times.value","d.mm.0"],"outputs":{"value":"door.on.booth.along.z.1.sum.value"}},{"id":"door.on.booth.edge.y.0.times","op":"mul@1","args":["booth.dimension.height","k.ratio._0_5"],"outputs":{"value":"door.on.booth.edge.y.0.times.value"}},{"id":"door.on.booth.own-edge.y.0.times","op":"mul@1","args":["door.dimension.height","k.ratio.0_5"],"outputs":{"value":"door.on.booth.own-edge.y.0.times.value"}},{"id":"door.seat.rigid","op":"rigid@1","args":["d.mm.0","door.on.booth.edge.y.0.times.value","door.on.booth.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"door.seat.value"},"params":{"from":"door.joint","to":"booth.local"}},{"id":"door.chain","op":"compose@1","args":["door.seat.value","door.turned.value"],"outputs":{"pose":"door.chain.value"}},{"id":"door.world","op":"compose@1","args":["booth.world.value","door.chain.value"],"outputs":{"pose":"door.world.value"}},{"id":"door.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"door.motion.value"},"params":{"from":"door.seat","to":"door.joint"}},{"id":"door.turned","op":"compose@1","args":["door.motion.value","door.poseValue"],"outputs":{"pose":"door.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"booth.dimension.width":1200,"booth.dimension.height":2300,"booth.dimension.depth":1000,"door.dimension.width":800,"door.dimension.height":2000,"door.dimension.depth":30},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7f93a6":"#7f93a6","palette.tpl-7fb8d6":"#7fb8d6"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"booth","material":{"token":"palette.tpl-7f93a6"}},{"target":"door","material":{"token":"palette.tpl-7fb8d6"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"booth","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"booth","face":"back"},"origin":{"align":{"y":"min"}}},{"id":"door","type":"revolute","body0":{"part":"booth","face":"front"},"body1":{"part":"door","face":"back"},"origin":{"align":{"y":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BARRIER_GATE","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":"arm.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"raise","unit":"deg","min":0,"max":90,"role":"state"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"arm.shape","op":"box-shape@1","args":["arm.dimension.width","arm.dimension.height","arm.dimension.depth"],"outputs":{"shape":"arm.shapeValue"},"params":{"frame":"arm.local"}},{"id":"arm.pose","op":"rigid@1","args":["arm.on.host.own-edge.x.0.times.value","arm.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.poseValue"},"params":{"from":"arm.local","to":"arm.seat"}},{"id":"arm","op":"place@1","args":["arm.shapeValue","arm.world.value"],"outputs":{"placed":"arm.placed"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"arm.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"arm.on.host.seat.y.0.times.value"}},{"id":"arm.on.host.along.y.0.times","op":"mul@1","args":["arm.dimension.height","k.ratio.0_5"],"outputs":{"value":"arm.on.host.along.y.0.times.value"}},{"id":"arm.on.host.along.y.1.sum","op":"add@1","args":["arm.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"arm.on.host.along.y.1.sum.value"}},{"id":"arm.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio._0_5"],"outputs":{"value":"arm.on.host.edge.x.0.times.value"}},{"id":"arm.on.host.own-edge.x.0.times","op":"mul@1","args":["arm.dimension.width","k.ratio.0_5"],"outputs":{"value":"arm.on.host.own-edge.x.0.times.value"}},{"id":"arm.seat.rigid","op":"rigid@1","args":["arm.on.host.edge.x.0.times.value","arm.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.seat.value"},"params":{"from":"arm.joint","to":"host.local"}},{"id":"arm.chain","op":"compose@1","args":["arm.seat.value","arm.turned.value"],"outputs":{"pose":"arm.chain.value"}},{"id":"arm.world","op":"compose@1","args":["host.chain.value","arm.chain.value"],"outputs":{"pose":"arm.world.value"}},{"id":"arm.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.0","axis.ratio.1","raise"],"outputs":{"pose":"arm.motion.value"},"params":{"from":"arm.seat","to":"arm.joint"}},{"id":"arm.turned","op":"compose@1","args":["arm.motion.value","arm.poseValue"],"outputs":{"pose":"arm.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":300,"host.size.y":1000,"host.size.z":300,"arm.dimension.width":3000,"arm.dimension.height":80,"arm.dimension.depth":60},"stateDefaults":{"raise":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-d9534f":"#d9534f"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"arm","material":{"token":"palette.tpl-d9534f"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"arm","type":"revolute","body0":{"part":"host","face":"top"},"body1":{"part":"arm","face":"bottom"},"origin":{"align":{"x":"min"}},"axis":"Z","lowerLimit":0,"upperLimit":90,"state":{"id":"raise"}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-v3-asset-1","name":"TPL_BASE_FRAME","document":{"version":"figure-v3-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":"front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"front.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"left.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"left.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"d.mm.100","unit":"mm","value":100},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"d.mm._160","unit":"mm","value":-160}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.dimension.x.value","host.size.y","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"front.shape","op":"box-shape@1","args":["front.dimension.x.value","front.dimension.height","front.dimension.depth"],"outputs":{"shape":"front.shapeValue"},"params":{"frame":"front.local"}},{"id":"front.pose","op":"rigid@1","args":["d.mm.0","front.on.host.along.y.1.sum.value","front.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"front.poseValue"},"params":{"from":"front.local","to":"front.seat"}},{"id":"front","op":"place@1","args":["front.shapeValue","front.world.value"],"outputs":{"placed":"front.placed"}},{"id":"front.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"front.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"back.shape","op":"box-shape@1","args":["back.dimension.x.value","back.dimension.height","back.dimension.depth"],"outputs":{"shape":"back.shapeValue"},"params":{"frame":"back.local"}},{"id":"back.pose","op":"rigid@1","args":["d.mm.0","back.on.host.along.y.1.sum.value","back.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"back.poseValue"},"params":{"from":"back.local","to":"back.seat"}},{"id":"back","op":"place@1","args":["back.shapeValue","back.world.value"],"outputs":{"placed":"back.placed"}},{"id":"back.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"back.dimension.x.value"}},{"id":"left.shape","op":"box-shape@1","args":["left.dimension.width","left.dimension.height","left.dimension.z.value"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.own-edge.x.0.times.value","left.on.host.along.y.1.sum.value","d.mm.0","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.dimension.z","op":"mul@1","args":["left.z.follows.plus.value","k.ratio.1"],"outputs":{"value":"left.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"left.z.follows.plus","op":"add@1","args":["host.dimension.z.value","d.mm._160"],"outputs":{"value":"left.z.follows.plus.value"}},{"id":"right.shape","op":"box-shape@1","args":["right.dimension.width","right.dimension.height","right.dimension.z.value"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.own-edge.x.0.times.value","right.on.host.along.y.1.sum.value","d.mm.0","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.dimension.z","op":"mul@1","args":["right.z.follows.plus.value","k.ratio.1"],"outputs":{"value":"right.dimension.z.value"}},{"id":"right.z.follows.plus","op":"add@1","args":["host.dimension.z.value","d.mm._160"],"outputs":{"value":"right.z.follows.plus.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.100"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"front.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"front.on.host.seat.y.0.times.value"}},{"id":"front.on.host.along.y.0.times","op":"mul@1","args":["front.dimension.height","k.ratio._0_5"],"outputs":{"value":"front.on.host.along.y.0.times.value"}},{"id":"front.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"front.on.host.along.y.1.times.value"}},{"id":"front.on.host.along.y.1.sum","op":"add@1","args":["front.on.host.along.y.0.times.value","front.on.host.along.y.1.times.value"],"outputs":{"value":"front.on.host.along.y.1.sum.value"}},{"id":"front.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"front.on.host.edge.z.0.times.value"}},{"id":"front.on.host.own-edge.z.0.times","op":"mul@1","args":["front.dimension.depth","k.ratio._0_5"],"outputs":{"value":"front.on.host.own-edge.z.0.times.value"}},{"id":"front.seat.rigid","op":"rigid@1","args":["d.mm.0","front.on.host.seat.y.0.times.value","front.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"front.seat.value"},"params":{"from":"front.seat","to":"host.local"}},{"id":"front.chain","op":"compose@1","args":["front.seat.value","front.poseValue"],"outputs":{"pose":"front.chain.value"}},{"id":"front.world","op":"compose@1","args":["host.chain.value","front.chain.value"],"outputs":{"pose":"front.world.value"}},{"id":"back.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"back.on.host.seat.y.0.times.value"}},{"id":"back.on.host.along.y.0.times","op":"mul@1","args":["back.dimension.height","k.ratio._0_5"],"outputs":{"value":"back.on.host.along.y.0.times.value"}},{"id":"back.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"back.on.host.along.y.1.times.value"}},{"id":"back.on.host.along.y.1.sum","op":"add@1","args":["back.on.host.along.y.0.times.value","back.on.host.along.y.1.times.value"],"outputs":{"value":"back.on.host.along.y.1.sum.value"}},{"id":"back.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio._0_5"],"outputs":{"value":"back.on.host.edge.z.0.times.value"}},{"id":"back.on.host.own-edge.z.0.times","op":"mul@1","args":["back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"back.on.host.own-edge.z.0.times.value"}},{"id":"back.seat.rigid","op":"rigid@1","args":["d.mm.0","back.on.host.seat.y.0.times.value","back.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"back.seat.value"},"params":{"from":"back.seat","to":"host.local"}},{"id":"back.chain","op":"compose@1","args":["back.seat.value","back.poseValue"],"outputs":{"pose":"back.chain.value"}},{"id":"back.world","op":"compose@1","args":["host.chain.value","back.chain.value"],"outputs":{"pose":"back.world.value"}},{"id":"left.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"left.on.host.seat.y.0.times.value"}},{"id":"left.on.host.along.y.0.times","op":"mul@1","args":["left.dimension.height","k.ratio._0_5"],"outputs":{"value":"left.on.host.along.y.0.times.value"}},{"id":"left.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"left.on.host.along.y.1.times.value"}},{"id":"left.on.host.along.y.1.sum","op":"add@1","args":["left.on.host.along.y.0.times.value","left.on.host.along.y.1.times.value"],"outputs":{"value":"left.on.host.along.y.1.sum.value"}},{"id":"left.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio._0_5"],"outputs":{"value":"left.on.host.edge.x.0.times.value"}},{"id":"left.on.host.own-edge.x.0.times","op":"mul@1","args":["left.dimension.width","k.ratio.0_5"],"outputs":{"value":"left.on.host.own-edge.x.0.times.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.edge.x.0.times.value","left.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.seat","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.poseValue"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"right.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"right.on.host.seat.y.0.times.value"}},{"id":"right.on.host.along.y.0.times","op":"mul@1","args":["right.dimension.height","k.ratio._0_5"],"outputs":{"value":"right.on.host.along.y.0.times.value"}},{"id":"right.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"right.on.host.along.y.1.times.value"}},{"id":"right.on.host.along.y.1.sum","op":"add@1","args":["right.on.host.along.y.0.times.value","right.on.host.along.y.1.times.value"],"outputs":{"value":"right.on.host.along.y.1.sum.value"}},{"id":"right.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.edge.x.0.times.value"}},{"id":"right.on.host.own-edge.x.0.times","op":"mul@1","args":["right.dimension.width","k.ratio._0_5"],"outputs":{"value":"right.on.host.own-edge.x.0.times.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.edge.x.0.times.value","right.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.seat","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.poseValue"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"front.dimension.height":100,"front.dimension.depth":80,"back.dimension.height":100,"back.dimension.depth":80,"left.dimension.width":80,"left.dimension.height":100,"right.dimension.width":80,"right.dimension.height":100},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"front","material":{"token":"palette.tpl-4f5d6b"}},{"target":"back","material":{"token":"palette.tpl-4f5d6b"}},{"target":"left","material":{"token":"palette.tpl-4f5d6b"}},{"target":"right","material":{"token":"palette.tpl-4f5d6b"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{"gap":100}},{"id":"front","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"front","face":"top"},"origin":{"align":{"z":"max"}}},{"id":"back","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"back","face":"top"},"origin":{"align":{"z":"min"}}},{"id":"left","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"left","face":"top"},"origin":{"align":{"x":"min"}}},{"id":"right","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"right","face":"top"},"origin":{"align":{"x":"max"}}}]}
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BASE_FRAME","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":"front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"front.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"left.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"left.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"d.mm.100","unit":"mm","value":100},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"d.mm._160","unit":"mm","value":-160}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.dimension.x.value","host.size.y","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"front.shape","op":"box-shape@1","args":["front.dimension.x.value","front.dimension.height","front.dimension.depth"],"outputs":{"shape":"front.shapeValue"},"params":{"frame":"front.local"}},{"id":"front.pose","op":"rigid@1","args":["d.mm.0","front.on.host.along.y.1.sum.value","front.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"front.poseValue"},"params":{"from":"front.local","to":"front.seat"}},{"id":"front","op":"place@1","args":["front.shapeValue","front.world.value"],"outputs":{"placed":"front.placed"}},{"id":"front.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"front.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"back.shape","op":"box-shape@1","args":["back.dimension.x.value","back.dimension.height","back.dimension.depth"],"outputs":{"shape":"back.shapeValue"},"params":{"frame":"back.local"}},{"id":"back.pose","op":"rigid@1","args":["d.mm.0","back.on.host.along.y.1.sum.value","back.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"back.poseValue"},"params":{"from":"back.local","to":"back.seat"}},{"id":"back","op":"place@1","args":["back.shapeValue","back.world.value"],"outputs":{"placed":"back.placed"}},{"id":"back.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"back.dimension.x.value"}},{"id":"left.shape","op":"box-shape@1","args":["left.dimension.width","left.dimension.height","left.dimension.z.value"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.own-edge.x.0.times.value","left.on.host.along.y.1.sum.value","d.mm.0","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.dimension.z","op":"mul@1","args":["left.z.follows.plus.value","k.ratio.1"],"outputs":{"value":"left.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"left.z.follows.plus","op":"add@1","args":["host.dimension.z.value","d.mm._160"],"outputs":{"value":"left.z.follows.plus.value"}},{"id":"right.shape","op":"box-shape@1","args":["right.dimension.width","right.dimension.height","right.dimension.z.value"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.own-edge.x.0.times.value","right.on.host.along.y.1.sum.value","d.mm.0","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.dimension.z","op":"mul@1","args":["right.z.follows.plus.value","k.ratio.1"],"outputs":{"value":"right.dimension.z.value"}},{"id":"right.z.follows.plus","op":"add@1","args":["host.dimension.z.value","d.mm._160"],"outputs":{"value":"right.z.follows.plus.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.100"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"front.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"front.on.host.seat.y.0.times.value"}},{"id":"front.on.host.along.y.0.times","op":"mul@1","args":["front.dimension.height","k.ratio._0_5"],"outputs":{"value":"front.on.host.along.y.0.times.value"}},{"id":"front.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"front.on.host.along.y.1.times.value"}},{"id":"front.on.host.along.y.1.sum","op":"add@1","args":["front.on.host.along.y.0.times.value","front.on.host.along.y.1.times.value"],"outputs":{"value":"front.on.host.along.y.1.sum.value"}},{"id":"front.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"front.on.host.edge.z.0.times.value"}},{"id":"front.on.host.own-edge.z.0.times","op":"mul@1","args":["front.dimension.depth","k.ratio._0_5"],"outputs":{"value":"front.on.host.own-edge.z.0.times.value"}},{"id":"front.seat.rigid","op":"rigid@1","args":["d.mm.0","front.on.host.seat.y.0.times.value","front.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"front.seat.value"},"params":{"from":"front.seat","to":"host.local"}},{"id":"front.chain","op":"compose@1","args":["front.seat.value","front.poseValue"],"outputs":{"pose":"front.chain.value"}},{"id":"front.world","op":"compose@1","args":["host.chain.value","front.chain.value"],"outputs":{"pose":"front.world.value"}},{"id":"back.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"back.on.host.seat.y.0.times.value"}},{"id":"back.on.host.along.y.0.times","op":"mul@1","args":["back.dimension.height","k.ratio._0_5"],"outputs":{"value":"back.on.host.along.y.0.times.value"}},{"id":"back.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"back.on.host.along.y.1.times.value"}},{"id":"back.on.host.along.y.1.sum","op":"add@1","args":["back.on.host.along.y.0.times.value","back.on.host.along.y.1.times.value"],"outputs":{"value":"back.on.host.along.y.1.sum.value"}},{"id":"back.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio._0_5"],"outputs":{"value":"back.on.host.edge.z.0.times.value"}},{"id":"back.on.host.own-edge.z.0.times","op":"mul@1","args":["back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"back.on.host.own-edge.z.0.times.value"}},{"id":"back.seat.rigid","op":"rigid@1","args":["d.mm.0","back.on.host.seat.y.0.times.value","back.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"back.seat.value"},"params":{"from":"back.seat","to":"host.local"}},{"id":"back.chain","op":"compose@1","args":["back.seat.value","back.poseValue"],"outputs":{"pose":"back.chain.value"}},{"id":"back.world","op":"compose@1","args":["host.chain.value","back.chain.value"],"outputs":{"pose":"back.world.value"}},{"id":"left.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"left.on.host.seat.y.0.times.value"}},{"id":"left.on.host.along.y.0.times","op":"mul@1","args":["left.dimension.height","k.ratio._0_5"],"outputs":{"value":"left.on.host.along.y.0.times.value"}},{"id":"left.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"left.on.host.along.y.1.times.value"}},{"id":"left.on.host.along.y.1.sum","op":"add@1","args":["left.on.host.along.y.0.times.value","left.on.host.along.y.1.times.value"],"outputs":{"value":"left.on.host.along.y.1.sum.value"}},{"id":"left.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio._0_5"],"outputs":{"value":"left.on.host.edge.x.0.times.value"}},{"id":"left.on.host.own-edge.x.0.times","op":"mul@1","args":["left.dimension.width","k.ratio.0_5"],"outputs":{"value":"left.on.host.own-edge.x.0.times.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.edge.x.0.times.value","left.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.seat","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.poseValue"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"right.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio._0_5"],"outputs":{"value":"right.on.host.seat.y.0.times.value"}},{"id":"right.on.host.along.y.0.times","op":"mul@1","args":["right.dimension.height","k.ratio._0_5"],"outputs":{"value":"right.on.host.along.y.0.times.value"}},{"id":"right.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"right.on.host.along.y.1.times.value"}},{"id":"right.on.host.along.y.1.sum","op":"add@1","args":["right.on.host.along.y.0.times.value","right.on.host.along.y.1.times.value"],"outputs":{"value":"right.on.host.along.y.1.sum.value"}},{"id":"right.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.edge.x.0.times.value"}},{"id":"right.on.host.own-edge.x.0.times","op":"mul@1","args":["right.dimension.width","k.ratio._0_5"],"outputs":{"value":"right.on.host.own-edge.x.0.times.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.edge.x.0.times.value","right.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.seat","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.poseValue"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"front.dimension.height":100,"front.dimension.depth":80,"back.dimension.height":100,"back.dimension.depth":80,"left.dimension.width":80,"left.dimension.height":100,"right.dimension.width":80,"right.dimension.height":100},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"front","material":{"token":"palette.tpl-4f5d6b"}},{"target":"back","material":{"token":"palette.tpl-4f5d6b"}},{"target":"left","material":{"token":"palette.tpl-4f5d6b"}},{"target":"right","material":{"token":"palette.tpl-4f5d6b"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{"gap":100}},{"id":"front","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"front","face":"top"},"origin":{"align":{"z":"max"}}},{"id":"back","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"back","face":"top"},"origin":{"align":{"z":"min"}}},{"id":"left","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"left","face":"top"},"origin":{"align":{"x":"min"}}},{"id":"right","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"right","face":"top"},"origin":{"align":{"x":"max"}}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BELT_SURFACE","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":"belt.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_9","unit":"ratio","value":0.9}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.dimension.x.value","host.size.y","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"belt.shape","op":"box-shape@1","args":["belt.dimension.x.value","belt.dimension.height","belt.dimension.z.value"],"outputs":{"shape":"belt.shapeValue"},"params":{"frame":"belt.local"}},{"id":"belt.pose","op":"rigid@1","args":["d.mm.0","belt.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"belt.poseValue"},"params":{"from":"belt.local","to":"belt.seat"}},{"id":"belt","op":"place@1","args":["belt.shapeValue","belt.world.value"],"outputs":{"placed":"belt.placed"}},{"id":"belt.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"belt.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"belt.dimension.z","op":"mul@1","args":["belt.z.follows.times.value","k.ratio.1"],"outputs":{"value":"belt.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"belt.z.follows.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_9"],"outputs":{"value":"belt.z.follows.times.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"belt.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"belt.on.host.seat.y.0.times.value"}},{"id":"belt.on.host.along.y.0.times","op":"mul@1","args":["belt.dimension.height","k.ratio.0_5"],"outputs":{"value":"belt.on.host.along.y.0.times.value"}},{"id":"belt.on.host.along.y.1.sum","op":"add@1","args":["belt.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"belt.on.host.along.y.1.sum.value"}},{"id":"belt.seat.rigid","op":"rigid@1","args":["d.mm.0","belt.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"belt.seat.value"},"params":{"from":"belt.seat","to":"host.local"}},{"id":"belt.chain","op":"compose@1","args":["belt.seat.value","belt.poseValue"],"outputs":{"pose":"belt.chain.value"}},{"id":"belt.world","op":"compose@1","args":["host.chain.value","belt.chain.value"],"outputs":{"pose":"belt.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"belt.dimension.height":8},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-2f3437":"#2f3437"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"belt","material":{"token":"palette.tpl-2f3437"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"belt","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"belt","face":"bottom"},"origin":{}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
1
|
+
{"version":"figure-asset-1","name":"TPL_BIN_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":"bin.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.floor","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.450","unit":"mm","value":450}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bin.shape","op":"hollow-box@2","args":["bin.dimension.width","bin.dimension.height","bin.dimension.depth","bin.dimension.roundX","bin.dimension.roundZ","bin.dimension.wallX","bin.dimension.wallZ","bin.dimension.floor"],"outputs":{"shape":"bin.shapeValue"},"params":{"frame":"bin.local"}},{"id":"bin.pose","op":"rigid@1","args":["d.mm.0","bin.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.poseValue"},"params":{"from":"bin.local","to":"bin.seat"}},{"id":"bin","op":"member@1","args":["bin.shapeValue","bin.poseValue"],"outputs":{"placed":"bin.placed"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"bin.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bin.on.host.seat.y.0.times.value"}},{"id":"bin.on.host.along.y.0.times","op":"mul@1","args":["bin.dimension.height","k.ratio.0_5"],"outputs":{"value":"bin.on.host.along.y.0.times.value"}},{"id":"bin.on.host.along.y.1.sum","op":"add@1","args":["bin.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"bin.on.host.along.y.1.sum.value"}},{"id":"bin.seat.rigid","op":"rigid@1","args":["bin.row.start.0.times.value","bin.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.seat.value"},"params":{"from":"bin.seat","to":"host.local"}},{"id":"bin.row.start.0.times","op":"mul@1","args":["host.size.x","k.ratio._0_5"],"outputs":{"value":"bin.row.start.0.times.value"}},{"id":"bin.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.0.times.value"}},{"id":"bin.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.1.times.value"}},{"id":"bin.row.length.1.sum","op":"add@1","args":["bin.row.length.0.times.value","bin.row.length.1.times.value"],"outputs":{"value":"bin.row.length.1.sum.value"}},{"id":"bin.row.extent.0.times","op":"mul@1","args":["bin.dimension.width","k.ratio.0_5"],"outputs":{"value":"bin.row.extent.0.times.value"}},{"id":"bin.row.extent.1.times","op":"mul@1","args":["bin.dimension.width","k.ratio.0_5"],"outputs":{"value":"bin.row.extent.1.times.value"}},{"id":"bin.row.extent.1.sum","op":"add@1","args":["bin.row.extent.0.times.value","bin.row.extent.1.times.value"],"outputs":{"value":"bin.row.extent.1.sum.value"}},{"id":"bin.layout","op":"fit-pitch@1","args":["bin.row.length.1.sum.value","d.mm.0","d.mm.0","bin.row.extent.1.sum.value","d.mm.450","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bin.layout.value"}},{"id":"bin.assembly","op":"assembly@1","args":["bin.placed"],"outputs":{"assembly":"bin.assembly.value"}},{"id":"bin.row","op":"compose@1","args":["host.chain.value","bin.seat.value"],"outputs":{"pose":"bin.row.value"}},{"id":"bin.repeat","op":"repeat@1","args":["bin.layout.value","bin.assembly.value","bin.row.value"],"outputs":{"collection":"bin.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1800,"host.size.y":800,"host.size.z":600,"bin.dimension.width":400,"bin.dimension.height":200,"bin.dimension.depth":300,"bin.dimension.roundX":10,"bin.dimension.roundZ":10,"bin.dimension.wallX":8,"bin.dimension.wallZ":8,"bin.dimension.floor":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-f39c12":"#f39c12"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bin","material":{"token":"palette.tpl-f39c12"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"bin","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bin","face":"bottom"},"origin":{},"repeat":{"axis":"X","pitch":450}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
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":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1500","unit":"mm","value":1500}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bollard.shape","op":"cylinder-shape@1","args":["bollard.dimension.radius","bollard.dimension.length"],"outputs":{"shape":"bollard.shapeValue"},"params":{"frame":"bollard.local"}},{"id":"bollard.pose","op":"rigid@1","args":["d.mm.0","bollard.on.host.along.y.1.sum.value","bollard.on.host.own-edge.z.0.times.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":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"bollard.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.y.0.times.value"}},{"id":"bollard.on.host.along.y.0.times","op":"mul@1","args":["bollard.dimension.length","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.along.y.0.times.value"}},{"id":"bollard.on.host.along.y.1.sum","op":"add@1","args":["bollard.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"bollard.on.host.along.y.1.sum.value"}},{"id":"bollard.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.edge.z.0.times.value"}},{"id":"bollard.on.host.own-edge.z.0.times","op":"mul@1","args":["bollard.dimension.radius","k.ratio._1"],"outputs":{"value":"bollard.on.host.own-edge.z.0.times.value"}},{"id":"bollard.seat.rigid","op":"rigid@1","args":["bollard.row.start.0.times.value","bollard.on.host.seat.y.0.times.value","bollard.on.host.edge.z.0.times.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","k.ratio._0_5"],"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.1.sum","op":"add@1","args":["bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"value":"bollard.row.extent.1.sum.value"}},{"id":"bollard.layout","op":"fit-pitch@1","args":["bollard.row.length.1.sum.value","d.mm.0","d.mm.0","bollard.row.extent.1.sum.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","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"bollard","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bollard","face":"bottom"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1500}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"figure-
|
|
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":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"buzzer.shape","op":"cylinder-shape@1","args":["buzzer.dimension.radius","buzzer.dimension.length"],"outputs":{"shape":"buzzer.shapeValue"},"params":{"frame":"buzzer.local"}},{"id":"buzzer.pose","op":"rigid@1","args":["buzzer.dimension.radius","buzzer.on.host.along.y.1.sum.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":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"buzzer.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.seat.y.0.times.value"}},{"id":"buzzer.on.host.along.y.0.times","op":"mul@1","args":["buzzer.dimension.length","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.along.y.0.times.value"}},{"id":"buzzer.on.host.along.y.1.sum","op":"add@1","args":["buzzer.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"buzzer.on.host.along.y.1.sum.value"}},{"id":"buzzer.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio._0_5"],"outputs":{"value":"buzzer.on.host.edge.x.0.times.value"}},{"id":"buzzer.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio._0_5"],"outputs":{"value":"buzzer.on.host.edge.z.0.times.value"}},{"id":"buzzer.seat.rigid","op":"rigid@1","args":["buzzer.on.host.edge.x.0.times.value","buzzer.on.host.seat.y.0.times.value","buzzer.on.host.edge.z.0.times.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","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"buzzer","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"buzzer","face":"bottom"},"origin":{"align":{"x":"min","z":"min"}}}]}
|