@things-factory/figure-service 10.1.303 → 10.1.304

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.
Files changed (171) hide show
  1. package/dist-server/service/figure/figure-revert.js +2 -2
  2. package/package.json +10 -10
  3. package/recipes/air-cylinder/recipe.json +19 -23
  4. package/recipes/air-cylinder/spec.json +1 -1
  5. package/recipes/air-shower/recipe.json +16 -22
  6. package/recipes/barrier-gate/recipe.json +8 -11
  7. package/recipes/base-frame/recipe.json +32 -44
  8. package/recipes/belt-surface/recipe.json +9 -11
  9. package/recipes/bin-row/guide.ko.md +1 -1
  10. package/recipes/bin-row/models/default.json +1 -1
  11. package/recipes/bin-row/recipe.json +10 -12
  12. package/recipes/bin-row/spec.json +1 -1
  13. package/recipes/bollard-row/models/default.json +1 -1
  14. package/recipes/bollard-row/recipe.json +9 -12
  15. package/recipes/bollard-row/spec.json +1 -1
  16. package/recipes/buzzer/recipe.json +8 -11
  17. package/recipes/cabinet-doors/recipe.json +22 -26
  18. package/recipes/cable-tray/recipe.json +24 -33
  19. package/recipes/camera-mount/recipe.json +17 -22
  20. package/recipes/canopy/guide.ko.md +1 -1
  21. package/recipes/canopy/recipe.json +40 -55
  22. package/recipes/cart/recipe.json +141 -181
  23. package/recipes/cart-handle/recipe.json +24 -33
  24. package/recipes/casters-four/recipe.json +85 -113
  25. package/recipes/ceiling-rail-carriage/recipe.json +17 -22
  26. package/recipes/chain-rails/recipe.json +16 -22
  27. package/recipes/charging-station/recipe.json +16 -22
  28. package/recipes/column-row/models/default.json +1 -1
  29. package/recipes/column-row/recipe.json +9 -12
  30. package/recipes/column-row/spec.json +1 -1
  31. package/recipes/control-cabinet/recipe.json +16 -22
  32. package/recipes/conveyor-skirts/recipe.json +18 -22
  33. package/recipes/counter-display/recipe.json +22 -27
  34. package/recipes/counter-display/spec.json +1 -1
  35. package/recipes/dock-bumpers/recipe.json +16 -22
  36. package/recipes/dock-leveler/recipe.json +9 -12
  37. package/recipes/dock-leveler/spec.json +1 -1
  38. package/recipes/double-hinged-door/recipe.json +27 -36
  39. package/recipes/double-hinged-door/spec.json +3 -3
  40. package/recipes/drawer-stack/recipe.json +73 -61
  41. package/recipes/drawer-stack/spec.json +1 -1
  42. package/recipes/drip-tray/recipe.json +9 -11
  43. package/recipes/duct-fan/recipe.json +17 -23
  44. package/recipes/duct-fan/spec.json +1 -1
  45. package/recipes/emergency-stop/recipe.json +17 -22
  46. package/recipes/end-covers/recipe.json +18 -22
  47. package/recipes/ffu-row/models/default.json +1 -1
  48. package/recipes/ffu-row/recipe.json +10 -12
  49. package/recipes/ffu-row/spec.json +1 -1
  50. package/recipes/fire-extinguisher/recipe.json +17 -22
  51. package/recipes/first-aid-box/recipe.json +18 -22
  52. package/recipes/floor-zone/recipe.json +32 -44
  53. package/recipes/folding-door/recipe.json +26 -35
  54. package/recipes/folding-door/spec.json +2 -2
  55. package/recipes/fork/recipe.json +16 -22
  56. package/recipes/gantry-frame/guide.ko.md +1 -1
  57. package/recipes/gantry-frame/recipe.json +24 -33
  58. package/recipes/gripper-2f/guide.ko.md +1 -1
  59. package/recipes/gripper-2f/recipe.json +26 -34
  60. package/recipes/gripper-2f/spec.json +1 -1
  61. package/recipes/guard-cover/recipe.json +9 -12
  62. package/recipes/handrail/models/default.json +1 -1
  63. package/recipes/handrail/recipe.json +16 -22
  64. package/recipes/hatch/recipe.json +19 -24
  65. package/recipes/hatch/spec.json +2 -2
  66. package/recipes/hinged-door/facts.md +1 -1
  67. package/recipes/hinged-door/recipe.json +20 -25
  68. package/recipes/hinged-door/spec.json +2 -2
  69. package/recipes/hmi-monitor/recipe.json +18 -23
  70. package/recipes/hmi-monitor/spec.json +1 -1
  71. package/recipes/hopper/models/default.json +1 -1
  72. package/recipes/hopper/recipe.json +18 -22
  73. package/recipes/interlock-switch/recipe.json +8 -11
  74. package/recipes/junction-box/recipe.json +8 -11
  75. package/recipes/ladder/models/default.json +1 -1
  76. package/recipes/ladder/recipe.json +26 -34
  77. package/recipes/ladder/spec.json +1 -1
  78. package/recipes/legs-four/recipe.json +32 -44
  79. package/recipes/leveling-feet/models/default.json +1 -1
  80. package/recipes/leveling-feet/recipe.json +32 -44
  81. package/recipes/lift-updown/recipe.json +9 -11
  82. package/recipes/light-curtain/recipe.json +16 -22
  83. package/recipes/limit-switch/recipe.json +17 -22
  84. package/recipes/linear-guide/recipe.json +17 -22
  85. package/recipes/locker-row/models/default.json +1 -1
  86. package/recipes/locker-row/recipe.json +9 -11
  87. package/recipes/motor-box/recipe.json +8 -11
  88. package/recipes/observation-window/recipe.json +21 -26
  89. package/recipes/observation-window/spec.json +2 -2
  90. package/recipes/operator-panel/models/buttons=2.json +1 -1
  91. package/recipes/operator-panel/models/buttons=3.json +1 -1
  92. package/recipes/operator-panel/models/buttons=4.json +1 -1
  93. package/recipes/operator-panel/models/buttons=5.json +1 -1
  94. package/recipes/operator-panel/models/default.json +1 -1
  95. package/recipes/operator-panel/recipe.json +26 -25
  96. package/recipes/pallet/recipe.json +34 -44
  97. package/recipes/partition-wall/recipe.json +24 -33
  98. package/recipes/pass-box/recipe.json +18 -23
  99. package/recipes/pass-box/spec.json +1 -1
  100. package/recipes/peg-board/models/default.json +1 -1
  101. package/recipes/peg-board/recipe.json +18 -22
  102. package/recipes/photo-sensor-pair/guide.ko.md +1 -1
  103. package/recipes/photo-sensor-pair/recipe.json +16 -22
  104. package/recipes/pipe-run/recipe.json +6 -10
  105. package/recipes/platform/guide.ko.md +1 -1
  106. package/recipes/platform/recipe.json +40 -55
  107. package/recipes/power-box/recipe.json +8 -11
  108. package/recipes/pressure-gauge/recipe.json +8 -11
  109. package/recipes/pull-cord/recipe.json +8 -11
  110. package/recipes/pump/recipe.json +16 -22
  111. package/recipes/pusher/recipe.json +8 -11
  112. package/recipes/robot-plinth/recipe.json +18 -22
  113. package/recipes/roll-up-shutter/recipe.json +18 -24
  114. package/recipes/roll-up-shutter/spec.json +2 -2
  115. package/recipes/roller-row/facts.md +1 -1
  116. package/recipes/roller-row/models/default.json +1 -1
  117. package/recipes/roller-row/recipe.json +6 -10
  118. package/recipes/room-shell/recipe.json +41 -56
  119. package/recipes/rotating-beacon/recipe.json +33 -40
  120. package/recipes/rotating-beacon/spec.json +1 -1
  121. package/recipes/safety-fence/models/default.json +1 -1
  122. package/recipes/safety-fence/recipe.json +18 -24
  123. package/recipes/safety-fence/spec.json +1 -1
  124. package/recipes/safety-mat/recipe.json +8 -11
  125. package/recipes/safety-sign-stand/recipe.json +27 -33
  126. package/recipes/scanner-mount/recipe.json +25 -34
  127. package/recipes/scanner-mount/spec.json +1 -1
  128. package/recipes/selector-switch/recipe.json +18 -22
  129. package/recipes/shelf-tiers/models/default.json +1 -1
  130. package/recipes/shelf-tiers/models/tiers=2.json +1 -1
  131. package/recipes/shelf-tiers/models/tiers=3.json +1 -1
  132. package/recipes/shelf-tiers/models/tiers=4.json +1 -1
  133. package/recipes/shelf-tiers/models/tiers=5.json +1 -1
  134. package/recipes/shelf-tiers/recipe.json +18 -14
  135. package/recipes/side-guides/recipe.json +16 -22
  136. package/recipes/sign-board/recipe.json +9 -12
  137. package/recipes/sign-board/spec.json +1 -1
  138. package/recipes/signal-tower-3/recipe.json +51 -60
  139. package/recipes/signal-tower-3/spec.json +1 -1
  140. package/recipes/sliding-door/facts.md +1 -1
  141. package/recipes/sliding-door/guide.ko.md +1 -1
  142. package/recipes/sliding-door/recipe.json +65 -77
  143. package/recipes/sliding-door/spec.json +2 -2
  144. package/recipes/stairs/models/default.json +1 -1
  145. package/recipes/stairs/recipe.json +10 -12
  146. package/recipes/stairs/spec.json +1 -1
  147. package/recipes/status-lamp/recipe.json +40 -48
  148. package/recipes/stopper/recipe.json +8 -11
  149. package/recipes/suction-pads/models/default.json +1 -1
  150. package/recipes/suction-pads/recipe.json +10 -12
  151. package/recipes/suction-pads/spec.json +1 -1
  152. package/recipes/tank/recipe.json +10 -12
  153. package/recipes/tank/spec.json +1 -1
  154. package/recipes/telescopic-arm/recipe.json +19 -23
  155. package/recipes/telescopic-arm/spec.json +1 -1
  156. package/recipes/toe-board/recipe.json +8 -11
  157. package/recipes/tote/recipe.json +9 -11
  158. package/recipes/traffic-cones/models/default.json +1 -1
  159. package/recipes/traffic-cones/recipe.json +17 -22
  160. package/recipes/transfer-belts/recipe.json +16 -22
  161. package/recipes/tray-stack/recipe.json +45 -66
  162. package/recipes/trough/recipe.json +9 -11
  163. package/recipes/turntable/recipe.json +18 -23
  164. package/recipes/turntable/spec.json +1 -1
  165. package/recipes/valve-handle/recipe.json +28 -34
  166. package/recipes/valve-handle/spec.json +1 -1
  167. package/recipes/waste-bin/recipe.json +9 -11
  168. package/recipes/work-light/recipe.json +31 -39
  169. package/recipes/work-light/spec.json +1 -1
  170. package/recipes/workbench-top/recipe.json +9 -11
  171. package/translations/ko.json +5 -5
@@ -105,7 +105,7 @@ async function undoRevert(tx, domain, user, request) {
105
105
  throw refused('FIGURE_REVERT_REQUEST', '되돌리기 취소 요청 식별자가 필요합니다.');
106
106
  const figures = tx.getRepository(figure_js_1.Figure);
107
107
  const kept = tx.getRepository(figure_replaced_draft_js_1.FigureReplacedDraft);
108
- const record = await kept.findOne({ where: { id: request.keptId, domain: { id: domain.id } } });
108
+ const record = request.keptId ? await kept.findOne({ where: { id: request.keptId, domain: { id: domain.id } } }) : null;
109
109
  if (!record)
110
110
  throw refused('FIGURE_KEPT_NOT_FOUND', '되살릴 초안을 찾을 수 없습니다.');
111
111
  if (record.restoredAt) {
@@ -114,7 +114,7 @@ async function undoRevert(tx, domain, user, request) {
114
114
  return { figure: await figures.findOneOrFail({ where: { id: record.figureId, domain: { id: domain.id } } }), kept: record };
115
115
  throw refused('FIGURE_KEPT_RESTORED', '이 초안은 이미 되살렸습니다.');
116
116
  }
117
- const figure = await figures.findOne({ where: { id: record.figureId, domain: { id: domain.id } } });
117
+ const figure = record.figureId ? await figures.findOne({ where: { id: record.figureId, domain: { id: domain.id } } }) : null;
118
118
  if (!figure)
119
119
  throw refused('FIGURE_NOT_FOUND', `Figure ${record.figureId} 를 찾을 수 없습니다.`);
120
120
  /* What the undo replaces is kept too -- the same rule as a revert. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/figure-service",
3
- "version": "10.1.303",
3
+ "version": "10.1.304",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "@things-factory:registry": "https://registry.npmjs.org"
@@ -39,27 +39,27 @@
39
39
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration",
40
40
  "build:templates": "node scripts/build-templates.mts",
41
41
  "test:templates": "node --test scripts/templates.test.mts",
42
- "test": "node --test test/conventions.test.mjs"
42
+ "test": "node --test test/conventions.test.mjs scripts/templates.test.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@hatiolab/figure-model": "^0.12.21",
45
+ "@hatiolab/figure-model": "^0.12.23",
46
46
  "@operato/typeorm-history": "^10.0.0",
47
- "@things-factory/ai-client-base": "^10.1.303",
48
- "@things-factory/attachment-base": "^10.1.303",
49
- "@things-factory/auth-base": "^10.1.303",
47
+ "@things-factory/ai-client-base": "^10.1.304",
48
+ "@things-factory/attachment-base": "^10.1.304",
49
+ "@things-factory/auth-base": "^10.1.304",
50
50
  "@things-factory/env": "^10.1.298",
51
- "@things-factory/setting-base": "^10.1.303",
52
- "@things-factory/shell": "^10.1.303",
51
+ "@things-factory/setting-base": "^10.1.304",
52
+ "@things-factory/shell": "^10.1.304",
53
53
  "graphql-scalars": "^1.22.4",
54
54
  "graphql-upload": "^15.0.2",
55
55
  "jszip": "^3.10.1",
56
56
  "koa-router": "^7.4.0"
57
57
  },
58
- "gitHead": "2d5888ebfc0a004b000a4aa3dfb8ff9561e75ff9",
58
+ "gitHead": "76ce38519069ba90190d69d2a9d6c130bc981cf0",
59
59
  "engines": {
60
60
  "node": ">=22.12"
61
61
  },
62
62
  "devDependencies": {
63
- "@things-factory/conventions": "^10.1.281"
63
+ "@things-factory/conventions": "^10.1.304"
64
64
  }
65
65
  }
@@ -5,7 +5,7 @@
5
5
  "en": "air cylinder"
6
6
  },
7
7
  "description": {
8
- "ko": "선택한 부품 윗면에 세운 에어 실린더를 넣습니다. 조작값으로 로드가 올라옵니다.",
8
+ "ko": "선택한 부품 윗면에 수직 에어 실린더를 배치합니다. 조작값을 변경하면 로드가 올라옵니다.",
9
9
  "en": "An upright air cylinder on the chosen part's top; a control pushes the rod out."
10
10
  },
11
11
  "category": "handling",
@@ -41,7 +41,13 @@
41
41
  "dimensions": {
42
42
  "radius": 40,
43
43
  "length": 300
44
+ },
45
+ "material": {
46
+ "token": "palette.tpl-9aa3ab"
44
47
  }
48
+ },
49
+ "palette": {
50
+ "palette.tpl-9aa3ab": "#9aa3ab"
45
51
  }
46
52
  },
47
53
  {
@@ -52,7 +58,13 @@
52
58
  "dimensions": {
53
59
  "radius": 12,
54
60
  "length": 250
61
+ },
62
+ "material": {
63
+ "token": "palette.tpl-d0d4d8"
55
64
  }
65
+ },
66
+ "palette": {
67
+ "palette.tpl-d0d4d8": "#d0d4d8"
56
68
  }
57
69
  },
58
70
  {
@@ -66,7 +78,9 @@
66
78
  "body1": {
67
79
  "part": "{id}-body"
68
80
  },
69
- "origin": {}
81
+ "origin": {
82
+ "childRotate": {}
83
+ }
70
84
  }
71
85
  },
72
86
  {
@@ -80,7 +94,9 @@
80
94
  "body1": {
81
95
  "part": "{id}-rod"
82
96
  },
83
- "origin": {},
97
+ "origin": {
98
+ "childRotate": {}
99
+ },
84
100
  "motion": [
85
101
  {
86
102
  "type": "prismatic",
@@ -96,31 +112,11 @@
96
112
  ]
97
113
  }
98
114
  },
99
- {
100
- "kind": "set-material",
101
- "target": "{id}-body",
102
- "material": {
103
- "token": "palette.tpl-9aa3ab"
104
- },
105
- "palette": {
106
- "palette.tpl-9aa3ab": "#9aa3ab"
107
- }
108
- },
109
115
  {
110
116
  "kind": "set-segments",
111
117
  "target": "{id}-body",
112
118
  "segments": 12
113
119
  },
114
- {
115
- "kind": "set-material",
116
- "target": "{id}-rod",
117
- "material": {
118
- "token": "palette.tpl-d0d4d8"
119
- },
120
- "palette": {
121
- "palette.tpl-d0d4d8": "#d0d4d8"
122
- }
123
- },
124
120
  {
125
121
  "kind": "set-segments",
126
122
  "target": "{id}-rod",
@@ -11,7 +11,7 @@
11
11
  "en": "air cylinder"
12
12
  },
13
13
  "description": {
14
- "ko": "선택한 부품 윗면에 세운 에어 실린더를 넣습니다. 조작값으로 로드가 올라옵니다.",
14
+ "ko": "선택한 부품 윗면에 수직 에어 실린더를 배치합니다. 조작값을 변경하면 로드가 올라옵니다.",
15
15
  "en": "An upright air cylinder on the chosen part's top; a control pushes the rod out."
16
16
  },
17
17
  "params": [
@@ -26,7 +26,13 @@
26
26
  "width": 1200,
27
27
  "height": 2300,
28
28
  "depth": 1000
29
+ },
30
+ "material": {
31
+ "token": "palette.tpl-7f93a6"
29
32
  }
33
+ },
34
+ "palette": {
35
+ "palette.tpl-7f93a6": "#7f93a6"
30
36
  }
31
37
  },
32
38
  {
@@ -38,7 +44,13 @@
38
44
  "width": 800,
39
45
  "height": 2000,
40
46
  "depth": 30
47
+ },
48
+ "material": {
49
+ "token": "palette.tpl-7fb8d6"
41
50
  }
51
+ },
52
+ "palette": {
53
+ "palette.tpl-7fb8d6": "#7fb8d6"
42
54
  }
43
55
  },
44
56
  {
@@ -55,7 +67,8 @@
55
67
  "origin": {
56
68
  "align": {
57
69
  "y": "min"
58
- }
70
+ },
71
+ "childRotate": {}
59
72
  }
60
73
  }
61
74
  },
@@ -73,7 +86,8 @@
73
86
  "origin": {
74
87
  "align": {
75
88
  "y": "min"
76
- }
89
+ },
90
+ "childRotate": {}
77
91
  },
78
92
  "motion": [
79
93
  {
@@ -87,26 +101,6 @@
87
101
  }
88
102
  ]
89
103
  }
90
- },
91
- {
92
- "kind": "set-material",
93
- "target": "{id}-booth",
94
- "material": {
95
- "token": "palette.tpl-7f93a6"
96
- },
97
- "palette": {
98
- "palette.tpl-7f93a6": "#7f93a6"
99
- }
100
- },
101
- {
102
- "kind": "set-material",
103
- "target": "{id}-door",
104
- "material": {
105
- "token": "palette.tpl-7fb8d6"
106
- },
107
- "palette": {
108
- "palette.tpl-7fb8d6": "#7fb8d6"
109
- }
110
104
  }
111
105
  ]
112
106
  }
@@ -44,7 +44,13 @@
44
44
  },
45
45
  "height": 80,
46
46
  "depth": 60
47
+ },
48
+ "material": {
49
+ "token": "palette.tpl-d9534f"
47
50
  }
51
+ },
52
+ "palette": {
53
+ "palette.tpl-d9534f": "#d9534f"
48
54
  }
49
55
  },
50
56
  {
@@ -61,7 +67,8 @@
61
67
  "origin": {
62
68
  "align": {
63
69
  "x": "min"
64
- }
70
+ },
71
+ "childRotate": {}
65
72
  },
66
73
  "motion": [
67
74
  {
@@ -75,16 +82,6 @@
75
82
  }
76
83
  ]
77
84
  }
78
- },
79
- {
80
- "kind": "set-material",
81
- "target": "{id}-arm",
82
- "material": {
83
- "token": "palette.tpl-d9534f"
84
- },
85
- "palette": {
86
- "palette.tpl-d9534f": "#d9534f"
87
- }
88
85
  }
89
86
  ]
90
87
  }
@@ -44,7 +44,13 @@
44
44
  "param": "height"
45
45
  },
46
46
  "depth": 80
47
+ },
48
+ "material": {
49
+ "token": "palette.tpl-4f5d6b"
47
50
  }
51
+ },
52
+ "palette": {
53
+ "palette.tpl-4f5d6b": "#4f5d6b"
48
54
  }
49
55
  },
50
56
  {
@@ -58,7 +64,13 @@
58
64
  "param": "height"
59
65
  },
60
66
  "depth": 80
67
+ },
68
+ "material": {
69
+ "token": "palette.tpl-4f5d6b"
61
70
  }
71
+ },
72
+ "palette": {
73
+ "palette.tpl-4f5d6b": "#4f5d6b"
62
74
  }
63
75
  },
64
76
  {
@@ -72,7 +84,13 @@
72
84
  "param": "height"
73
85
  },
74
86
  "depth": 840
87
+ },
88
+ "material": {
89
+ "token": "palette.tpl-4f5d6b"
75
90
  }
91
+ },
92
+ "palette": {
93
+ "palette.tpl-4f5d6b": "#4f5d6b"
76
94
  }
77
95
  },
78
96
  {
@@ -86,7 +104,13 @@
86
104
  "param": "height"
87
105
  },
88
106
  "depth": 840
107
+ },
108
+ "material": {
109
+ "token": "palette.tpl-4f5d6b"
89
110
  }
111
+ },
112
+ "palette": {
113
+ "palette.tpl-4f5d6b": "#4f5d6b"
90
114
  }
91
115
  },
92
116
  {
@@ -145,7 +169,8 @@
145
169
  "origin": {
146
170
  "align": {
147
171
  "z": "max"
148
- }
172
+ },
173
+ "childRotate": {}
149
174
  }
150
175
  }
151
176
  },
@@ -163,7 +188,8 @@
163
188
  "origin": {
164
189
  "align": {
165
190
  "z": "min"
166
- }
191
+ },
192
+ "childRotate": {}
167
193
  }
168
194
  }
169
195
  },
@@ -181,7 +207,8 @@
181
207
  "origin": {
182
208
  "align": {
183
209
  "x": "min"
184
- }
210
+ },
211
+ "childRotate": {}
185
212
  }
186
213
  }
187
214
  },
@@ -199,49 +226,10 @@
199
226
  "origin": {
200
227
  "align": {
201
228
  "x": "max"
202
- }
229
+ },
230
+ "childRotate": {}
203
231
  }
204
232
  }
205
- },
206
- {
207
- "kind": "set-material",
208
- "target": "{id}-front",
209
- "material": {
210
- "token": "palette.tpl-4f5d6b"
211
- },
212
- "palette": {
213
- "palette.tpl-4f5d6b": "#4f5d6b"
214
- }
215
- },
216
- {
217
- "kind": "set-material",
218
- "target": "{id}-back",
219
- "material": {
220
- "token": "palette.tpl-4f5d6b"
221
- },
222
- "palette": {
223
- "palette.tpl-4f5d6b": "#4f5d6b"
224
- }
225
- },
226
- {
227
- "kind": "set-material",
228
- "target": "{id}-left",
229
- "material": {
230
- "token": "palette.tpl-4f5d6b"
231
- },
232
- "palette": {
233
- "palette.tpl-4f5d6b": "#4f5d6b"
234
- }
235
- },
236
- {
237
- "kind": "set-material",
238
- "target": "{id}-right",
239
- "material": {
240
- "token": "palette.tpl-4f5d6b"
241
- },
242
- "palette": {
243
- "palette.tpl-4f5d6b": "#4f5d6b"
244
- }
245
233
  }
246
234
  ]
247
235
  }
@@ -58,7 +58,13 @@
58
58
  "param": "thickness"
59
59
  },
60
60
  "depth": 720
61
+ },
62
+ "material": {
63
+ "token": "palette.tpl-2f3437"
61
64
  }
65
+ },
66
+ "palette": {
67
+ "palette.tpl-2f3437": "#2f3437"
62
68
  }
63
69
  },
64
70
  {
@@ -95,17 +101,9 @@
95
101
  "body1": {
96
102
  "part": "{id}-belt"
97
103
  },
98
- "origin": {}
99
- }
100
- },
101
- {
102
- "kind": "set-material",
103
- "target": "{id}-belt",
104
- "material": {
105
- "token": "palette.tpl-2f3437"
106
- },
107
- "palette": {
108
- "palette.tpl-2f3437": "#2f3437"
104
+ "origin": {
105
+ "childRotate": {}
106
+ }
109
107
  }
110
108
  }
111
109
  ]
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## 넣는 순서
6
6
 
7
- 1. 부품을 선택합니다. 빈은 **윗면**에 한 줄로 놓입니다.
7
+ 1. 부품을 선택합니다. 부품 보관함은 **윗면**에 한 줄로 배치됩니다.
8
8
  2. **간격**을 mm로 정합니다.
9
9
  3. 「넣기」를 누릅니다.
10
10
 
@@ -1 +1 @@
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":"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":"bin.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.450","unit":"mm","value":450}],"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":"bin.shape","op":"extrude@1","args":["bin.start.value","bin.dimension.height","bin.dimension.width","bin.dimension.depth","bin.dimension.roundX","bin.dimension.roundZ","bin.dimension.wallX","bin.dimension.wallX","bin.dimension.wallZ","bin.dimension.wallZ","bin.dimension.floor"],"outputs":{"shape":"bin.shapeValue"},"params":{"frame":"bin.local","axis":"y","section":"rectangle","corner":"round","cavity":"inside","cavity-end":"open","cavity-start":"closed"}},{"id":"bin.pose","op":"rigid@1","args":["d.mm.0","bin.on.host.pose.y.t0.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":"bin.start","op":"mul@1","args":["bin.dimension.height","bin.k.centre"],"outputs":{"value":"bin.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":"bin.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bin.on.host.seat.y.t0.value"}},{"id":"bin.on.host.pose.y.t0","op":"mul@1","args":["bin.dimension.height","k.ratio.0_5"],"outputs":{"value":"bin.on.host.pose.y.t0.value"}},{"id":"bin.seat.rigid","op":"rigid@1","args":["bin.row.start.0.times.value","bin.on.host.seat.y.t0.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","host.k.centre"],"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.layout","op":"fit-pitch@1","args":["bin.row.length.1.sum.value","d.mm.0","d.mm.0","bin.dimension.width","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","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bin","body0":{"part":"host","face":"top"},"body1":{"part":"bin"},"origin":{},"repeat":{"axis":"X","pitch":450}}]}
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":"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":"bin.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.450","unit":"mm","value":450}],"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":"bin.shape","op":"extrude@1","args":["bin.start.value","bin.dimension.height","bin.dimension.width","bin.dimension.depth","bin.dimension.roundX","bin.dimension.roundZ","bin.dimension.wallX","bin.dimension.wallX","bin.dimension.wallZ","bin.dimension.wallZ","bin.dimension.floor"],"outputs":{"shape":"bin.shapeValue"},"params":{"frame":"bin.local","axis":"y","section":"rectangle","corner":"round","cavity":"inside","cavity-end":"open","cavity-start":"closed"}},{"id":"bin.pose","op":"rigid@1","args":["d.mm.0","bin.on.host.pose.y.t0.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":"bin.start","op":"mul@1","args":["bin.dimension.height","bin.k.centre"],"outputs":{"value":"bin.start.value"}},{"id":"bin.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"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.sum","op":"add@1","args":["bin.row.length.0.times.value","bin.row.length.0.times.value"],"outputs":{"value":"bin.row.length.1.sum.value"}},{"id":"bin.layout","op":"fit-pitch@1","args":["bin.row.length.1.sum.value","d.mm.0","d.mm.0","bin.dimension.width","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"}},{"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":"bin.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bin.on.host.seat.y.t0.value"}},{"id":"bin.on.host.pose.y.t0","op":"mul@1","args":["bin.dimension.height","k.ratio.0_5"],"outputs":{"value":"bin.on.host.pose.y.t0.value"}},{"id":"bin.seat.rigid","op":"rigid@1","args":["bin.row.start.0.times.value","bin.on.host.seat.y.t0.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"}}]},"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","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bin","body0":{"part":"host","face":"top"},"body1":{"part":"bin"},"origin":{},"repeat":{"axis":"X","pitch":450}}]}
@@ -5,7 +5,7 @@
5
5
  "en": "bin row"
6
6
  },
7
7
  "description": {
8
- "ko": "선택한 부품 윗면에 부품 빈을 한 줄로 늘어놓습니다. 부품 길이를 따라 간격마다 들어갑니다.",
8
+ "ko": "선택한 부품 윗면에 부품 보관함을 한 줄로 배치합니다. 부품 길이를 따라 지정한 간격으로 배치됩니다.",
9
9
  "en": "A row of parts bins on the chosen part's top, one every pitch along its length."
10
10
  },
11
11
  "category": "storage",
@@ -47,7 +47,13 @@
47
47
  "wallX": 8,
48
48
  "wallZ": 8,
49
49
  "floor": 10
50
+ },
51
+ "material": {
52
+ "token": "palette.tpl-f39c12"
50
53
  }
54
+ },
55
+ "palette": {
56
+ "palette.tpl-f39c12": "#f39c12"
51
57
  }
52
58
  },
53
59
  {
@@ -61,7 +67,9 @@
61
67
  "body1": {
62
68
  "part": "{id}-bin"
63
69
  },
64
- "origin": {},
70
+ "origin": {
71
+ "childRotate": {}
72
+ },
65
73
  "repeat": {
66
74
  "axis": "X",
67
75
  "pitch": {
@@ -69,16 +77,6 @@
69
77
  }
70
78
  }
71
79
  }
72
- },
73
- {
74
- "kind": "set-material",
75
- "target": "{id}-bin",
76
- "material": {
77
- "token": "palette.tpl-f39c12"
78
- },
79
- "palette": {
80
- "palette.tpl-f39c12": "#f39c12"
81
- }
82
80
  }
83
81
  ]
84
82
  }
@@ -11,7 +11,7 @@
11
11
  "en": "bin row"
12
12
  },
13
13
  "description": {
14
- "ko": "선택한 부품 윗면에 부품 빈을 한 줄로 늘어놓습니다. 부품 길이를 따라 간격마다 들어갑니다.",
14
+ "ko": "선택한 부품 윗면에 부품 보관함을 한 줄로 배치합니다. 부품 길이를 따라 지정한 간격으로 배치됩니다.",
15
15
  "en": "A row of parts bins on the chosen part's top, one every pitch along its length."
16
16
  },
17
17
  "params": [
@@ -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","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
+ {"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":"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.sum","op":"add@1","args":["bollard.row.length.0.times.value","bollard.row.length.0.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"}},{"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"}}]},"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}}]}