@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
@@ -27,7 +27,7 @@
27
27
  "en": "width (of the part's)"
28
28
  },
29
29
  "hint": {
30
- "ko": "선택한 부품 폭에 대한 표시판 폭",
30
+ "ko": "선택한 부품 폭 대비 표시판 폭 비율",
31
31
  "en": "the board's width as a share of the part's"
32
32
  }
33
33
  }
@@ -42,7 +42,13 @@
42
42
  "width": 960,
43
43
  "height": 200,
44
44
  "depth": 15
45
+ },
46
+ "material": {
47
+ "token": "palette.tpl-1f4e79"
45
48
  }
49
+ },
50
+ "palette": {
51
+ "palette.tpl-1f4e79": "#1f4e79"
46
52
  }
47
53
  },
48
54
  {
@@ -72,19 +78,10 @@
72
78
  "origin": {
73
79
  "align": {
74
80
  "y": "max"
75
- }
81
+ },
82
+ "childRotate": {}
76
83
  }
77
84
  }
78
- },
79
- {
80
- "kind": "set-material",
81
- "target": "{id}-board",
82
- "material": {
83
- "token": "palette.tpl-1f4e79"
84
- },
85
- "palette": {
86
- "palette.tpl-1f4e79": "#1f4e79"
87
- }
88
85
  }
89
86
  ]
90
87
  }
@@ -26,7 +26,7 @@
26
26
  "en": "width (of the part's)"
27
27
  },
28
28
  "hint": {
29
- "ko": "선택한 부품 폭에 대한 표시판 폭",
29
+ "ko": "선택한 부품 폭 대비 표시판 폭 비율",
30
30
  "en": "the board's width as a share of the part's"
31
31
  },
32
32
  "bind": [
@@ -5,7 +5,7 @@
5
5
  "en": "three-tier signal tower"
6
6
  },
7
7
  "description": {
8
- "ko": "선택한 부품 윗면의 한 모서리에 기둥과 빨강 · 노랑 · 초록 세 단 램프를 넣습니다. 조작값으로 켜지는 단이 바뀝니다.",
8
+ "ko": "선택한 부품 윗면 모서리에 기둥과 빨강·노랑·초록의 3단 신호등을 배치합니다. 조작값에 따라 켜지는 램프가 바뀝니다.",
9
9
  "en": "A pole and a red, amber and green lamp on a corner of the chosen part's top; a control lights them."
10
10
  },
11
11
  "category": "signal",
@@ -26,7 +26,13 @@
26
26
  "dimensions": {
27
27
  "radius": 15,
28
28
  "length": 300
29
+ },
30
+ "material": {
31
+ "token": "palette.tpl-7d8790"
29
32
  }
33
+ },
34
+ "palette": {
35
+ "palette.tpl-7d8790": "#7d8790"
30
36
  }
31
37
  },
32
38
  {
@@ -37,7 +43,18 @@
37
43
  "dimensions": {
38
44
  "radius": 40,
39
45
  "length": 90
46
+ },
47
+ "material": {
48
+ "token": "palette.tpl-2ecc71",
49
+ "emissive": {
50
+ "on": true,
51
+ "token": "palette.tpl-2ecc71",
52
+ "intensity": 1
53
+ }
40
54
  }
55
+ },
56
+ "palette": {
57
+ "palette.tpl-2ecc71": "#2ecc71"
41
58
  }
42
59
  },
43
60
  {
@@ -48,7 +65,18 @@
48
65
  "dimensions": {
49
66
  "radius": 40,
50
67
  "length": 90
68
+ },
69
+ "material": {
70
+ "token": "palette.tpl-f5a623",
71
+ "emissive": {
72
+ "on": true,
73
+ "token": "palette.tpl-f5a623",
74
+ "intensity": 1
75
+ }
51
76
  }
77
+ },
78
+ "palette": {
79
+ "palette.tpl-f5a623": "#f5a623"
52
80
  }
53
81
  },
54
82
  {
@@ -59,7 +87,18 @@
59
87
  "dimensions": {
60
88
  "radius": 40,
61
89
  "length": 90
90
+ },
91
+ "material": {
92
+ "token": "palette.tpl-e74c3c",
93
+ "emissive": {
94
+ "on": true,
95
+ "token": "palette.tpl-e74c3c",
96
+ "intensity": 1
97
+ }
62
98
  }
99
+ },
100
+ "palette": {
101
+ "palette.tpl-e74c3c": "#e74c3c"
63
102
  }
64
103
  },
65
104
  {
@@ -77,7 +116,8 @@
77
116
  "align": {
78
117
  "x": "max",
79
118
  "z": "min"
80
- }
119
+ },
120
+ "childRotate": {}
81
121
  }
82
122
  }
83
123
  },
@@ -92,7 +132,9 @@
92
132
  "body1": {
93
133
  "part": "{id}-green"
94
134
  },
95
- "origin": {},
135
+ "origin": {
136
+ "childRotate": {}
137
+ },
96
138
  "motion": [
97
139
  {
98
140
  "type": "prismatic",
@@ -117,7 +159,9 @@
117
159
  "body1": {
118
160
  "part": "{id}-amber"
119
161
  },
120
- "origin": {}
162
+ "origin": {
163
+ "childRotate": {}
164
+ }
121
165
  }
122
166
  },
123
167
  {
@@ -131,17 +175,9 @@
131
175
  "body1": {
132
176
  "part": "{id}-red"
133
177
  },
134
- "origin": {}
135
- }
136
- },
137
- {
138
- "kind": "set-material",
139
- "target": "{id}-pole",
140
- "material": {
141
- "token": "palette.tpl-7d8790"
142
- },
143
- "palette": {
144
- "palette.tpl-7d8790": "#7d8790"
178
+ "origin": {
179
+ "childRotate": {}
180
+ }
145
181
  }
146
182
  },
147
183
  {
@@ -149,61 +185,16 @@
149
185
  "target": "{id}-pole",
150
186
  "segments": 12
151
187
  },
152
- {
153
- "kind": "set-material",
154
- "target": "{id}-green",
155
- "material": {
156
- "token": "palette.tpl-2ecc71",
157
- "emissive": {
158
- "on": true,
159
- "token": "palette.tpl-2ecc71",
160
- "intensity": 1
161
- }
162
- },
163
- "palette": {
164
- "palette.tpl-2ecc71": "#2ecc71"
165
- }
166
- },
167
188
  {
168
189
  "kind": "set-segments",
169
190
  "target": "{id}-green",
170
191
  "segments": 12
171
192
  },
172
- {
173
- "kind": "set-material",
174
- "target": "{id}-amber",
175
- "material": {
176
- "token": "palette.tpl-f5a623",
177
- "emissive": {
178
- "on": true,
179
- "token": "palette.tpl-f5a623",
180
- "intensity": 1
181
- }
182
- },
183
- "palette": {
184
- "palette.tpl-f5a623": "#f5a623"
185
- }
186
- },
187
193
  {
188
194
  "kind": "set-segments",
189
195
  "target": "{id}-amber",
190
196
  "segments": 12
191
197
  },
192
- {
193
- "kind": "set-material",
194
- "target": "{id}-red",
195
- "material": {
196
- "token": "palette.tpl-e74c3c",
197
- "emissive": {
198
- "on": true,
199
- "token": "palette.tpl-e74c3c",
200
- "intensity": 1
201
- }
202
- },
203
- "palette": {
204
- "palette.tpl-e74c3c": "#e74c3c"
205
- }
206
- },
207
198
  {
208
199
  "kind": "set-segments",
209
200
  "target": "{id}-red",
@@ -12,7 +12,7 @@
12
12
  "en": "three-tier signal tower"
13
13
  },
14
14
  "description": {
15
- "ko": "선택한 부품 윗면의 한 모서리에 기둥과 빨강 · 노랑 · 초록 세 단 램프를 넣습니다. 조작값으로 켜지는 단이 바뀝니다.",
15
+ "ko": "선택한 부품 윗면 모서리에 기둥과 빨강·노랑·초록의 3단 신호등을 배치합니다. 조작값에 따라 켜지는 램프가 바뀝니다.",
16
16
  "en": "A pole and a red, amber and green lamp on a corner of the chosen part's top; a control lights them."
17
17
  },
18
18
  "params": []
@@ -4,7 +4,7 @@
4
4
  선택한 부품의 앞면에 문틀과 미닫이 문짝을 넣습니다.
5
5
 
6
6
  ## 넣는 것
7
- - 문틀 하나. 폭과 높이는 선택한 부품의 폭 · 높이에 대한 비율로 따라갑니다. 기둥과 윗틀 두께는 그대로입니다.
7
+ - 문틀 하나. 폭과 높이는 선택한 부품의 폭·높이에 지정한 비율을 적용하여 정해집니다. 기둥과 윗틀 두께는 그대로입니다.
8
8
  - 문짝 하나 또는 둘. 둘이면 가운데서 만나고, 조작값 하나로 양쪽으로 열립니다.
9
9
  - 열리면 켜지는 램프(선택할 때만).
10
10
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  1. 문을 달 부품(방)을 선택합니다. 문은 그 부품의 **앞면**에 붙습니다. 다른 면에 달려면 방을 돌려 놓습니다.
8
8
  2. **문틀 폭**과 **문틀 높이**를 방에 대한 %로 정합니다. 방 폭 4 m 에 35% 이면 문틀 폭은 1.4 m 입니다.
9
- 3. **문짝 수**를 선택합니다. 1 이면 한 장이 옆으로 밀리고, 2 이면 가운데서 만난 두 장이 양쪽으로 열립니다.
9
+ 3. **문짝 수**를 선택합니다. 1이면 문짝 하나가 옆으로 열리고, 2이면 중앙에서 맞닿은 문짝 두 개가 양쪽으로 열립니다.
10
10
  4. 문이 열려 있는 동안 켜지는 **램프**가 필요하면 켭니다.
11
11
  5. 「넣기」를 누릅니다.
12
12
 
@@ -27,7 +27,7 @@
27
27
  "en": "frame width (of the part's)"
28
28
  },
29
29
  "hint": {
30
- "ko": "선택한 부품 폭에 대한 문틀 폭",
30
+ "ko": "선택한 부품 폭 대비 문틀 폭 비율",
31
31
  "en": "the frame's width as a share of the chosen part's"
32
32
  }
33
33
  },
@@ -42,7 +42,7 @@
42
42
  "en": "frame height (of the part's)"
43
43
  },
44
44
  "hint": {
45
- "ko": "선택한 부품 높이에 대한 문틀 높이",
45
+ "ko": "선택한 부품 높이 대비 문틀 높이 비율",
46
46
  "en": "the frame's height as a share of the chosen part's"
47
47
  }
48
48
  },
@@ -89,7 +89,13 @@
89
89
  "depth": 300,
90
90
  "jamb": 300,
91
91
  "head": 700
92
+ },
93
+ "material": {
94
+ "token": "palette.primary"
92
95
  }
96
+ },
97
+ "palette": {
98
+ "palette.primary": "#477b9e"
93
99
  }
94
100
  },
95
101
  {
@@ -105,7 +111,13 @@
105
111
  "width": 800,
106
112
  "height": 2150,
107
113
  "depth": 40
114
+ },
115
+ "material": {
116
+ "token": "palette.tpl-5c7c96"
108
117
  }
118
+ },
119
+ "palette": {
120
+ "palette.tpl-5c7c96": "#5c7c96"
109
121
  }
110
122
  },
111
123
  {
@@ -121,7 +133,13 @@
121
133
  "width": 400,
122
134
  "height": 2150,
123
135
  "depth": 40
136
+ },
137
+ "material": {
138
+ "token": "palette.tpl-5c7c96"
124
139
  }
140
+ },
141
+ "palette": {
142
+ "palette.tpl-5c7c96": "#5c7c96"
125
143
  }
126
144
  },
127
145
  {
@@ -137,7 +155,13 @@
137
155
  "width": 400,
138
156
  "height": 2150,
139
157
  "depth": 40
158
+ },
159
+ "material": {
160
+ "token": "palette.tpl-5c7c96"
140
161
  }
162
+ },
163
+ "palette": {
164
+ "palette.tpl-5c7c96": "#5c7c96"
141
165
  }
142
166
  },
143
167
  {
@@ -152,7 +176,18 @@
152
176
  "dimensions": {
153
177
  "radius": 80,
154
178
  "length": 80
179
+ },
180
+ "material": {
181
+ "token": "palette.tpl-f79c40",
182
+ "emissive": {
183
+ "on": true,
184
+ "token": "palette.tpl-f79c40",
185
+ "intensity": 1
186
+ }
155
187
  }
188
+ },
189
+ "palette": {
190
+ "palette.tpl-f79c40": "#f79c40"
156
191
  }
157
192
  },
158
193
  {
@@ -265,7 +300,8 @@
265
300
  "origin": {
266
301
  "align": {
267
302
  "y": "min"
268
- }
303
+ },
304
+ "childRotate": {}
269
305
  }
270
306
  }
271
307
  },
@@ -288,7 +324,8 @@
288
324
  "facing": "meet",
289
325
  "align": {
290
326
  "y": "min"
291
- }
327
+ },
328
+ "childRotate": {}
292
329
  },
293
330
  "motion": [
294
331
  {
@@ -341,7 +378,8 @@
341
378
  "plus": 150
342
379
  }
343
380
  }
344
- }
381
+ },
382
+ "childRotate": {}
345
383
  },
346
384
  "motion": [
347
385
  {
@@ -364,6 +402,26 @@
364
402
  ]
365
403
  }
366
404
  },
405
+ {
406
+ "when": {
407
+ "param": "lamp",
408
+ "is": true
409
+ },
410
+ "kind": "set-joint",
411
+ "joint": {
412
+ "id": "{id}-lamp",
413
+ "body0": {
414
+ "part": "{id}-frame",
415
+ "face": "top"
416
+ },
417
+ "body1": {
418
+ "part": "{id}-lamp"
419
+ },
420
+ "origin": {
421
+ "childRotate": {}
422
+ }
423
+ }
424
+ },
367
425
  {
368
426
  "when": {
369
427
  "param": "leaves",
@@ -394,7 +452,8 @@
394
452
  "plus": -150
395
453
  }
396
454
  }
397
- }
455
+ },
456
+ "childRotate": {}
398
457
  },
399
458
  "motion": [
400
459
  {
@@ -408,77 +467,6 @@
408
467
  ]
409
468
  }
410
469
  },
411
- {
412
- "when": {
413
- "param": "lamp",
414
- "is": true
415
- },
416
- "kind": "set-joint",
417
- "joint": {
418
- "id": "{id}-lamp",
419
- "body0": {
420
- "part": "{id}-frame",
421
- "face": "top"
422
- },
423
- "body1": {
424
- "part": "{id}-lamp"
425
- },
426
- "origin": {}
427
- }
428
- },
429
- {
430
- "kind": "set-material",
431
- "target": "{id}-frame",
432
- "material": {
433
- "token": "palette.primary"
434
- },
435
- "palette": {
436
- "palette.primary": "#477b9e"
437
- }
438
- },
439
- {
440
- "kind": "set-material",
441
- "target": "{id}-left",
442
- "material": {
443
- "token": "palette.tpl-5c7c96"
444
- },
445
- "palette": {
446
- "palette.tpl-5c7c96": "#5c7c96"
447
- }
448
- },
449
- {
450
- "when": {
451
- "param": "leaves",
452
- "is": 2
453
- },
454
- "kind": "set-material",
455
- "target": "{id}-right",
456
- "material": {
457
- "token": "palette.tpl-5c7c96"
458
- },
459
- "palette": {
460
- "palette.tpl-5c7c96": "#5c7c96"
461
- }
462
- },
463
- {
464
- "when": {
465
- "param": "lamp",
466
- "is": true
467
- },
468
- "kind": "set-material",
469
- "target": "{id}-lamp",
470
- "material": {
471
- "token": "palette.tpl-f79c40",
472
- "emissive": {
473
- "on": true,
474
- "token": "palette.tpl-f79c40",
475
- "intensity": 1
476
- }
477
- },
478
- "palette": {
479
- "palette.tpl-f79c40": "#f79c40"
480
- }
481
- },
482
470
  {
483
471
  "when": {
484
472
  "param": "lamp",
@@ -10,11 +10,11 @@
10
10
  "params": [
11
11
  { "name": "share", "kind": "ratio", "default": 0.35, "min": 0.05, "max": 0.95,
12
12
  "label": { "ko": "문틀 폭 (부품 폭에 대해)", "en": "frame width (of the part's)" },
13
- "hint": { "ko": "선택한 부품 폭에 대한 문틀 폭", "en": "the frame's width as a share of the chosen part's" },
13
+ "hint": { "ko": "선택한 부품 폭 대비 문틀 폭 비율", "en": "the frame's width as a share of the chosen part's" },
14
14
  "bind": [{ "step": { "kind": "link-dimension", "part": "{id}-frame", "axis": "x" }, "path": "times" }] },
15
15
  { "name": "height", "kind": "ratio", "default": 0.95, "min": 0.3, "max": 1,
16
16
  "label": { "ko": "문틀 높이 (부품 높이에 대해)", "en": "frame height (of the part's)" },
17
- "hint": { "ko": "선택한 부품 높이에 대한 문틀 높이", "en": "the frame's height as a share of the chosen part's" },
17
+ "hint": { "ko": "선택한 부품 높이 대비 문틀 높이 비율", "en": "the frame's height as a share of the chosen part's" },
18
18
  "bind": [{ "step": { "kind": "link-dimension", "part": "{id}-frame", "axis": "y" }, "path": "times" }] },
19
19
  { "name": "leaves", "kind": "choice", "default": 2, "options": [1, 2],
20
20
  "label": { "ko": "문짝 수", "en": "leaves" },
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_STAIRS","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":"tread.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"tread.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"tread.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"tread.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.300","unit":"mm","value":300},{"id":"rise.mm.180","unit":"mm","value":180}],"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":"tread.shape","op":"extrude@1","args":["tread.start.value","tread.dimension.height","tread.dimension.width","tread.dimension.depth"],"outputs":{"shape":"tread.shapeValue"},"params":{"frame":"tread.local","axis":"y","section":"rectangle"}},{"id":"tread.pose","op":"rigid@1","args":["d.mm.0","tread.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"tread.poseValue"},"params":{"from":"tread.local","to":"tread.seat"}},{"id":"tread","op":"member@1","args":["tread.shapeValue","tread.poseValue"],"outputs":{"placed":"tread.placed"}},{"id":"tread.start","op":"mul@1","args":["tread.dimension.height","tread.k.centre"],"outputs":{"value":"tread.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":"tread.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"tread.on.host.seat.y.t0.value"}},{"id":"tread.on.host.pose.y.t0","op":"mul@1","args":["tread.dimension.height","k.ratio.0_5"],"outputs":{"value":"tread.on.host.pose.y.t0.value"}},{"id":"tread.seat.rigid","op":"rigid@1","args":["tread.row.start.0.times.value","tread.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"tread.seat.value"},"params":{"from":"tread.seat","to":"host.local"}},{"id":"tread.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"tread.row.start.0.times.value"}},{"id":"tread.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"tread.row.length.0.times.value"}},{"id":"tread.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"tread.row.length.1.times.value"}},{"id":"tread.row.length.1.sum","op":"add@1","args":["tread.row.length.0.times.value","tread.row.length.1.times.value"],"outputs":{"value":"tread.row.length.1.sum.value"}},{"id":"tread.layout","op":"fit-pitch@1","args":["tread.row.length.1.sum.value","d.mm.0","d.mm.0","tread.dimension.width","d.mm.300","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"tread.layout.value"}},{"id":"tread.assembly","op":"assembly@1","args":["tread.placed"],"outputs":{"assembly":"tread.assembly.value"}},{"id":"tread.row","op":"compose@1","args":["host.chain.value","tread.seat.value"],"outputs":{"pose":"tread.row.value"}},{"id":"tread.repeat","op":"repeat@1","args":["tread.layout.value","tread.assembly.value","tread.row.value","rise.mm.180"],"outputs":{"collection":"tread.repeat.value"},"params":{"axis":"x","riseAxis":"y"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":50,"host.size.z":1200,"tread.dimension.width":330,"tread.dimension.height":216,"tread.dimension.depth":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-34495e":"#34495e"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"tread","material":{"token":"palette.tpl-34495e"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"tread","body0":{"part":"host","face":"top"},"body1":{"part":"tread"},"origin":{},"repeat":{"axis":"X","pitch":300,"rise":{"axis":"Y","mm":180}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_STAIRS","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":"tread.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"tread.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"tread.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"tread.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.300","unit":"mm","value":300},{"id":"rise.mm.180","unit":"mm","value":180}],"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":"tread.shape","op":"extrude@1","args":["tread.start.value","tread.dimension.height","tread.dimension.width","tread.dimension.depth"],"outputs":{"shape":"tread.shapeValue"},"params":{"frame":"tread.local","axis":"y","section":"rectangle"}},{"id":"tread.pose","op":"rigid@1","args":["d.mm.0","tread.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"tread.poseValue"},"params":{"from":"tread.local","to":"tread.seat"}},{"id":"tread","op":"member@1","args":["tread.shapeValue","tread.poseValue"],"outputs":{"placed":"tread.placed"}},{"id":"tread.start","op":"mul@1","args":["tread.dimension.height","tread.k.centre"],"outputs":{"value":"tread.start.value"}},{"id":"tread.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"tread.row.start.0.times.value"}},{"id":"tread.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"tread.row.length.0.times.value"}},{"id":"tread.row.length.1.sum","op":"add@1","args":["tread.row.length.0.times.value","tread.row.length.0.times.value"],"outputs":{"value":"tread.row.length.1.sum.value"}},{"id":"tread.layout","op":"fit-pitch@1","args":["tread.row.length.1.sum.value","d.mm.0","d.mm.0","tread.dimension.width","d.mm.300","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"tread.layout.value"}},{"id":"tread.assembly","op":"assembly@1","args":["tread.placed"],"outputs":{"assembly":"tread.assembly.value"}},{"id":"tread.row","op":"compose@1","args":["host.chain.value","tread.seat.value"],"outputs":{"pose":"tread.row.value"}},{"id":"tread.repeat","op":"repeat@1","args":["tread.layout.value","tread.assembly.value","tread.row.value","rise.mm.180"],"outputs":{"collection":"tread.repeat.value"},"params":{"axis":"x","riseAxis":"y"}},{"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":"tread.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"tread.on.host.seat.y.t0.value"}},{"id":"tread.on.host.pose.y.t0","op":"mul@1","args":["tread.dimension.height","k.ratio.0_5"],"outputs":{"value":"tread.on.host.pose.y.t0.value"}},{"id":"tread.seat.rigid","op":"rigid@1","args":["tread.row.start.0.times.value","tread.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"tread.seat.value"},"params":{"from":"tread.seat","to":"host.local"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":50,"host.size.z":1200,"tread.dimension.width":330,"tread.dimension.height":216,"tread.dimension.depth":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-34495e":"#34495e"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"tread","material":{"token":"palette.tpl-34495e"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"tread","body0":{"part":"host","face":"top"},"body1":{"part":"tread"},"origin":{},"repeat":{"axis":"X","pitch":300,"rise":{"axis":"Y","mm":180}}}]}
@@ -5,7 +5,7 @@
5
5
  "en": "stairs"
6
6
  },
7
7
  "description": {
8
- "ko": "선택한 부품(바닥) 윗면에 한 단씩 오르는 계단 블록을 늘어놓습니다. 단 수는 바닥 길이를 따릅니다.",
8
+ "ko": "선택한 부품(바닥) 윗면에 높이가 한 단씩 증가하는 계단 블록을 배치합니다. 계단 수는 바닥 길이에 따라 정해집니다.",
9
9
  "en": "Stair blocks rising step by step along the chosen part's top (a floor); the number of steps follows its length."
10
10
  },
11
11
  "category": "support",
@@ -64,7 +64,13 @@
64
64
  "times": 1.2
65
65
  },
66
66
  "depth": 1000
67
+ },
68
+ "material": {
69
+ "token": "palette.tpl-34495e"
67
70
  }
71
+ },
72
+ "palette": {
73
+ "palette.tpl-34495e": "#34495e"
68
74
  }
69
75
  },
70
76
  {
@@ -78,7 +84,9 @@
78
84
  "body1": {
79
85
  "part": "{id}-tread"
80
86
  },
81
- "origin": {},
87
+ "origin": {
88
+ "childRotate": {}
89
+ },
82
90
  "repeat": {
83
91
  "axis": "X",
84
92
  "pitch": {
@@ -92,16 +100,6 @@
92
100
  }
93
101
  }
94
102
  }
95
- },
96
- {
97
- "kind": "set-material",
98
- "target": "{id}-tread",
99
- "material": {
100
- "token": "palette.tpl-34495e"
101
- },
102
- "palette": {
103
- "palette.tpl-34495e": "#34495e"
104
- }
105
103
  }
106
104
  ]
107
105
  }
@@ -12,7 +12,7 @@
12
12
  "en": "stairs"
13
13
  },
14
14
  "description": {
15
- "ko": "선택한 부품(바닥) 윗면에 한 단씩 오르는 계단 블록을 늘어놓습니다. 단 수는 바닥 길이를 따릅니다.",
15
+ "ko": "선택한 부품(바닥) 윗면에 높이가 한 단씩 증가하는 계단 블록을 배치합니다. 계단 수는 바닥 길이에 따라 정해집니다.",
16
16
  "en": "Stair blocks rising step by step along the chosen part's top (a floor); the number of steps follows its length."
17
17
  },
18
18
  "params": [