@things-factory/figure-service 10.1.200 → 10.1.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist-server/service/figure/figure-context.d.ts +1 -1
  2. package/dist-server/service/figure/figure-context.js +10 -4
  3. package/dist-server/service/figure/figure-context.js.map +1 -1
  4. package/dist-server/service/figure/figure-propose-steps.js +3 -3
  5. package/dist-server/service/figure/figure-propose-steps.js.map +1 -1
  6. package/dist-server/tsconfig.tsbuildinfo +1 -1
  7. package/package.json +3 -3
  8. package/recipes/_lib/model.mts +4 -4
  9. package/recipes/air-cylinder/build.mts +2 -2
  10. package/recipes/air-cylinder/models/default.json +1 -1
  11. package/recipes/air-cylinder/recipe.json +2 -4
  12. package/recipes/air-shower/build.mts +2 -2
  13. package/recipes/air-shower/models/default.json +1 -1
  14. package/recipes/air-shower/recipe.json +2 -4
  15. package/recipes/barrier-gate/build.mts +1 -1
  16. package/recipes/barrier-gate/models/default.json +1 -1
  17. package/recipes/barrier-gate/recipe.json +1 -2
  18. package/recipes/base-frame/build.mts +2 -2
  19. package/recipes/base-frame/models/default.json +1 -1
  20. package/recipes/base-frame/recipe.json +4 -8
  21. package/recipes/belt-surface/build.mts +1 -1
  22. package/recipes/belt-surface/models/default.json +1 -1
  23. package/recipes/belt-surface/recipe.json +1 -2
  24. package/recipes/bin-row/build.mts +1 -1
  25. package/recipes/bin-row/models/default.json +1 -1
  26. package/recipes/bin-row/recipe.json +1 -2
  27. package/recipes/bollard-row/build.mts +1 -1
  28. package/recipes/bollard-row/models/default.json +1 -1
  29. package/recipes/bollard-row/recipe.json +1 -2
  30. package/recipes/buzzer/build.mts +1 -1
  31. package/recipes/buzzer/models/default.json +1 -1
  32. package/recipes/buzzer/recipe.json +1 -2
  33. package/recipes/cabinet-doors/build.mts +2 -2
  34. package/recipes/cabinet-doors/models/default.json +1 -1
  35. package/recipes/cabinet-doors/models/doors=1.json +1 -1
  36. package/recipes/cabinet-doors/models/doors=2.json +1 -1
  37. package/recipes/cabinet-doors/recipe.json +2 -4
  38. package/recipes/cable-tray/build.mts +2 -2
  39. package/recipes/cable-tray/models/default.json +1 -1
  40. package/recipes/cable-tray/recipe.json +3 -6
  41. package/recipes/camera-mount/build.mts +2 -2
  42. package/recipes/camera-mount/models/default.json +1 -1
  43. package/recipes/camera-mount/recipe.json +2 -4
  44. package/recipes/canopy/build.mts +2 -2
  45. package/recipes/canopy/models/default.json +1 -1
  46. package/recipes/canopy/recipe.json +5 -10
  47. package/recipes/cart/build.mts +5 -5
  48. package/recipes/cart/models/default.json +1 -1
  49. package/recipes/cart/recipe.json +16 -36
  50. package/recipes/cart-handle/build.mts +2 -2
  51. package/recipes/cart-handle/models/default.json +1 -1
  52. package/recipes/cart-handle/recipe.json +3 -6
  53. package/recipes/casters-four/build.mts +2 -2
  54. package/recipes/casters-four/models/default.json +1 -1
  55. package/recipes/casters-four/recipe.json +12 -28
  56. package/recipes/ceiling-rail-carriage/build.mts +2 -2
  57. package/recipes/ceiling-rail-carriage/models/default.json +1 -1
  58. package/recipes/ceiling-rail-carriage/recipe.json +2 -4
  59. package/recipes/chain-rails/build.mts +2 -2
  60. package/recipes/chain-rails/models/default.json +1 -1
  61. package/recipes/chain-rails/recipe.json +2 -4
  62. package/recipes/charging-station/build.mts +2 -2
  63. package/recipes/charging-station/models/default.json +1 -1
  64. package/recipes/charging-station/recipe.json +2 -4
  65. package/recipes/column-row/build.mts +1 -1
  66. package/recipes/column-row/models/default.json +1 -1
  67. package/recipes/column-row/recipe.json +1 -2
  68. package/recipes/control-cabinet/build.mts +2 -2
  69. package/recipes/control-cabinet/models/default.json +1 -1
  70. package/recipes/control-cabinet/recipe.json +2 -4
  71. package/recipes/conveyor-skirts/build.mts +2 -2
  72. package/recipes/conveyor-skirts/models/default.json +1 -1
  73. package/recipes/conveyor-skirts/recipe.json +2 -4
  74. package/recipes/counter-display/build.mts +2 -2
  75. package/recipes/counter-display/models/default.json +1 -1
  76. package/recipes/counter-display/recipe.json +2 -4
  77. package/recipes/dock-bumpers/build.mts +1 -1
  78. package/recipes/dock-bumpers/models/default.json +1 -1
  79. package/recipes/dock-bumpers/recipe.json +2 -4
  80. package/recipes/dock-leveler/build.mts +1 -1
  81. package/recipes/dock-leveler/models/default.json +1 -1
  82. package/recipes/dock-leveler/recipe.json +1 -2
  83. package/recipes/double-hinged-door/build.mts +2 -2
  84. package/recipes/double-hinged-door/models/default.json +1 -1
  85. package/recipes/double-hinged-door/recipe.json +3 -6
  86. package/recipes/drawer-stack/build.mts +1 -1
  87. package/recipes/drawer-stack/models/default.json +1 -1
  88. package/recipes/drawer-stack/models/drawers=2.json +1 -1
  89. package/recipes/drawer-stack/models/drawers=3.json +1 -1
  90. package/recipes/drawer-stack/models/drawers=4.json +1 -1
  91. package/recipes/drawer-stack/recipe.json +9 -18
  92. package/recipes/drip-tray/build.mts +1 -1
  93. package/recipes/drip-tray/models/default.json +1 -1
  94. package/recipes/drip-tray/recipe.json +1 -2
  95. package/recipes/duct-fan/build.mts +2 -2
  96. package/recipes/duct-fan/models/default.json +1 -1
  97. package/recipes/duct-fan/recipe.json +2 -4
  98. package/recipes/emergency-stop/build.mts +2 -2
  99. package/recipes/emergency-stop/models/default.json +1 -1
  100. package/recipes/emergency-stop/recipe.json +2 -4
  101. package/recipes/end-covers/build.mts +2 -2
  102. package/recipes/end-covers/models/default.json +1 -1
  103. package/recipes/end-covers/recipe.json +2 -4
  104. package/recipes/ffu-row/build.mts +1 -1
  105. package/recipes/ffu-row/models/default.json +1 -1
  106. package/recipes/ffu-row/recipe.json +1 -2
  107. package/recipes/fire-extinguisher/build.mts +2 -2
  108. package/recipes/fire-extinguisher/models/default.json +1 -1
  109. package/recipes/fire-extinguisher/recipe.json +2 -4
  110. package/recipes/first-aid-box/build.mts +2 -2
  111. package/recipes/first-aid-box/models/default.json +1 -1
  112. package/recipes/first-aid-box/recipe.json +2 -4
  113. package/recipes/floor-zone/build.mts +2 -2
  114. package/recipes/floor-zone/models/default.json +1 -1
  115. package/recipes/floor-zone/recipe.json +4 -8
  116. package/recipes/folding-door/build.mts +3 -3
  117. package/recipes/folding-door/models/default.json +1 -1
  118. package/recipes/folding-door/recipe.json +3 -6
  119. package/recipes/fork/build.mts +1 -1
  120. package/recipes/fork/models/default.json +1 -1
  121. package/recipes/fork/recipe.json +2 -4
  122. package/recipes/gantry-frame/build.mts +2 -2
  123. package/recipes/gantry-frame/models/default.json +1 -1
  124. package/recipes/gantry-frame/recipe.json +3 -6
  125. package/recipes/gripper-2f/build.mts +2 -2
  126. package/recipes/gripper-2f/models/default.json +1 -1
  127. package/recipes/gripper-2f/recipe.json +3 -6
  128. package/recipes/guard-cover/build.mts +1 -1
  129. package/recipes/guard-cover/models/default.json +1 -1
  130. package/recipes/guard-cover/recipe.json +1 -2
  131. package/recipes/handrail/build.mts +2 -2
  132. package/recipes/handrail/models/default.json +1 -1
  133. package/recipes/handrail/recipe.json +2 -4
  134. package/recipes/hatch/build.mts +2 -2
  135. package/recipes/hatch/models/default.json +1 -1
  136. package/recipes/hatch/recipe.json +2 -4
  137. package/recipes/hinged-door/build.mts +2 -2
  138. package/recipes/hinged-door/models/default.json +1 -1
  139. package/recipes/hinged-door/models/hinge=left.json +1 -1
  140. package/recipes/hinged-door/models/hinge=right.json +1 -1
  141. package/recipes/hinged-door/recipe.json +3 -6
  142. package/recipes/hmi-monitor/build.mts +2 -2
  143. package/recipes/hmi-monitor/models/default.json +1 -1
  144. package/recipes/hmi-monitor/recipe.json +2 -4
  145. package/recipes/hopper/build.mts +2 -2
  146. package/recipes/hopper/models/default.json +1 -1
  147. package/recipes/hopper/recipe.json +2 -4
  148. package/recipes/interlock-switch/build.mts +1 -1
  149. package/recipes/interlock-switch/models/default.json +1 -1
  150. package/recipes/interlock-switch/recipe.json +1 -2
  151. package/recipes/junction-box/build.mts +1 -1
  152. package/recipes/junction-box/models/default.json +1 -1
  153. package/recipes/junction-box/recipe.json +1 -2
  154. package/recipes/ladder/build.mts +2 -2
  155. package/recipes/ladder/models/default.json +1 -1
  156. package/recipes/ladder/recipe.json +3 -6
  157. package/recipes/legs-four/build.mts +1 -1
  158. package/recipes/legs-four/models/default.json +1 -1
  159. package/recipes/legs-four/recipe.json +4 -8
  160. package/recipes/leveling-feet/build.mts +1 -1
  161. package/recipes/leveling-feet/models/default.json +1 -1
  162. package/recipes/leveling-feet/recipe.json +4 -8
  163. package/recipes/lift-updown/build.mts +1 -1
  164. package/recipes/lift-updown/models/default.json +1 -1
  165. package/recipes/lift-updown/recipe.json +1 -2
  166. package/recipes/light-curtain/build.mts +1 -1
  167. package/recipes/light-curtain/models/default.json +1 -1
  168. package/recipes/light-curtain/recipe.json +2 -4
  169. package/recipes/limit-switch/build.mts +2 -2
  170. package/recipes/limit-switch/models/default.json +1 -1
  171. package/recipes/limit-switch/recipe.json +2 -4
  172. package/recipes/linear-guide/build.mts +2 -2
  173. package/recipes/linear-guide/models/default.json +1 -1
  174. package/recipes/linear-guide/recipe.json +2 -4
  175. package/recipes/locker-row/build.mts +1 -1
  176. package/recipes/locker-row/models/default.json +1 -1
  177. package/recipes/locker-row/recipe.json +1 -2
  178. package/recipes/motor-box/build.mts +1 -1
  179. package/recipes/motor-box/models/default.json +1 -1
  180. package/recipes/motor-box/recipe.json +1 -2
  181. package/recipes/observation-window/build.mts +2 -2
  182. package/recipes/observation-window/models/default.json +1 -1
  183. package/recipes/observation-window/recipe.json +2 -4
  184. package/recipes/operator-panel/build.mts +2 -2
  185. package/recipes/operator-panel/models/buttons=2.json +1 -1
  186. package/recipes/operator-panel/models/buttons=3.json +1 -1
  187. package/recipes/operator-panel/models/buttons=4.json +1 -1
  188. package/recipes/operator-panel/models/buttons=5.json +1 -1
  189. package/recipes/operator-panel/models/default.json +1 -1
  190. package/recipes/operator-panel/recipe.json +5 -10
  191. package/recipes/pallet/build.mts +2 -2
  192. package/recipes/pallet/models/default.json +1 -1
  193. package/recipes/pallet/recipe.json +4 -8
  194. package/recipes/partition-wall/build.mts +2 -2
  195. package/recipes/partition-wall/models/default.json +1 -1
  196. package/recipes/partition-wall/recipe.json +3 -6
  197. package/recipes/pass-box/build.mts +2 -2
  198. package/recipes/pass-box/models/default.json +1 -1
  199. package/recipes/pass-box/recipe.json +2 -4
  200. package/recipes/peg-board/build.mts +2 -2
  201. package/recipes/peg-board/models/default.json +1 -1
  202. package/recipes/peg-board/recipe.json +2 -4
  203. package/recipes/photo-sensor-pair/build.mts +1 -1
  204. package/recipes/photo-sensor-pair/models/default.json +1 -1
  205. package/recipes/photo-sensor-pair/recipe.json +2 -4
  206. package/recipes/pipe-run/build.mts +1 -1
  207. package/recipes/pipe-run/models/default.json +1 -1
  208. package/recipes/pipe-run/recipe.json +4 -7
  209. package/recipes/platform/build.mts +2 -2
  210. package/recipes/platform/models/default.json +1 -1
  211. package/recipes/platform/recipe.json +5 -10
  212. package/recipes/power-box/build.mts +1 -1
  213. package/recipes/power-box/models/default.json +1 -1
  214. package/recipes/power-box/recipe.json +1 -2
  215. package/recipes/pressure-gauge/build.mts +1 -1
  216. package/recipes/pressure-gauge/models/default.json +1 -1
  217. package/recipes/pressure-gauge/recipe.json +1 -2
  218. package/recipes/pull-cord/build.mts +1 -1
  219. package/recipes/pull-cord/models/default.json +1 -1
  220. package/recipes/pull-cord/recipe.json +1 -2
  221. package/recipes/pump/build.mts +2 -2
  222. package/recipes/pump/models/default.json +1 -1
  223. package/recipes/pump/recipe.json +2 -4
  224. package/recipes/pusher/build.mts +1 -1
  225. package/recipes/pusher/models/default.json +1 -1
  226. package/recipes/pusher/recipe.json +1 -2
  227. package/recipes/robot-plinth/build.mts +2 -2
  228. package/recipes/robot-plinth/models/default.json +1 -1
  229. package/recipes/robot-plinth/recipe.json +2 -4
  230. package/recipes/roll-up-shutter/build.mts +2 -2
  231. package/recipes/roll-up-shutter/models/default.json +1 -1
  232. package/recipes/roll-up-shutter/recipe.json +2 -4
  233. package/recipes/roller-row/build.mts +1 -1
  234. package/recipes/roller-row/models/default.json +1 -1
  235. package/recipes/roller-row/recipe.json +5 -7
  236. package/recipes/room-shell/build.mts +3 -3
  237. package/recipes/room-shell/models/default.json +1 -1
  238. package/recipes/room-shell/recipe.json +5 -10
  239. package/recipes/rotating-beacon/build.mts +3 -3
  240. package/recipes/rotating-beacon/models/default.json +1 -1
  241. package/recipes/rotating-beacon/recipe.json +3 -6
  242. package/recipes/safety-fence/build.mts +2 -2
  243. package/recipes/safety-fence/models/default.json +1 -1
  244. package/recipes/safety-fence/recipe.json +2 -4
  245. package/recipes/safety-mat/build.mts +1 -1
  246. package/recipes/safety-mat/models/default.json +1 -1
  247. package/recipes/safety-mat/recipe.json +1 -2
  248. package/recipes/safety-sign-stand/build.mts +3 -3
  249. package/recipes/safety-sign-stand/models/default.json +1 -1
  250. package/recipes/safety-sign-stand/recipe.json +3 -6
  251. package/recipes/scanner-mount/build.mts +3 -3
  252. package/recipes/scanner-mount/models/default.json +1 -1
  253. package/recipes/scanner-mount/recipe.json +3 -6
  254. package/recipes/selector-switch/build.mts +2 -2
  255. package/recipes/selector-switch/models/default.json +1 -1
  256. package/recipes/selector-switch/recipe.json +2 -4
  257. package/recipes/shelf-tiers/build.mts +1 -1
  258. package/recipes/shelf-tiers/models/default.json +1 -1
  259. package/recipes/shelf-tiers/models/tiers=2.json +1 -1
  260. package/recipes/shelf-tiers/models/tiers=3.json +1 -1
  261. package/recipes/shelf-tiers/models/tiers=4.json +1 -1
  262. package/recipes/shelf-tiers/models/tiers=5.json +1 -1
  263. package/recipes/shelf-tiers/recipe.json +4 -8
  264. package/recipes/side-guides/build.mts +1 -1
  265. package/recipes/side-guides/models/default.json +1 -1
  266. package/recipes/side-guides/recipe.json +2 -4
  267. package/recipes/sign-board/build.mts +1 -1
  268. package/recipes/sign-board/models/default.json +1 -1
  269. package/recipes/sign-board/recipe.json +1 -2
  270. package/recipes/signal-tower-3/build.mts +2 -2
  271. package/recipes/signal-tower-3/models/default.json +1 -1
  272. package/recipes/signal-tower-3/recipe.json +4 -8
  273. package/recipes/sliding-door/build.mts +4 -4
  274. package/recipes/sliding-door/models/default.json +1 -1
  275. package/recipes/sliding-door/models/leaves=1,lamp=false.json +1 -1
  276. package/recipes/sliding-door/models/leaves=1,lamp=true.json +1 -1
  277. package/recipes/sliding-door/models/leaves=2,lamp=false.json +1 -1
  278. package/recipes/sliding-door/models/leaves=2,lamp=true.json +1 -1
  279. package/recipes/sliding-door/recipe.json +5 -10
  280. package/recipes/stairs/build.mts +1 -1
  281. package/recipes/stairs/models/default.json +1 -1
  282. package/recipes/stairs/recipe.json +1 -2
  283. package/recipes/status-lamp/build.mts +3 -3
  284. package/recipes/status-lamp/models/default.json +1 -1
  285. package/recipes/status-lamp/recipe.json +3 -6
  286. package/recipes/stopper/build.mts +1 -1
  287. package/recipes/stopper/models/default.json +1 -1
  288. package/recipes/stopper/recipe.json +1 -2
  289. package/recipes/suction-pads/build.mts +1 -1
  290. package/recipes/suction-pads/models/default.json +1 -1
  291. package/recipes/suction-pads/recipe.json +1 -2
  292. package/recipes/tank/build.mts +1 -1
  293. package/recipes/tank/models/default.json +1 -1
  294. package/recipes/tank/recipe.json +1 -2
  295. package/recipes/telescopic-arm/build.mts +2 -2
  296. package/recipes/telescopic-arm/models/default.json +1 -1
  297. package/recipes/telescopic-arm/recipe.json +2 -4
  298. package/recipes/toe-board/build.mts +1 -1
  299. package/recipes/toe-board/models/default.json +1 -1
  300. package/recipes/toe-board/recipe.json +1 -2
  301. package/recipes/tote/build.mts +1 -1
  302. package/recipes/tote/models/default.json +1 -1
  303. package/recipes/tote/recipe.json +1 -2
  304. package/recipes/traffic-cones/build.mts +2 -2
  305. package/recipes/traffic-cones/models/default.json +1 -1
  306. package/recipes/traffic-cones/recipe.json +2 -4
  307. package/recipes/transfer-belts/build.mts +1 -1
  308. package/recipes/transfer-belts/models/default.json +1 -1
  309. package/recipes/transfer-belts/recipe.json +2 -4
  310. package/recipes/tray-stack/build.mts +1 -1
  311. package/recipes/tray-stack/models/default.json +1 -1
  312. package/recipes/tray-stack/models/trays=3.json +1 -1
  313. package/recipes/tray-stack/models/trays=4.json +1 -1
  314. package/recipes/tray-stack/models/trays=5.json +1 -1
  315. package/recipes/tray-stack/recipe.json +5 -10
  316. package/recipes/trough/build.mts +1 -1
  317. package/recipes/trough/models/default.json +1 -1
  318. package/recipes/trough/recipe.json +1 -2
  319. package/recipes/turntable/build.mts +2 -2
  320. package/recipes/turntable/models/default.json +1 -1
  321. package/recipes/turntable/recipe.json +2 -4
  322. package/recipes/valve-handle/build.mts +3 -3
  323. package/recipes/valve-handle/models/default.json +1 -1
  324. package/recipes/valve-handle/recipe.json +3 -6
  325. package/recipes/waste-bin/build.mts +1 -1
  326. package/recipes/waste-bin/models/default.json +1 -1
  327. package/recipes/waste-bin/recipe.json +1 -2
  328. package/recipes/work-light/build.mts +3 -3
  329. package/recipes/work-light/models/default.json +1 -1
  330. package/recipes/work-light/recipe.json +3 -6
  331. package/recipes/workbench-top/build.mts +1 -1
  332. package/recipes/workbench-top/models/default.json +1 -1
  333. package/recipes/workbench-top/recipe.json +1 -2
  334. package/server/service/figure/figure-category-db.test.ts +1 -1
  335. package/server/service/figure/figure-context.test.ts +6 -6
  336. package/server/service/figure/figure-context.ts +11 -4
  337. package/server/service/figure/figure-deprecation-db.test.ts +1 -1
  338. package/server/service/figure/figure-format.test.ts +3 -3
  339. package/server/service/figure/figure-llm-smoke.test.ts +2 -2
  340. package/server/service/figure/figure-namespace-db.test.ts +1 -1
  341. package/server/service/figure/figure-propose-clips.test.ts +1 -1
  342. package/server/service/figure/figure-propose-steps.test.ts +5 -5
  343. package/server/service/figure/figure-propose-steps.ts +3 -3
  344. package/server/service/figure/figure-public-db.test.ts +1 -1
  345. package/server/service/figure/figure-release-check.test.ts +1 -1
  346. package/server/service/figure/figure-release-record-db.test.ts +1 -1
  347. package/server/service/figure/figure-tools.test.ts +2 -2
@@ -114,8 +114,7 @@
114
114
  "face": "top"
115
115
  },
116
116
  "body1": {
117
- "part": "{id}-floor",
118
- "face": "bottom"
117
+ "part": "{id}-floor"
119
118
  },
120
119
  "origin": {
121
120
  "align": {
@@ -134,8 +133,7 @@
134
133
  "face": "top"
135
134
  },
136
135
  "body1": {
137
- "part": "{id}-lip-back",
138
- "face": "bottom"
136
+ "part": "{id}-lip-back"
139
137
  },
140
138
  "origin": {
141
139
  "align": {
@@ -154,8 +152,7 @@
154
152
  "face": "top"
155
153
  },
156
154
  "body1": {
157
- "part": "{id}-lip-front",
158
- "face": "bottom"
155
+ "part": "{id}-lip-front"
159
156
  },
160
157
  "origin": {
161
158
  "align": {
@@ -3,8 +3,8 @@ import { host, Model } from '../_lib/model.mts'
3
3
 
4
4
  export default function build() {
5
5
  const m = new Model(host({ x: 1600, y: 1400, z: 1000 }, 'TPL_CAMERA_MOUNT'))
6
- m.box('post', 40, 400, 40).on('post', 'bottom', 'host', 'top', { x: 'min', z: 'max' }).colour('post', 'leg', '#7d8790')
7
- .box('camera', 180, 90, 90).on('camera', 'bottom', 'post', 'top').colour('camera', 'white', '#ffffff')
6
+ m.box('post', 40, 400, 40).on('post', 'host', 'top', { x: 'min', z: 'max' }).colour('post', 'leg', '#7d8790')
7
+ .box('camera', 180, 90, 90).on('camera', 'post', 'top').colour('camera', 'white', '#ffffff')
8
8
  .moves('camera', { type: 'revolute', axis: 'Y', lower: -90, upper: 90, state: 'pan' })
9
9
  return m.asset
10
10
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CAMERA_MOUNT","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"pan","unit":"deg","min":-90,"max":90,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"post.k.centre","unit":"ratio","value":-0.5},{"id":"camera.k.centre","unit":"ratio","value":-0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["post.on.host.own-edge.x.0.times.value","post.on.host.along.y.1.sum.value","post.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"place@1","args":["post.shapeValue","post.world.value"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"camera.shape","op":"extrude@1","args":["camera.start.value","camera.dimension.height","camera.dimension.width","camera.dimension.depth"],"outputs":{"shape":"camera.shapeValue"},"params":{"frame":"camera.local","axis":"y","section":"rectangle"}},{"id":"camera.pose","op":"rigid@1","args":["d.mm.0","camera.on.post.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.poseValue"},"params":{"from":"camera.local","to":"camera.seat"}},{"id":"camera","op":"place@1","args":["camera.shapeValue","camera.world.value"],"outputs":{"placed":"camera.placed"}},{"id":"camera.start","op":"mul@1","args":["camera.dimension.height","camera.k.centre"],"outputs":{"value":"camera.start.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.0.times.value"}},{"id":"post.on.host.along.y.0.times","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.along.y.0.times.value"}},{"id":"post.on.host.along.y.1.sum","op":"add@1","args":["post.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post.on.host.along.y.1.sum.value"}},{"id":"post.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"post.on.host.edge.x.0.times.value"}},{"id":"post.on.host.own-edge.x.0.times","op":"mul@1","args":["post.dimension.width","k.ratio.0_5"],"outputs":{"value":"post.on.host.own-edge.x.0.times.value"}},{"id":"post.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"post.on.host.edge.z.0.times.value"}},{"id":"post.on.host.own-edge.z.0.times","op":"mul@1","args":["post.dimension.depth","host.k.centre"],"outputs":{"value":"post.on.host.own-edge.z.0.times.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.on.host.edge.x.0.times.value","post.on.host.seat.y.0.times.value","post.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.chain","op":"compose@1","args":["post.seat.value","post.poseValue"],"outputs":{"pose":"post.chain.value"}},{"id":"post.world","op":"compose@1","args":["host.chain.value","post.chain.value"],"outputs":{"pose":"post.world.value"}},{"id":"camera.on.post.seat.y.0.times","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.seat.y.0.times.value"}},{"id":"camera.on.post.along.y.0.times","op":"mul@1","args":["camera.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.along.y.0.times.value"}},{"id":"camera.on.post.along.y.1.sum","op":"add@1","args":["camera.on.post.along.y.0.times.value","d.mm.0"],"outputs":{"value":"camera.on.post.along.y.1.sum.value"}},{"id":"camera.seat.rigid","op":"rigid@1","args":["d.mm.0","camera.on.post.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.seat.value"},"params":{"from":"camera.joint","to":"post.local"}},{"id":"camera.chain","op":"compose@1","args":["camera.seat.value","camera.turned.value"],"outputs":{"pose":"camera.chain.value"}},{"id":"camera.world","op":"compose@1","args":["post.world.value","camera.chain.value"],"outputs":{"pose":"camera.world.value"}},{"id":"camera.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","pan"],"outputs":{"pose":"camera.motion.value"},"params":{"from":"camera.seat","to":"camera.joint"}},{"id":"camera.turned","op":"compose@1","args":["camera.motion.value","camera.poseValue"],"outputs":{"pose":"camera.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"post.dimension.width":40,"post.dimension.height":400,"post.dimension.depth":40,"camera.dimension.width":180,"camera.dimension.height":90,"camera.dimension.depth":90},"stateDefaults":{"pan":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-ffffff":"#ffffff"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"camera","material":{"token":"palette.tpl-ffffff"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"post","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post","face":"bottom"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"camera","type":"revolute","body0":{"part":"post","face":"top"},"body1":{"part":"camera","face":"bottom"},"origin":{},"axis":"Y","lowerLimit":-90,"upperLimit":90,"state":{"id":"pan"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CAMERA_MOUNT","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"camera.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"pan","unit":"deg","min":-90,"max":90,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"post.k.centre","unit":"ratio","value":-0.5},{"id":"camera.k.centre","unit":"ratio","value":-0.5},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["post.on.host.pose.x.t0.value","post.on.host.pose.y.t0.value","post.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"place@1","args":["post.shapeValue","post.world.value"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"camera.shape","op":"extrude@1","args":["camera.start.value","camera.dimension.height","camera.dimension.width","camera.dimension.depth"],"outputs":{"shape":"camera.shapeValue"},"params":{"frame":"camera.local","axis":"y","section":"rectangle"}},{"id":"camera.pose","op":"rigid@1","args":["d.mm.0","camera.on.post.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.poseValue"},"params":{"from":"camera.local","to":"camera.seat"}},{"id":"camera","op":"place@1","args":["camera.shapeValue","camera.world.value"],"outputs":{"placed":"camera.placed"}},{"id":"camera.start","op":"mul@1","args":["camera.dimension.height","camera.k.centre"],"outputs":{"value":"camera.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"post.on.host.seat.x.t0.value"}},{"id":"post.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.t0.value"}},{"id":"post.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.x.t0","op":"mul@1","args":["post.dimension.width","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.x.t0.value"}},{"id":"post.on.host.pose.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.y.t0.value"}},{"id":"post.on.host.pose.z.t0","op":"mul@1","args":["post.dimension.depth","host.k.centre"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.on.host.seat.x.t0.value","post.on.host.seat.y.t0.value","post.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.chain","op":"compose@1","args":["post.seat.value","post.poseValue"],"outputs":{"pose":"post.chain.value"}},{"id":"post.world","op":"compose@1","args":["host.chain.value","post.chain.value"],"outputs":{"pose":"post.world.value"}},{"id":"camera.on.post.seat.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.seat.y.t0.value"}},{"id":"camera.on.post.pose.y.t0","op":"mul@1","args":["camera.dimension.height","k.ratio.0_5"],"outputs":{"value":"camera.on.post.pose.y.t0.value"}},{"id":"camera.seat.rigid","op":"rigid@1","args":["d.mm.0","camera.on.post.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"camera.seat.value"},"params":{"from":"camera.joint","to":"post.local"}},{"id":"camera.chain","op":"compose@1","args":["camera.seat.value","camera.turned.value"],"outputs":{"pose":"camera.chain.value"}},{"id":"camera.world","op":"compose@1","args":["post.world.value","camera.chain.value"],"outputs":{"pose":"camera.world.value"}},{"id":"camera.motion","op":"axis-turn@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","pan"],"outputs":{"pose":"camera.motion.value"},"params":{"from":"camera.seat","to":"camera.joint"}},{"id":"camera.turned","op":"compose@1","args":["camera.motion.value","camera.poseValue"],"outputs":{"pose":"camera.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"post.dimension.width":40,"post.dimension.height":400,"post.dimension.depth":40,"camera.dimension.width":180,"camera.dimension.height":90,"camera.dimension.depth":90},"stateDefaults":{"pan":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-ffffff":"#ffffff"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-7d8790"}},{"target":"camera","material":{"token":"palette.tpl-ffffff"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"post","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"camera","type":"revolute","body0":{"part":"post","face":"top"},"body1":{"part":"camera"},"origin":{},"axis":"Y","lowerLimit":-90,"upperLimit":90,"state":{"id":"pan"}}]}
@@ -51,8 +51,7 @@
51
51
  "face": "top"
52
52
  },
53
53
  "body1": {
54
- "part": "{id}-post",
55
- "face": "bottom"
54
+ "part": "{id}-post"
56
55
  },
57
56
  "origin": {
58
57
  "align": {
@@ -72,8 +71,7 @@
72
71
  "face": "top"
73
72
  },
74
73
  "body1": {
75
- "part": "{id}-camera",
76
- "face": "bottom"
74
+ "part": "{id}-camera"
77
75
  },
78
76
  "origin": {},
79
77
  "axis": "Y",
@@ -6,12 +6,12 @@ export default function build() {
6
6
  const corners = [['post-1', 'min', 'min'], ['post-2', 'min', 'max'], ['post-3', 'max', 'min'], ['post-4', 'max', 'max']] as const
7
7
  for (const [post, x, z] of corners)
8
8
  m.box(post, 100, 2500, 100)
9
- .on(post, 'bottom', 'host', 'top', { x, z })
9
+ .on(post, 'host', 'top', { x, z })
10
10
  .colour(post, 'palette.column', '#b8bfc6')
11
11
  m.box('roof', 6000, 60, 4000)
12
12
  .follow('roof', 'x', 'host', 'x')
13
13
  .follow('roof', 'z', 'host', 'z')
14
- .on('roof', 'bottom', 'host', 'top', undefined, 2500)
14
+ .on('roof', 'host', 'top', undefined, 2500)
15
15
  .colour('roof', 'palette.roof', '#6c7a89')
16
16
  return m.asset
17
17
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CANOPY","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"roof.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"post-1.k.centre","unit":"ratio","value":-0.5},{"id":"post-2.k.centre","unit":"ratio","value":-0.5},{"id":"post-3.k.centre","unit":"ratio","value":-0.5},{"id":"post-4.k.centre","unit":"ratio","value":-0.5},{"id":"roof.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"d.mm.2500","unit":"mm","value":2500}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post-1.shape","op":"extrude@1","args":["post-1.start.value","post-1.dimension.height","post-1.dimension.width","post-1.dimension.depth"],"outputs":{"shape":"post-1.shapeValue"},"params":{"frame":"post-1.local","axis":"y","section":"rectangle"}},{"id":"post-1.pose","op":"rigid@1","args":["post-1.on.host.own-edge.x.0.times.value","post-1.on.host.along.y.1.sum.value","post-1.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-1.poseValue"},"params":{"from":"post-1.local","to":"post-1.seat"}},{"id":"post-1","op":"place@1","args":["post-1.shapeValue","post-1.world.value"],"outputs":{"placed":"post-1.placed"}},{"id":"post-1.start","op":"mul@1","args":["post-1.dimension.height","post-1.k.centre"],"outputs":{"value":"post-1.start.value"}},{"id":"post-2.shape","op":"extrude@1","args":["post-2.start.value","post-2.dimension.height","post-2.dimension.width","post-2.dimension.depth"],"outputs":{"shape":"post-2.shapeValue"},"params":{"frame":"post-2.local","axis":"y","section":"rectangle"}},{"id":"post-2.pose","op":"rigid@1","args":["post-2.on.host.own-edge.x.0.times.value","post-2.on.host.along.y.1.sum.value","post-2.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-2.poseValue"},"params":{"from":"post-2.local","to":"post-2.seat"}},{"id":"post-2","op":"place@1","args":["post-2.shapeValue","post-2.world.value"],"outputs":{"placed":"post-2.placed"}},{"id":"post-2.start","op":"mul@1","args":["post-2.dimension.height","post-2.k.centre"],"outputs":{"value":"post-2.start.value"}},{"id":"post-3.shape","op":"extrude@1","args":["post-3.start.value","post-3.dimension.height","post-3.dimension.width","post-3.dimension.depth"],"outputs":{"shape":"post-3.shapeValue"},"params":{"frame":"post-3.local","axis":"y","section":"rectangle"}},{"id":"post-3.pose","op":"rigid@1","args":["post-3.on.host.own-edge.x.0.times.value","post-3.on.host.along.y.1.sum.value","post-3.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-3.poseValue"},"params":{"from":"post-3.local","to":"post-3.seat"}},{"id":"post-3","op":"place@1","args":["post-3.shapeValue","post-3.world.value"],"outputs":{"placed":"post-3.placed"}},{"id":"post-3.start","op":"mul@1","args":["post-3.dimension.height","post-3.k.centre"],"outputs":{"value":"post-3.start.value"}},{"id":"post-4.shape","op":"extrude@1","args":["post-4.start.value","post-4.dimension.height","post-4.dimension.width","post-4.dimension.depth"],"outputs":{"shape":"post-4.shapeValue"},"params":{"frame":"post-4.local","axis":"y","section":"rectangle"}},{"id":"post-4.pose","op":"rigid@1","args":["post-4.on.host.own-edge.x.0.times.value","post-4.on.host.along.y.1.sum.value","post-4.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-4.poseValue"},"params":{"from":"post-4.local","to":"post-4.seat"}},{"id":"post-4","op":"place@1","args":["post-4.shapeValue","post-4.world.value"],"outputs":{"placed":"post-4.placed"}},{"id":"post-4.start","op":"mul@1","args":["post-4.dimension.height","post-4.k.centre"],"outputs":{"value":"post-4.start.value"}},{"id":"roof.shape","op":"extrude@1","args":["roof.start.value","roof.dimension.height","roof.dimension.x.value","roof.dimension.z.value"],"outputs":{"shape":"roof.shapeValue"},"params":{"frame":"roof.local","axis":"y","section":"rectangle"}},{"id":"roof.pose","op":"rigid@1","args":["d.mm.0","roof.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"roof.poseValue"},"params":{"from":"roof.local","to":"roof.seat"}},{"id":"roof","op":"place@1","args":["roof.shapeValue","roof.world.value"],"outputs":{"placed":"roof.placed"}},{"id":"roof.start","op":"mul@1","args":["roof.dimension.height","roof.k.centre"],"outputs":{"value":"roof.start.value"}},{"id":"roof.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"roof.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"roof.dimension.z","op":"mul@1","args":["host.dimension.z.value","k.ratio.1"],"outputs":{"value":"roof.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post-1.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.seat.y.0.times.value"}},{"id":"post-1.on.host.along.y.0.times","op":"mul@1","args":["post-1.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.along.y.0.times.value"}},{"id":"post-1.on.host.along.y.1.sum","op":"add@1","args":["post-1.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post-1.on.host.along.y.1.sum.value"}},{"id":"post-1.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post-1.on.host.edge.x.0.times.value"}},{"id":"post-1.on.host.own-edge.x.0.times","op":"mul@1","args":["post-1.dimension.width","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.own-edge.x.0.times.value"}},{"id":"post-1.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"post-1.on.host.edge.z.0.times.value"}},{"id":"post-1.on.host.own-edge.z.0.times","op":"mul@1","args":["post-1.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.own-edge.z.0.times.value"}},{"id":"post-1.seat.rigid","op":"rigid@1","args":["post-1.on.host.edge.x.0.times.value","post-1.on.host.seat.y.0.times.value","post-1.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-1.seat.value"},"params":{"from":"post-1.seat","to":"host.local"}},{"id":"post-1.chain","op":"compose@1","args":["post-1.seat.value","post-1.poseValue"],"outputs":{"pose":"post-1.chain.value"}},{"id":"post-1.world","op":"compose@1","args":["host.chain.value","post-1.chain.value"],"outputs":{"pose":"post-1.world.value"}},{"id":"post-2.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.seat.y.0.times.value"}},{"id":"post-2.on.host.along.y.0.times","op":"mul@1","args":["post-2.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.along.y.0.times.value"}},{"id":"post-2.on.host.along.y.1.sum","op":"add@1","args":["post-2.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post-2.on.host.along.y.1.sum.value"}},{"id":"post-2.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post-2.on.host.edge.x.0.times.value"}},{"id":"post-2.on.host.own-edge.x.0.times","op":"mul@1","args":["post-2.dimension.width","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.own-edge.x.0.times.value"}},{"id":"post-2.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.edge.z.0.times.value"}},{"id":"post-2.on.host.own-edge.z.0.times","op":"mul@1","args":["post-2.dimension.depth","host.k.centre"],"outputs":{"value":"post-2.on.host.own-edge.z.0.times.value"}},{"id":"post-2.seat.rigid","op":"rigid@1","args":["post-2.on.host.edge.x.0.times.value","post-2.on.host.seat.y.0.times.value","post-2.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-2.seat.value"},"params":{"from":"post-2.seat","to":"host.local"}},{"id":"post-2.chain","op":"compose@1","args":["post-2.seat.value","post-2.poseValue"],"outputs":{"pose":"post-2.chain.value"}},{"id":"post-2.world","op":"compose@1","args":["host.chain.value","post-2.chain.value"],"outputs":{"pose":"post-2.world.value"}},{"id":"post-3.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.seat.y.0.times.value"}},{"id":"post-3.on.host.along.y.0.times","op":"mul@1","args":["post-3.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.along.y.0.times.value"}},{"id":"post-3.on.host.along.y.1.sum","op":"add@1","args":["post-3.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post-3.on.host.along.y.1.sum.value"}},{"id":"post-3.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.edge.x.0.times.value"}},{"id":"post-3.on.host.own-edge.x.0.times","op":"mul@1","args":["post-3.dimension.width","host.k.centre"],"outputs":{"value":"post-3.on.host.own-edge.x.0.times.value"}},{"id":"post-3.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"post-3.on.host.edge.z.0.times.value"}},{"id":"post-3.on.host.own-edge.z.0.times","op":"mul@1","args":["post-3.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.own-edge.z.0.times.value"}},{"id":"post-3.seat.rigid","op":"rigid@1","args":["post-3.on.host.edge.x.0.times.value","post-3.on.host.seat.y.0.times.value","post-3.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-3.seat.value"},"params":{"from":"post-3.seat","to":"host.local"}},{"id":"post-3.chain","op":"compose@1","args":["post-3.seat.value","post-3.poseValue"],"outputs":{"pose":"post-3.chain.value"}},{"id":"post-3.world","op":"compose@1","args":["host.chain.value","post-3.chain.value"],"outputs":{"pose":"post-3.world.value"}},{"id":"post-4.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.seat.y.0.times.value"}},{"id":"post-4.on.host.along.y.0.times","op":"mul@1","args":["post-4.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.along.y.0.times.value"}},{"id":"post-4.on.host.along.y.1.sum","op":"add@1","args":["post-4.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"post-4.on.host.along.y.1.sum.value"}},{"id":"post-4.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.edge.x.0.times.value"}},{"id":"post-4.on.host.own-edge.x.0.times","op":"mul@1","args":["post-4.dimension.width","host.k.centre"],"outputs":{"value":"post-4.on.host.own-edge.x.0.times.value"}},{"id":"post-4.on.host.edge.z.0.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.edge.z.0.times.value"}},{"id":"post-4.on.host.own-edge.z.0.times","op":"mul@1","args":["post-4.dimension.depth","host.k.centre"],"outputs":{"value":"post-4.on.host.own-edge.z.0.times.value"}},{"id":"post-4.seat.rigid","op":"rigid@1","args":["post-4.on.host.edge.x.0.times.value","post-4.on.host.seat.y.0.times.value","post-4.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-4.seat.value"},"params":{"from":"post-4.seat","to":"host.local"}},{"id":"post-4.chain","op":"compose@1","args":["post-4.seat.value","post-4.poseValue"],"outputs":{"pose":"post-4.chain.value"}},{"id":"post-4.world","op":"compose@1","args":["host.chain.value","post-4.chain.value"],"outputs":{"pose":"post-4.world.value"}},{"id":"roof.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"roof.on.host.seat.y.0.times.value"}},{"id":"roof.on.host.along.y.0.times","op":"mul@1","args":["roof.dimension.height","k.ratio.0_5"],"outputs":{"value":"roof.on.host.along.y.0.times.value"}},{"id":"roof.on.host.along.y.1.sum","op":"add@1","args":["roof.on.host.along.y.0.times.value","d.mm.2500"],"outputs":{"value":"roof.on.host.along.y.1.sum.value"}},{"id":"roof.seat.rigid","op":"rigid@1","args":["d.mm.0","roof.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"roof.seat.value"},"params":{"from":"roof.seat","to":"host.local"}},{"id":"roof.chain","op":"compose@1","args":["roof.seat.value","roof.poseValue"],"outputs":{"pose":"roof.chain.value"}},{"id":"roof.world","op":"compose@1","args":["host.chain.value","roof.chain.value"],"outputs":{"pose":"roof.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"post-1.dimension.width":100,"post-1.dimension.height":2500,"post-1.dimension.depth":100,"post-2.dimension.width":100,"post-2.dimension.height":2500,"post-2.dimension.depth":100,"post-3.dimension.width":100,"post-3.dimension.height":2500,"post-3.dimension.depth":100,"post-4.dimension.width":100,"post-4.dimension.height":2500,"post-4.dimension.depth":100,"roof.dimension.height":60},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b8bfc6":"#b8bfc6","palette.tpl-6c7a89":"#6c7a89"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post-1","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-2","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-3","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-4","material":{"token":"palette.tpl-b8bfc6"}},{"target":"roof","material":{"token":"palette.tpl-6c7a89"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"post-1","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-1","face":"bottom"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"post-2","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-2","face":"bottom"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"post-3","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-3","face":"bottom"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"post-4","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-4","face":"bottom"},"origin":{"align":{"x":"max","z":"max"}}},{"id":"roof","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"roof","face":"bottom"},"origin":{"gap":2500}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CANOPY","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-1.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-2.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-3.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post-4.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"roof.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"post-1.k.centre","unit":"ratio","value":-0.5},{"id":"post-2.k.centre","unit":"ratio","value":-0.5},{"id":"post-3.k.centre","unit":"ratio","value":-0.5},{"id":"post-4.k.centre","unit":"ratio","value":-0.5},{"id":"roof.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"d.mm.2500","unit":"mm","value":2500}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post-1.shape","op":"extrude@1","args":["post-1.start.value","post-1.dimension.height","post-1.dimension.width","post-1.dimension.depth"],"outputs":{"shape":"post-1.shapeValue"},"params":{"frame":"post-1.local","axis":"y","section":"rectangle"}},{"id":"post-1.pose","op":"rigid@1","args":["post-1.on.host.pose.x.t0.value","post-1.on.host.pose.y.t0.value","post-1.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-1.poseValue"},"params":{"from":"post-1.local","to":"post-1.seat"}},{"id":"post-1","op":"place@1","args":["post-1.shapeValue","post-1.world.value"],"outputs":{"placed":"post-1.placed"}},{"id":"post-1.start","op":"mul@1","args":["post-1.dimension.height","post-1.k.centre"],"outputs":{"value":"post-1.start.value"}},{"id":"post-2.shape","op":"extrude@1","args":["post-2.start.value","post-2.dimension.height","post-2.dimension.width","post-2.dimension.depth"],"outputs":{"shape":"post-2.shapeValue"},"params":{"frame":"post-2.local","axis":"y","section":"rectangle"}},{"id":"post-2.pose","op":"rigid@1","args":["post-2.on.host.pose.x.t0.value","post-2.on.host.pose.y.t0.value","post-2.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-2.poseValue"},"params":{"from":"post-2.local","to":"post-2.seat"}},{"id":"post-2","op":"place@1","args":["post-2.shapeValue","post-2.world.value"],"outputs":{"placed":"post-2.placed"}},{"id":"post-2.start","op":"mul@1","args":["post-2.dimension.height","post-2.k.centre"],"outputs":{"value":"post-2.start.value"}},{"id":"post-3.shape","op":"extrude@1","args":["post-3.start.value","post-3.dimension.height","post-3.dimension.width","post-3.dimension.depth"],"outputs":{"shape":"post-3.shapeValue"},"params":{"frame":"post-3.local","axis":"y","section":"rectangle"}},{"id":"post-3.pose","op":"rigid@1","args":["post-3.on.host.pose.x.t0.value","post-3.on.host.pose.y.t0.value","post-3.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-3.poseValue"},"params":{"from":"post-3.local","to":"post-3.seat"}},{"id":"post-3","op":"place@1","args":["post-3.shapeValue","post-3.world.value"],"outputs":{"placed":"post-3.placed"}},{"id":"post-3.start","op":"mul@1","args":["post-3.dimension.height","post-3.k.centre"],"outputs":{"value":"post-3.start.value"}},{"id":"post-4.shape","op":"extrude@1","args":["post-4.start.value","post-4.dimension.height","post-4.dimension.width","post-4.dimension.depth"],"outputs":{"shape":"post-4.shapeValue"},"params":{"frame":"post-4.local","axis":"y","section":"rectangle"}},{"id":"post-4.pose","op":"rigid@1","args":["post-4.on.host.pose.x.t0.value","post-4.on.host.pose.y.t0.value","post-4.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-4.poseValue"},"params":{"from":"post-4.local","to":"post-4.seat"}},{"id":"post-4","op":"place@1","args":["post-4.shapeValue","post-4.world.value"],"outputs":{"placed":"post-4.placed"}},{"id":"post-4.start","op":"mul@1","args":["post-4.dimension.height","post-4.k.centre"],"outputs":{"value":"post-4.start.value"}},{"id":"roof.shape","op":"extrude@1","args":["roof.start.value","roof.dimension.height","roof.dimension.x.value","roof.dimension.z.value"],"outputs":{"shape":"roof.shapeValue"},"params":{"frame":"roof.local","axis":"y","section":"rectangle"}},{"id":"roof.pose","op":"rigid@1","args":["d.mm.0","roof.on.host.pose.y.s0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"roof.poseValue"},"params":{"from":"roof.local","to":"roof.seat"}},{"id":"roof","op":"place@1","args":["roof.shapeValue","roof.world.value"],"outputs":{"placed":"roof.placed"}},{"id":"roof.start","op":"mul@1","args":["roof.dimension.height","roof.k.centre"],"outputs":{"value":"roof.start.value"}},{"id":"roof.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"roof.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"roof.dimension.z","op":"mul@1","args":["host.dimension.z.value","k.ratio.1"],"outputs":{"value":"roof.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post-1.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post-1.on.host.seat.x.t0.value"}},{"id":"post-1.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.seat.y.t0.value"}},{"id":"post-1.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"post-1.on.host.seat.z.t0.value"}},{"id":"post-1.on.host.pose.x.t0","op":"mul@1","args":["post-1.dimension.width","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.pose.x.t0.value"}},{"id":"post-1.on.host.pose.y.t0","op":"mul@1","args":["post-1.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.pose.y.t0.value"}},{"id":"post-1.on.host.pose.z.t0","op":"mul@1","args":["post-1.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post-1.on.host.pose.z.t0.value"}},{"id":"post-1.seat.rigid","op":"rigid@1","args":["post-1.on.host.seat.x.t0.value","post-1.on.host.seat.y.t0.value","post-1.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-1.seat.value"},"params":{"from":"post-1.seat","to":"host.local"}},{"id":"post-1.chain","op":"compose@1","args":["post-1.seat.value","post-1.poseValue"],"outputs":{"pose":"post-1.chain.value"}},{"id":"post-1.world","op":"compose@1","args":["host.chain.value","post-1.chain.value"],"outputs":{"pose":"post-1.world.value"}},{"id":"post-2.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post-2.on.host.seat.x.t0.value"}},{"id":"post-2.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.seat.y.t0.value"}},{"id":"post-2.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.seat.z.t0.value"}},{"id":"post-2.on.host.pose.x.t0","op":"mul@1","args":["post-2.dimension.width","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.pose.x.t0.value"}},{"id":"post-2.on.host.pose.y.t0","op":"mul@1","args":["post-2.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-2.on.host.pose.y.t0.value"}},{"id":"post-2.on.host.pose.z.t0","op":"mul@1","args":["post-2.dimension.depth","host.k.centre"],"outputs":{"value":"post-2.on.host.pose.z.t0.value"}},{"id":"post-2.seat.rigid","op":"rigid@1","args":["post-2.on.host.seat.x.t0.value","post-2.on.host.seat.y.t0.value","post-2.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-2.seat.value"},"params":{"from":"post-2.seat","to":"host.local"}},{"id":"post-2.chain","op":"compose@1","args":["post-2.seat.value","post-2.poseValue"],"outputs":{"pose":"post-2.chain.value"}},{"id":"post-2.world","op":"compose@1","args":["host.chain.value","post-2.chain.value"],"outputs":{"pose":"post-2.world.value"}},{"id":"post-3.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.seat.x.t0.value"}},{"id":"post-3.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.seat.y.t0.value"}},{"id":"post-3.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"post-3.on.host.seat.z.t0.value"}},{"id":"post-3.on.host.pose.x.t0","op":"mul@1","args":["post-3.dimension.width","host.k.centre"],"outputs":{"value":"post-3.on.host.pose.x.t0.value"}},{"id":"post-3.on.host.pose.y.t0","op":"mul@1","args":["post-3.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.pose.y.t0.value"}},{"id":"post-3.on.host.pose.z.t0","op":"mul@1","args":["post-3.dimension.depth","k.ratio.0_5"],"outputs":{"value":"post-3.on.host.pose.z.t0.value"}},{"id":"post-3.seat.rigid","op":"rigid@1","args":["post-3.on.host.seat.x.t0.value","post-3.on.host.seat.y.t0.value","post-3.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-3.seat.value"},"params":{"from":"post-3.seat","to":"host.local"}},{"id":"post-3.chain","op":"compose@1","args":["post-3.seat.value","post-3.poseValue"],"outputs":{"pose":"post-3.chain.value"}},{"id":"post-3.world","op":"compose@1","args":["host.chain.value","post-3.chain.value"],"outputs":{"pose":"post-3.world.value"}},{"id":"post-4.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.seat.x.t0.value"}},{"id":"post-4.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.seat.y.t0.value"}},{"id":"post-4.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.seat.z.t0.value"}},{"id":"post-4.on.host.pose.x.t0","op":"mul@1","args":["post-4.dimension.width","host.k.centre"],"outputs":{"value":"post-4.on.host.pose.x.t0.value"}},{"id":"post-4.on.host.pose.y.t0","op":"mul@1","args":["post-4.dimension.height","k.ratio.0_5"],"outputs":{"value":"post-4.on.host.pose.y.t0.value"}},{"id":"post-4.on.host.pose.z.t0","op":"mul@1","args":["post-4.dimension.depth","host.k.centre"],"outputs":{"value":"post-4.on.host.pose.z.t0.value"}},{"id":"post-4.seat.rigid","op":"rigid@1","args":["post-4.on.host.seat.x.t0.value","post-4.on.host.seat.y.t0.value","post-4.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post-4.seat.value"},"params":{"from":"post-4.seat","to":"host.local"}},{"id":"post-4.chain","op":"compose@1","args":["post-4.seat.value","post-4.poseValue"],"outputs":{"pose":"post-4.chain.value"}},{"id":"post-4.world","op":"compose@1","args":["host.chain.value","post-4.chain.value"],"outputs":{"pose":"post-4.world.value"}},{"id":"roof.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"roof.on.host.seat.y.t0.value"}},{"id":"roof.on.host.pose.y.t1","op":"mul@1","args":["roof.dimension.height","k.ratio.0_5"],"outputs":{"value":"roof.on.host.pose.y.t1.value"}},{"id":"roof.on.host.pose.y.s0","op":"add@1","args":["d.mm.2500","roof.on.host.pose.y.t1.value"],"outputs":{"value":"roof.on.host.pose.y.s0.value"}},{"id":"roof.seat.rigid","op":"rigid@1","args":["d.mm.0","roof.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"roof.seat.value"},"params":{"from":"roof.seat","to":"host.local"}},{"id":"roof.chain","op":"compose@1","args":["roof.seat.value","roof.poseValue"],"outputs":{"pose":"roof.chain.value"}},{"id":"roof.world","op":"compose@1","args":["host.chain.value","roof.chain.value"],"outputs":{"pose":"roof.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"post-1.dimension.width":100,"post-1.dimension.height":2500,"post-1.dimension.depth":100,"post-2.dimension.width":100,"post-2.dimension.height":2500,"post-2.dimension.depth":100,"post-3.dimension.width":100,"post-3.dimension.height":2500,"post-3.dimension.depth":100,"post-4.dimension.width":100,"post-4.dimension.height":2500,"post-4.dimension.depth":100,"roof.dimension.height":60},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b8bfc6":"#b8bfc6","palette.tpl-6c7a89":"#6c7a89"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post-1","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-2","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-3","material":{"token":"palette.tpl-b8bfc6"}},{"target":"post-4","material":{"token":"palette.tpl-b8bfc6"}},{"target":"roof","material":{"token":"palette.tpl-6c7a89"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"post-1","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-1"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"post-2","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-2"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"post-3","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-3"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"post-4","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post-4"},"origin":{"align":{"x":"max","z":"max"}}},{"id":"roof","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"roof"},"origin":{"gap":2500}}]}
@@ -133,8 +133,7 @@
133
133
  "face": "top"
134
134
  },
135
135
  "body1": {
136
- "part": "{id}-post-1",
137
- "face": "bottom"
136
+ "part": "{id}-post-1"
138
137
  },
139
138
  "origin": {
140
139
  "align": {
@@ -154,8 +153,7 @@
154
153
  "face": "top"
155
154
  },
156
155
  "body1": {
157
- "part": "{id}-post-2",
158
- "face": "bottom"
156
+ "part": "{id}-post-2"
159
157
  },
160
158
  "origin": {
161
159
  "align": {
@@ -175,8 +173,7 @@
175
173
  "face": "top"
176
174
  },
177
175
  "body1": {
178
- "part": "{id}-post-3",
179
- "face": "bottom"
176
+ "part": "{id}-post-3"
180
177
  },
181
178
  "origin": {
182
179
  "align": {
@@ -196,8 +193,7 @@
196
193
  "face": "top"
197
194
  },
198
195
  "body1": {
199
- "part": "{id}-post-4",
200
- "face": "bottom"
196
+ "part": "{id}-post-4"
201
197
  },
202
198
  "origin": {
203
199
  "align": {
@@ -217,8 +213,7 @@
217
213
  "face": "top"
218
214
  },
219
215
  "body1": {
220
- "part": "{id}-roof",
221
- "face": "bottom"
216
+ "part": "{id}-roof"
222
217
  },
223
218
  "origin": {
224
219
  "gap": {
@@ -4,21 +4,21 @@ import { host, Model } from '../_lib/model.mts'
4
4
  export default function build() {
5
5
  const m = new Model(host({ x: 3000, y: 50, z: 2000 }, 'TPL_CART'))
6
6
  m.box('deck', 1200, 40, 800)
7
- .on('deck', 'bottom', 'host', 'top', undefined, 140)
7
+ .on('deck', 'host', 'top', undefined, 140)
8
8
  .colour('deck', 'cart-deck', '#0b4f8a')
9
9
  const corners = [['1', 'min', 'min'], ['2', 'min', 'max'], ['3', 'max', 'min'], ['4', 'max', 'max']] as const
10
10
  for (const [n, x, z] of corners) {
11
11
  m.box(`fork-${n}`, 80, 40, 80)
12
- .on(`fork-${n}`, 'top', 'deck', 'bottom', { x, z })
12
+ .on(`fork-${n}`, 'deck', 'bottom', { x, z })
13
13
  .colour(`fork-${n}`, 'leg', '#7d8790')
14
14
  .add({ id: `wheel-${n}`, kind: 'cylinder', dimensions: { radius: 50, length: 30 }, rotation: { x: 90, y: 0, z: 0 } } as never)
15
- .on(`wheel-${n}`, 'top', `fork-${n}`, 'bottom')
15
+ .on(`wheel-${n}`, `fork-${n}`, 'bottom')
16
16
  .colour(`wheel-${n}`, 'wheel', '#2f3437')
17
17
  }
18
18
  for (const [p, x] of [['post-left', 'min'], ['post-right', 'max']] as const)
19
- m.box(p, 30, 900, 30).on(p, 'bottom', 'deck', 'top', { x, z: 'min' }).colour(p, 'rail', '#9aa3ab')
19
+ m.box(p, 30, 900, 30).on(p, 'deck', 'top', { x, z: 'min' }).colour(p, 'rail', '#9aa3ab')
20
20
  m.box('grip', 1200, 30, 30)
21
- .on('grip', 'bottom', 'deck', 'top', { z: 'min' }, 900)
21
+ .on('grip', 'deck', 'top', { z: 'min' }, 900)
22
22
  .colour('grip', 'rail', '#9aa3ab')
23
23
  return m.asset
24
24
  }