@things-factory/figure-service 10.1.198 → 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 +20 -40
  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 +16 -32
  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
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CASTERS_FOUR","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":"fork-1.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-1.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-1.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-1.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-1.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-2.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-2.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-3.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-3.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-4.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-4.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"d.mm.140","unit":"mm","value":140},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"fork-1.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"wheel-1.k.centre","unit":"ratio","value":-0.5},{"id":"a.deg.90","unit":"deg","value":90},{"id":"fork-2.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-2.k.centre","unit":"ratio","value":-0.5},{"id":"fork-3.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-3.k.centre","unit":"ratio","value":-0.5},{"id":"fork-4.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-4.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.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":"fork-1.shape","op":"extrude@1","args":["fork-1.start.value","fork-1.dimension.height","fork-1.dimension.width","fork-1.dimension.depth"],"outputs":{"shape":"fork-1.shapeValue"},"params":{"frame":"fork-1.local","axis":"y","section":"rectangle"}},{"id":"fork-1.pose","op":"rigid@1","args":["fork-1.on.host.own-edge.x.0.times.value","fork-1.on.host.along.y.1.sum.value","fork-1.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-1.poseValue"},"params":{"from":"fork-1.local","to":"fork-1.seat"}},{"id":"fork-1","op":"place@1","args":["fork-1.shapeValue","fork-1.world.value"],"outputs":{"placed":"fork-1.placed"}},{"id":"fork-1.start","op":"mul@1","args":["fork-1.dimension.height","fork-1.k.centre"],"outputs":{"value":"fork-1.start.value"}},{"id":"wheel-1.shape","op":"extrude@1","args":["wheel-1.start.value","wheel-1.dimension.length","wheel-1.dimension.radius","wheel-1.dimension.radius"],"outputs":{"shape":"wheel-1.shapeValue"},"params":{"frame":"wheel-1.local","axis":"y","section":"ellipse"}},{"id":"wheel-1.pose","op":"rigid@1","args":["d.mm.0","wheel-1.on.fork-1.along.y.1.sum.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-1.poseValue"},"params":{"from":"wheel-1.local","to":"wheel-1.seat"}},{"id":"wheel-1","op":"place@1","args":["wheel-1.shapeValue","wheel-1.world.value"],"outputs":{"placed":"wheel-1.placed"}},{"id":"wheel-1.start","op":"mul@1","args":["wheel-1.dimension.length","wheel-1.k.centre"],"outputs":{"value":"wheel-1.start.value"}},{"id":"fork-2.shape","op":"extrude@1","args":["fork-2.start.value","fork-2.dimension.height","fork-2.dimension.width","fork-2.dimension.depth"],"outputs":{"shape":"fork-2.shapeValue"},"params":{"frame":"fork-2.local","axis":"y","section":"rectangle"}},{"id":"fork-2.pose","op":"rigid@1","args":["fork-2.on.host.own-edge.x.0.times.value","fork-2.on.host.along.y.1.sum.value","fork-2.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-2.poseValue"},"params":{"from":"fork-2.local","to":"fork-2.seat"}},{"id":"fork-2","op":"place@1","args":["fork-2.shapeValue","fork-2.world.value"],"outputs":{"placed":"fork-2.placed"}},{"id":"fork-2.start","op":"mul@1","args":["fork-2.dimension.height","fork-2.k.centre"],"outputs":{"value":"fork-2.start.value"}},{"id":"wheel-2.shape","op":"extrude@1","args":["wheel-2.start.value","wheel-2.dimension.length","wheel-2.dimension.radius","wheel-2.dimension.radius"],"outputs":{"shape":"wheel-2.shapeValue"},"params":{"frame":"wheel-2.local","axis":"y","section":"ellipse"}},{"id":"wheel-2.pose","op":"rigid@1","args":["d.mm.0","wheel-2.on.fork-2.along.y.1.sum.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-2.poseValue"},"params":{"from":"wheel-2.local","to":"wheel-2.seat"}},{"id":"wheel-2","op":"place@1","args":["wheel-2.shapeValue","wheel-2.world.value"],"outputs":{"placed":"wheel-2.placed"}},{"id":"wheel-2.start","op":"mul@1","args":["wheel-2.dimension.length","wheel-2.k.centre"],"outputs":{"value":"wheel-2.start.value"}},{"id":"fork-3.shape","op":"extrude@1","args":["fork-3.start.value","fork-3.dimension.height","fork-3.dimension.width","fork-3.dimension.depth"],"outputs":{"shape":"fork-3.shapeValue"},"params":{"frame":"fork-3.local","axis":"y","section":"rectangle"}},{"id":"fork-3.pose","op":"rigid@1","args":["fork-3.on.host.own-edge.x.0.times.value","fork-3.on.host.along.y.1.sum.value","fork-3.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-3.poseValue"},"params":{"from":"fork-3.local","to":"fork-3.seat"}},{"id":"fork-3","op":"place@1","args":["fork-3.shapeValue","fork-3.world.value"],"outputs":{"placed":"fork-3.placed"}},{"id":"fork-3.start","op":"mul@1","args":["fork-3.dimension.height","fork-3.k.centre"],"outputs":{"value":"fork-3.start.value"}},{"id":"wheel-3.shape","op":"extrude@1","args":["wheel-3.start.value","wheel-3.dimension.length","wheel-3.dimension.radius","wheel-3.dimension.radius"],"outputs":{"shape":"wheel-3.shapeValue"},"params":{"frame":"wheel-3.local","axis":"y","section":"ellipse"}},{"id":"wheel-3.pose","op":"rigid@1","args":["d.mm.0","wheel-3.on.fork-3.along.y.1.sum.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-3.poseValue"},"params":{"from":"wheel-3.local","to":"wheel-3.seat"}},{"id":"wheel-3","op":"place@1","args":["wheel-3.shapeValue","wheel-3.world.value"],"outputs":{"placed":"wheel-3.placed"}},{"id":"wheel-3.start","op":"mul@1","args":["wheel-3.dimension.length","wheel-3.k.centre"],"outputs":{"value":"wheel-3.start.value"}},{"id":"fork-4.shape","op":"extrude@1","args":["fork-4.start.value","fork-4.dimension.height","fork-4.dimension.width","fork-4.dimension.depth"],"outputs":{"shape":"fork-4.shapeValue"},"params":{"frame":"fork-4.local","axis":"y","section":"rectangle"}},{"id":"fork-4.pose","op":"rigid@1","args":["fork-4.on.host.own-edge.x.0.times.value","fork-4.on.host.along.y.1.sum.value","fork-4.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-4.poseValue"},"params":{"from":"fork-4.local","to":"fork-4.seat"}},{"id":"fork-4","op":"place@1","args":["fork-4.shapeValue","fork-4.world.value"],"outputs":{"placed":"fork-4.placed"}},{"id":"fork-4.start","op":"mul@1","args":["fork-4.dimension.height","fork-4.k.centre"],"outputs":{"value":"fork-4.start.value"}},{"id":"wheel-4.shape","op":"extrude@1","args":["wheel-4.start.value","wheel-4.dimension.length","wheel-4.dimension.radius","wheel-4.dimension.radius"],"outputs":{"shape":"wheel-4.shapeValue"},"params":{"frame":"wheel-4.local","axis":"y","section":"ellipse"}},{"id":"wheel-4.pose","op":"rigid@1","args":["d.mm.0","wheel-4.on.fork-4.along.y.1.sum.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-4.poseValue"},"params":{"from":"wheel-4.local","to":"wheel-4.seat"}},{"id":"wheel-4","op":"place@1","args":["wheel-4.shapeValue","wheel-4.world.value"],"outputs":{"placed":"wheel-4.placed"}},{"id":"wheel-4.start","op":"mul@1","args":["wheel-4.dimension.length","wheel-4.k.centre"],"outputs":{"value":"wheel-4.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.140"],"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":"fork-1.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-1.on.host.seat.y.0.times.value"}},{"id":"fork-1.on.host.along.y.0.times","op":"mul@1","args":["fork-1.dimension.height","host.k.centre"],"outputs":{"value":"fork-1.on.host.along.y.0.times.value"}},{"id":"fork-1.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"fork-1.on.host.along.y.1.times.value"}},{"id":"fork-1.on.host.along.y.1.sum","op":"add@1","args":["fork-1.on.host.along.y.0.times.value","fork-1.on.host.along.y.1.times.value"],"outputs":{"value":"fork-1.on.host.along.y.1.sum.value"}},{"id":"fork-1.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"fork-1.on.host.edge.x.0.times.value"}},{"id":"fork-1.on.host.own-edge.x.0.times","op":"mul@1","args":["fork-1.dimension.width","k.ratio.0_5"],"outputs":{"value":"fork-1.on.host.own-edge.x.0.times.value"}},{"id":"fork-1.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"fork-1.on.host.edge.z.0.times.value"}},{"id":"fork-1.on.host.own-edge.z.0.times","op":"mul@1","args":["fork-1.dimension.depth","k.ratio.0_5"],"outputs":{"value":"fork-1.on.host.own-edge.z.0.times.value"}},{"id":"fork-1.seat.rigid","op":"rigid@1","args":["fork-1.on.host.edge.x.0.times.value","fork-1.on.host.seat.y.0.times.value","fork-1.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-1.seat.value"},"params":{"from":"fork-1.seat","to":"host.local"}},{"id":"fork-1.chain","op":"compose@1","args":["fork-1.seat.value","fork-1.poseValue"],"outputs":{"pose":"fork-1.chain.value"}},{"id":"fork-1.world","op":"compose@1","args":["host.chain.value","fork-1.chain.value"],"outputs":{"pose":"fork-1.world.value"}},{"id":"fork-2.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-2.on.host.seat.y.0.times.value"}},{"id":"fork-2.on.host.along.y.0.times","op":"mul@1","args":["fork-2.dimension.height","host.k.centre"],"outputs":{"value":"fork-2.on.host.along.y.0.times.value"}},{"id":"fork-2.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"fork-2.on.host.along.y.1.times.value"}},{"id":"fork-2.on.host.along.y.1.sum","op":"add@1","args":["fork-2.on.host.along.y.0.times.value","fork-2.on.host.along.y.1.times.value"],"outputs":{"value":"fork-2.on.host.along.y.1.sum.value"}},{"id":"fork-2.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"fork-2.on.host.edge.x.0.times.value"}},{"id":"fork-2.on.host.own-edge.x.0.times","op":"mul@1","args":["fork-2.dimension.width","k.ratio.0_5"],"outputs":{"value":"fork-2.on.host.own-edge.x.0.times.value"}},{"id":"fork-2.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"fork-2.on.host.edge.z.0.times.value"}},{"id":"fork-2.on.host.own-edge.z.0.times","op":"mul@1","args":["fork-2.dimension.depth","host.k.centre"],"outputs":{"value":"fork-2.on.host.own-edge.z.0.times.value"}},{"id":"fork-2.seat.rigid","op":"rigid@1","args":["fork-2.on.host.edge.x.0.times.value","fork-2.on.host.seat.y.0.times.value","fork-2.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-2.seat.value"},"params":{"from":"fork-2.seat","to":"host.local"}},{"id":"fork-2.chain","op":"compose@1","args":["fork-2.seat.value","fork-2.poseValue"],"outputs":{"pose":"fork-2.chain.value"}},{"id":"fork-2.world","op":"compose@1","args":["host.chain.value","fork-2.chain.value"],"outputs":{"pose":"fork-2.world.value"}},{"id":"fork-3.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-3.on.host.seat.y.0.times.value"}},{"id":"fork-3.on.host.along.y.0.times","op":"mul@1","args":["fork-3.dimension.height","host.k.centre"],"outputs":{"value":"fork-3.on.host.along.y.0.times.value"}},{"id":"fork-3.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"fork-3.on.host.along.y.1.times.value"}},{"id":"fork-3.on.host.along.y.1.sum","op":"add@1","args":["fork-3.on.host.along.y.0.times.value","fork-3.on.host.along.y.1.times.value"],"outputs":{"value":"fork-3.on.host.along.y.1.sum.value"}},{"id":"fork-3.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"fork-3.on.host.edge.x.0.times.value"}},{"id":"fork-3.on.host.own-edge.x.0.times","op":"mul@1","args":["fork-3.dimension.width","host.k.centre"],"outputs":{"value":"fork-3.on.host.own-edge.x.0.times.value"}},{"id":"fork-3.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"fork-3.on.host.edge.z.0.times.value"}},{"id":"fork-3.on.host.own-edge.z.0.times","op":"mul@1","args":["fork-3.dimension.depth","k.ratio.0_5"],"outputs":{"value":"fork-3.on.host.own-edge.z.0.times.value"}},{"id":"fork-3.seat.rigid","op":"rigid@1","args":["fork-3.on.host.edge.x.0.times.value","fork-3.on.host.seat.y.0.times.value","fork-3.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-3.seat.value"},"params":{"from":"fork-3.seat","to":"host.local"}},{"id":"fork-3.chain","op":"compose@1","args":["fork-3.seat.value","fork-3.poseValue"],"outputs":{"pose":"fork-3.chain.value"}},{"id":"fork-3.world","op":"compose@1","args":["host.chain.value","fork-3.chain.value"],"outputs":{"pose":"fork-3.world.value"}},{"id":"fork-4.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-4.on.host.seat.y.0.times.value"}},{"id":"fork-4.on.host.along.y.0.times","op":"mul@1","args":["fork-4.dimension.height","host.k.centre"],"outputs":{"value":"fork-4.on.host.along.y.0.times.value"}},{"id":"fork-4.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"fork-4.on.host.along.y.1.times.value"}},{"id":"fork-4.on.host.along.y.1.sum","op":"add@1","args":["fork-4.on.host.along.y.0.times.value","fork-4.on.host.along.y.1.times.value"],"outputs":{"value":"fork-4.on.host.along.y.1.sum.value"}},{"id":"fork-4.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"fork-4.on.host.edge.x.0.times.value"}},{"id":"fork-4.on.host.own-edge.x.0.times","op":"mul@1","args":["fork-4.dimension.width","host.k.centre"],"outputs":{"value":"fork-4.on.host.own-edge.x.0.times.value"}},{"id":"fork-4.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"fork-4.on.host.edge.z.0.times.value"}},{"id":"fork-4.on.host.own-edge.z.0.times","op":"mul@1","args":["fork-4.dimension.depth","host.k.centre"],"outputs":{"value":"fork-4.on.host.own-edge.z.0.times.value"}},{"id":"fork-4.seat.rigid","op":"rigid@1","args":["fork-4.on.host.edge.x.0.times.value","fork-4.on.host.seat.y.0.times.value","fork-4.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-4.seat.value"},"params":{"from":"fork-4.seat","to":"host.local"}},{"id":"fork-4.chain","op":"compose@1","args":["fork-4.seat.value","fork-4.poseValue"],"outputs":{"pose":"fork-4.chain.value"}},{"id":"fork-4.world","op":"compose@1","args":["host.chain.value","fork-4.chain.value"],"outputs":{"pose":"fork-4.world.value"}},{"id":"wheel-1.on.fork-1.seat.y.0.times","op":"mul@1","args":["fork-1.dimension.height","host.k.centre"],"outputs":{"value":"wheel-1.on.fork-1.seat.y.0.times.value"}},{"id":"wheel-1.on.fork-1.along.y.0.times","op":"mul@1","args":["wheel-1.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-1.on.fork-1.along.y.0.times.value"}},{"id":"wheel-1.on.fork-1.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"wheel-1.on.fork-1.along.y.1.times.value"}},{"id":"wheel-1.on.fork-1.along.y.1.sum","op":"add@1","args":["wheel-1.on.fork-1.along.y.0.times.value","wheel-1.on.fork-1.along.y.1.times.value"],"outputs":{"value":"wheel-1.on.fork-1.along.y.1.sum.value"}},{"id":"wheel-1.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-1.on.fork-1.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-1.seat.value"},"params":{"from":"wheel-1.seat","to":"fork-1.local"}},{"id":"wheel-1.chain","op":"compose@1","args":["wheel-1.seat.value","wheel-1.poseValue"],"outputs":{"pose":"wheel-1.chain.value"}},{"id":"wheel-1.world","op":"compose@1","args":["fork-1.world.value","wheel-1.chain.value"],"outputs":{"pose":"wheel-1.world.value"}},{"id":"wheel-2.on.fork-2.seat.y.0.times","op":"mul@1","args":["fork-2.dimension.height","host.k.centre"],"outputs":{"value":"wheel-2.on.fork-2.seat.y.0.times.value"}},{"id":"wheel-2.on.fork-2.along.y.0.times","op":"mul@1","args":["wheel-2.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-2.on.fork-2.along.y.0.times.value"}},{"id":"wheel-2.on.fork-2.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"wheel-2.on.fork-2.along.y.1.times.value"}},{"id":"wheel-2.on.fork-2.along.y.1.sum","op":"add@1","args":["wheel-2.on.fork-2.along.y.0.times.value","wheel-2.on.fork-2.along.y.1.times.value"],"outputs":{"value":"wheel-2.on.fork-2.along.y.1.sum.value"}},{"id":"wheel-2.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-2.on.fork-2.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-2.seat.value"},"params":{"from":"wheel-2.seat","to":"fork-2.local"}},{"id":"wheel-2.chain","op":"compose@1","args":["wheel-2.seat.value","wheel-2.poseValue"],"outputs":{"pose":"wheel-2.chain.value"}},{"id":"wheel-2.world","op":"compose@1","args":["fork-2.world.value","wheel-2.chain.value"],"outputs":{"pose":"wheel-2.world.value"}},{"id":"wheel-3.on.fork-3.seat.y.0.times","op":"mul@1","args":["fork-3.dimension.height","host.k.centre"],"outputs":{"value":"wheel-3.on.fork-3.seat.y.0.times.value"}},{"id":"wheel-3.on.fork-3.along.y.0.times","op":"mul@1","args":["wheel-3.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-3.on.fork-3.along.y.0.times.value"}},{"id":"wheel-3.on.fork-3.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"wheel-3.on.fork-3.along.y.1.times.value"}},{"id":"wheel-3.on.fork-3.along.y.1.sum","op":"add@1","args":["wheel-3.on.fork-3.along.y.0.times.value","wheel-3.on.fork-3.along.y.1.times.value"],"outputs":{"value":"wheel-3.on.fork-3.along.y.1.sum.value"}},{"id":"wheel-3.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-3.on.fork-3.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-3.seat.value"},"params":{"from":"wheel-3.seat","to":"fork-3.local"}},{"id":"wheel-3.chain","op":"compose@1","args":["wheel-3.seat.value","wheel-3.poseValue"],"outputs":{"pose":"wheel-3.chain.value"}},{"id":"wheel-3.world","op":"compose@1","args":["fork-3.world.value","wheel-3.chain.value"],"outputs":{"pose":"wheel-3.world.value"}},{"id":"wheel-4.on.fork-4.seat.y.0.times","op":"mul@1","args":["fork-4.dimension.height","host.k.centre"],"outputs":{"value":"wheel-4.on.fork-4.seat.y.0.times.value"}},{"id":"wheel-4.on.fork-4.along.y.0.times","op":"mul@1","args":["wheel-4.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-4.on.fork-4.along.y.0.times.value"}},{"id":"wheel-4.on.fork-4.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"wheel-4.on.fork-4.along.y.1.times.value"}},{"id":"wheel-4.on.fork-4.along.y.1.sum","op":"add@1","args":["wheel-4.on.fork-4.along.y.0.times.value","wheel-4.on.fork-4.along.y.1.times.value"],"outputs":{"value":"wheel-4.on.fork-4.along.y.1.sum.value"}},{"id":"wheel-4.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-4.on.fork-4.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-4.seat.value"},"params":{"from":"wheel-4.seat","to":"fork-4.local"}},{"id":"wheel-4.chain","op":"compose@1","args":["wheel-4.seat.value","wheel-4.poseValue"],"outputs":{"pose":"wheel-4.chain.value"}},{"id":"wheel-4.world","op":"compose@1","args":["fork-4.world.value","wheel-4.chain.value"],"outputs":{"pose":"wheel-4.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":800,"host.size.z":800,"fork-1.dimension.width":80,"fork-1.dimension.height":40,"fork-1.dimension.depth":80,"wheel-1.dimension.radius":50,"wheel-1.dimension.length":30,"fork-2.dimension.width":80,"fork-2.dimension.height":40,"fork-2.dimension.depth":80,"wheel-2.dimension.radius":50,"wheel-2.dimension.length":30,"fork-3.dimension.width":80,"fork-3.dimension.height":40,"fork-3.dimension.depth":80,"wheel-3.dimension.radius":50,"wheel-3.dimension.length":30,"fork-4.dimension.width":80,"fork-4.dimension.height":40,"fork-4.dimension.depth":80,"wheel-4.dimension.radius":50,"wheel-4.dimension.length":30},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-2f3437":"#2f3437"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"fork-1","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-1","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-2","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-2","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-3","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-3","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-4","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-4","material":{"token":"palette.tpl-2f3437"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{"gap":140}},{"id":"fork-1","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-1","face":"top"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"wheel-1","type":"fixed","body0":{"part":"fork-1","face":"bottom"},"body1":{"part":"wheel-1","face":"top"},"origin":{"turn":{"x":90,"y":0,"z":0}}},{"id":"fork-2","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-2","face":"top"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"wheel-2","type":"fixed","body0":{"part":"fork-2","face":"bottom"},"body1":{"part":"wheel-2","face":"top"},"origin":{"turn":{"x":90,"y":0,"z":0}}},{"id":"fork-3","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-3","face":"top"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"wheel-3","type":"fixed","body0":{"part":"fork-3","face":"bottom"},"body1":{"part":"wheel-3","face":"top"},"origin":{"turn":{"x":90,"y":0,"z":0}}},{"id":"fork-4","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-4","face":"top"},"origin":{"align":{"x":"max","z":"max"}}},{"id":"wheel-4","type":"fixed","body0":{"part":"fork-4","face":"bottom"},"body1":{"part":"wheel-4","face":"top"},"origin":{"turn":{"x":90,"y":0,"z":0}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CASTERS_FOUR","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":"fork-1.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-1.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-1.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-1.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-1.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-2.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-2.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-2.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-3.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-3.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-3.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"fork-4.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-4.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"wheel-4.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"d.mm.140","unit":"mm","value":140},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"fork-1.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-1.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"a.deg.90","unit":"deg","value":90},{"id":"fork-2.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-2.k.centre","unit":"ratio","value":-0.5},{"id":"fork-3.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-3.k.centre","unit":"ratio","value":-0.5},{"id":"fork-4.k.centre","unit":"ratio","value":-0.5},{"id":"wheel-4.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.s0.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":"fork-1.shape","op":"extrude@1","args":["fork-1.start.value","fork-1.dimension.height","fork-1.dimension.width","fork-1.dimension.depth"],"outputs":{"shape":"fork-1.shapeValue"},"params":{"frame":"fork-1.local","axis":"y","section":"rectangle"}},{"id":"fork-1.pose","op":"rigid@1","args":["fork-1.on.host.pose.x.t0.value","fork-1.on.host.pose.y.t0.value","fork-1.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-1.poseValue"},"params":{"from":"fork-1.local","to":"fork-1.seat"}},{"id":"fork-1","op":"place@1","args":["fork-1.shapeValue","fork-1.world.value"],"outputs":{"placed":"fork-1.placed"}},{"id":"fork-1.start","op":"mul@1","args":["fork-1.dimension.height","fork-1.k.centre"],"outputs":{"value":"fork-1.start.value"}},{"id":"wheel-1.shape","op":"extrude@1","args":["wheel-1.start.value","wheel-1.dimension.length","wheel-1.dimension.radius","wheel-1.dimension.radius"],"outputs":{"shape":"wheel-1.shapeValue"},"params":{"frame":"wheel-1.local","axis":"y","section":"ellipse"}},{"id":"wheel-1.pose","op":"rigid@1","args":["d.mm.0","wheel-1.on.fork-1.pose.y.t0.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-1.poseValue"},"params":{"from":"wheel-1.local","to":"wheel-1.seat"}},{"id":"wheel-1","op":"place@1","args":["wheel-1.shapeValue","wheel-1.world.value"],"outputs":{"placed":"wheel-1.placed"}},{"id":"wheel-1.start","op":"mul@1","args":["wheel-1.dimension.length","wheel-1.k.centre"],"outputs":{"value":"wheel-1.start.value"}},{"id":"fork-2.shape","op":"extrude@1","args":["fork-2.start.value","fork-2.dimension.height","fork-2.dimension.width","fork-2.dimension.depth"],"outputs":{"shape":"fork-2.shapeValue"},"params":{"frame":"fork-2.local","axis":"y","section":"rectangle"}},{"id":"fork-2.pose","op":"rigid@1","args":["fork-2.on.host.pose.x.t0.value","fork-2.on.host.pose.y.t0.value","fork-2.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-2.poseValue"},"params":{"from":"fork-2.local","to":"fork-2.seat"}},{"id":"fork-2","op":"place@1","args":["fork-2.shapeValue","fork-2.world.value"],"outputs":{"placed":"fork-2.placed"}},{"id":"fork-2.start","op":"mul@1","args":["fork-2.dimension.height","fork-2.k.centre"],"outputs":{"value":"fork-2.start.value"}},{"id":"wheel-2.shape","op":"extrude@1","args":["wheel-2.start.value","wheel-2.dimension.length","wheel-2.dimension.radius","wheel-2.dimension.radius"],"outputs":{"shape":"wheel-2.shapeValue"},"params":{"frame":"wheel-2.local","axis":"y","section":"ellipse"}},{"id":"wheel-2.pose","op":"rigid@1","args":["d.mm.0","wheel-2.on.fork-2.pose.y.t0.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-2.poseValue"},"params":{"from":"wheel-2.local","to":"wheel-2.seat"}},{"id":"wheel-2","op":"place@1","args":["wheel-2.shapeValue","wheel-2.world.value"],"outputs":{"placed":"wheel-2.placed"}},{"id":"wheel-2.start","op":"mul@1","args":["wheel-2.dimension.length","wheel-2.k.centre"],"outputs":{"value":"wheel-2.start.value"}},{"id":"fork-3.shape","op":"extrude@1","args":["fork-3.start.value","fork-3.dimension.height","fork-3.dimension.width","fork-3.dimension.depth"],"outputs":{"shape":"fork-3.shapeValue"},"params":{"frame":"fork-3.local","axis":"y","section":"rectangle"}},{"id":"fork-3.pose","op":"rigid@1","args":["fork-3.on.host.pose.x.t0.value","fork-3.on.host.pose.y.t0.value","fork-3.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-3.poseValue"},"params":{"from":"fork-3.local","to":"fork-3.seat"}},{"id":"fork-3","op":"place@1","args":["fork-3.shapeValue","fork-3.world.value"],"outputs":{"placed":"fork-3.placed"}},{"id":"fork-3.start","op":"mul@1","args":["fork-3.dimension.height","fork-3.k.centre"],"outputs":{"value":"fork-3.start.value"}},{"id":"wheel-3.shape","op":"extrude@1","args":["wheel-3.start.value","wheel-3.dimension.length","wheel-3.dimension.radius","wheel-3.dimension.radius"],"outputs":{"shape":"wheel-3.shapeValue"},"params":{"frame":"wheel-3.local","axis":"y","section":"ellipse"}},{"id":"wheel-3.pose","op":"rigid@1","args":["d.mm.0","wheel-3.on.fork-3.pose.y.t0.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-3.poseValue"},"params":{"from":"wheel-3.local","to":"wheel-3.seat"}},{"id":"wheel-3","op":"place@1","args":["wheel-3.shapeValue","wheel-3.world.value"],"outputs":{"placed":"wheel-3.placed"}},{"id":"wheel-3.start","op":"mul@1","args":["wheel-3.dimension.length","wheel-3.k.centre"],"outputs":{"value":"wheel-3.start.value"}},{"id":"fork-4.shape","op":"extrude@1","args":["fork-4.start.value","fork-4.dimension.height","fork-4.dimension.width","fork-4.dimension.depth"],"outputs":{"shape":"fork-4.shapeValue"},"params":{"frame":"fork-4.local","axis":"y","section":"rectangle"}},{"id":"fork-4.pose","op":"rigid@1","args":["fork-4.on.host.pose.x.t0.value","fork-4.on.host.pose.y.t0.value","fork-4.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-4.poseValue"},"params":{"from":"fork-4.local","to":"fork-4.seat"}},{"id":"fork-4","op":"place@1","args":["fork-4.shapeValue","fork-4.world.value"],"outputs":{"placed":"fork-4.placed"}},{"id":"fork-4.start","op":"mul@1","args":["fork-4.dimension.height","fork-4.k.centre"],"outputs":{"value":"fork-4.start.value"}},{"id":"wheel-4.shape","op":"extrude@1","args":["wheel-4.start.value","wheel-4.dimension.length","wheel-4.dimension.radius","wheel-4.dimension.radius"],"outputs":{"shape":"wheel-4.shapeValue"},"params":{"frame":"wheel-4.local","axis":"y","section":"ellipse"}},{"id":"wheel-4.pose","op":"rigid@1","args":["d.mm.0","wheel-4.on.fork-4.pose.y.t0.value","d.mm.0","a.deg.90","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-4.poseValue"},"params":{"from":"wheel-4.local","to":"wheel-4.seat"}},{"id":"wheel-4","op":"place@1","args":["wheel-4.shapeValue","wheel-4.world.value"],"outputs":{"placed":"wheel-4.placed"}},{"id":"wheel-4.start","op":"mul@1","args":["wheel-4.dimension.length","wheel-4.k.centre"],"outputs":{"value":"wheel-4.start.value"}},{"id":"host.on.plane.pose.y.t1","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t1.value"}},{"id":"host.on.plane.pose.y.s0","op":"add@1","args":["d.mm.140","host.on.plane.pose.y.t1.value"],"outputs":{"value":"host.on.plane.pose.y.s0.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":"fork-1.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"fork-1.on.host.seat.x.t0.value"}},{"id":"fork-1.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-1.on.host.seat.y.t0.value"}},{"id":"fork-1.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"fork-1.on.host.seat.z.t0.value"}},{"id":"fork-1.on.host.pose.x.t0","op":"mul@1","args":["fork-1.dimension.width","k.ratio.0_5"],"outputs":{"value":"fork-1.on.host.pose.x.t0.value"}},{"id":"fork-1.on.host.pose.y.t0","op":"mul@1","args":["fork-1.dimension.height","host.k.centre"],"outputs":{"value":"fork-1.on.host.pose.y.t0.value"}},{"id":"fork-1.on.host.pose.z.t0","op":"mul@1","args":["fork-1.dimension.depth","k.ratio.0_5"],"outputs":{"value":"fork-1.on.host.pose.z.t0.value"}},{"id":"fork-1.seat.rigid","op":"rigid@1","args":["fork-1.on.host.seat.x.t0.value","fork-1.on.host.seat.y.t0.value","fork-1.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-1.seat.value"},"params":{"from":"fork-1.seat","to":"host.local"}},{"id":"fork-1.chain","op":"compose@1","args":["fork-1.seat.value","fork-1.poseValue"],"outputs":{"pose":"fork-1.chain.value"}},{"id":"fork-1.world","op":"compose@1","args":["host.chain.value","fork-1.chain.value"],"outputs":{"pose":"fork-1.world.value"}},{"id":"fork-2.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"fork-2.on.host.seat.x.t0.value"}},{"id":"fork-2.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-2.on.host.seat.y.t0.value"}},{"id":"fork-2.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"fork-2.on.host.seat.z.t0.value"}},{"id":"fork-2.on.host.pose.x.t0","op":"mul@1","args":["fork-2.dimension.width","k.ratio.0_5"],"outputs":{"value":"fork-2.on.host.pose.x.t0.value"}},{"id":"fork-2.on.host.pose.y.t0","op":"mul@1","args":["fork-2.dimension.height","host.k.centre"],"outputs":{"value":"fork-2.on.host.pose.y.t0.value"}},{"id":"fork-2.on.host.pose.z.t0","op":"mul@1","args":["fork-2.dimension.depth","host.k.centre"],"outputs":{"value":"fork-2.on.host.pose.z.t0.value"}},{"id":"fork-2.seat.rigid","op":"rigid@1","args":["fork-2.on.host.seat.x.t0.value","fork-2.on.host.seat.y.t0.value","fork-2.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-2.seat.value"},"params":{"from":"fork-2.seat","to":"host.local"}},{"id":"fork-2.chain","op":"compose@1","args":["fork-2.seat.value","fork-2.poseValue"],"outputs":{"pose":"fork-2.chain.value"}},{"id":"fork-2.world","op":"compose@1","args":["host.chain.value","fork-2.chain.value"],"outputs":{"pose":"fork-2.world.value"}},{"id":"fork-3.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"fork-3.on.host.seat.x.t0.value"}},{"id":"fork-3.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-3.on.host.seat.y.t0.value"}},{"id":"fork-3.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"fork-3.on.host.seat.z.t0.value"}},{"id":"fork-3.on.host.pose.x.t0","op":"mul@1","args":["fork-3.dimension.width","host.k.centre"],"outputs":{"value":"fork-3.on.host.pose.x.t0.value"}},{"id":"fork-3.on.host.pose.y.t0","op":"mul@1","args":["fork-3.dimension.height","host.k.centre"],"outputs":{"value":"fork-3.on.host.pose.y.t0.value"}},{"id":"fork-3.on.host.pose.z.t0","op":"mul@1","args":["fork-3.dimension.depth","k.ratio.0_5"],"outputs":{"value":"fork-3.on.host.pose.z.t0.value"}},{"id":"fork-3.seat.rigid","op":"rigid@1","args":["fork-3.on.host.seat.x.t0.value","fork-3.on.host.seat.y.t0.value","fork-3.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-3.seat.value"},"params":{"from":"fork-3.seat","to":"host.local"}},{"id":"fork-3.chain","op":"compose@1","args":["fork-3.seat.value","fork-3.poseValue"],"outputs":{"pose":"fork-3.chain.value"}},{"id":"fork-3.world","op":"compose@1","args":["host.chain.value","fork-3.chain.value"],"outputs":{"pose":"fork-3.world.value"}},{"id":"fork-4.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"fork-4.on.host.seat.x.t0.value"}},{"id":"fork-4.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"fork-4.on.host.seat.y.t0.value"}},{"id":"fork-4.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"fork-4.on.host.seat.z.t0.value"}},{"id":"fork-4.on.host.pose.x.t0","op":"mul@1","args":["fork-4.dimension.width","host.k.centre"],"outputs":{"value":"fork-4.on.host.pose.x.t0.value"}},{"id":"fork-4.on.host.pose.y.t0","op":"mul@1","args":["fork-4.dimension.height","host.k.centre"],"outputs":{"value":"fork-4.on.host.pose.y.t0.value"}},{"id":"fork-4.on.host.pose.z.t0","op":"mul@1","args":["fork-4.dimension.depth","host.k.centre"],"outputs":{"value":"fork-4.on.host.pose.z.t0.value"}},{"id":"fork-4.seat.rigid","op":"rigid@1","args":["fork-4.on.host.seat.x.t0.value","fork-4.on.host.seat.y.t0.value","fork-4.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"fork-4.seat.value"},"params":{"from":"fork-4.seat","to":"host.local"}},{"id":"fork-4.chain","op":"compose@1","args":["fork-4.seat.value","fork-4.poseValue"],"outputs":{"pose":"fork-4.chain.value"}},{"id":"fork-4.world","op":"compose@1","args":["host.chain.value","fork-4.chain.value"],"outputs":{"pose":"fork-4.world.value"}},{"id":"wheel-1.on.fork-1.seat.y.t0","op":"mul@1","args":["fork-1.dimension.height","host.k.centre"],"outputs":{"value":"wheel-1.on.fork-1.seat.y.t0.value"}},{"id":"wheel-1.on.fork-1.pose.y.t0","op":"mul@1","args":["wheel-1.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-1.on.fork-1.pose.y.t0.value"}},{"id":"wheel-1.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-1.on.fork-1.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-1.seat.value"},"params":{"from":"wheel-1.seat","to":"fork-1.local"}},{"id":"wheel-1.chain","op":"compose@1","args":["wheel-1.seat.value","wheel-1.poseValue"],"outputs":{"pose":"wheel-1.chain.value"}},{"id":"wheel-1.world","op":"compose@1","args":["fork-1.world.value","wheel-1.chain.value"],"outputs":{"pose":"wheel-1.world.value"}},{"id":"wheel-2.on.fork-2.seat.y.t0","op":"mul@1","args":["fork-2.dimension.height","host.k.centre"],"outputs":{"value":"wheel-2.on.fork-2.seat.y.t0.value"}},{"id":"wheel-2.on.fork-2.pose.y.t0","op":"mul@1","args":["wheel-2.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-2.on.fork-2.pose.y.t0.value"}},{"id":"wheel-2.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-2.on.fork-2.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-2.seat.value"},"params":{"from":"wheel-2.seat","to":"fork-2.local"}},{"id":"wheel-2.chain","op":"compose@1","args":["wheel-2.seat.value","wheel-2.poseValue"],"outputs":{"pose":"wheel-2.chain.value"}},{"id":"wheel-2.world","op":"compose@1","args":["fork-2.world.value","wheel-2.chain.value"],"outputs":{"pose":"wheel-2.world.value"}},{"id":"wheel-3.on.fork-3.seat.y.t0","op":"mul@1","args":["fork-3.dimension.height","host.k.centre"],"outputs":{"value":"wheel-3.on.fork-3.seat.y.t0.value"}},{"id":"wheel-3.on.fork-3.pose.y.t0","op":"mul@1","args":["wheel-3.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-3.on.fork-3.pose.y.t0.value"}},{"id":"wheel-3.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-3.on.fork-3.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-3.seat.value"},"params":{"from":"wheel-3.seat","to":"fork-3.local"}},{"id":"wheel-3.chain","op":"compose@1","args":["wheel-3.seat.value","wheel-3.poseValue"],"outputs":{"pose":"wheel-3.chain.value"}},{"id":"wheel-3.world","op":"compose@1","args":["fork-3.world.value","wheel-3.chain.value"],"outputs":{"pose":"wheel-3.world.value"}},{"id":"wheel-4.on.fork-4.seat.y.t0","op":"mul@1","args":["fork-4.dimension.height","host.k.centre"],"outputs":{"value":"wheel-4.on.fork-4.seat.y.t0.value"}},{"id":"wheel-4.on.fork-4.pose.y.t0","op":"mul@1","args":["wheel-4.dimension.radius","k.ratio._1"],"outputs":{"value":"wheel-4.on.fork-4.pose.y.t0.value"}},{"id":"wheel-4.seat.rigid","op":"rigid@1","args":["d.mm.0","wheel-4.on.fork-4.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"wheel-4.seat.value"},"params":{"from":"wheel-4.seat","to":"fork-4.local"}},{"id":"wheel-4.chain","op":"compose@1","args":["wheel-4.seat.value","wheel-4.poseValue"],"outputs":{"pose":"wheel-4.chain.value"}},{"id":"wheel-4.world","op":"compose@1","args":["fork-4.world.value","wheel-4.chain.value"],"outputs":{"pose":"wheel-4.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1200,"host.size.y":800,"host.size.z":800,"fork-1.dimension.width":80,"fork-1.dimension.height":40,"fork-1.dimension.depth":80,"wheel-1.dimension.radius":50,"wheel-1.dimension.length":30,"fork-2.dimension.width":80,"fork-2.dimension.height":40,"fork-2.dimension.depth":80,"wheel-2.dimension.radius":50,"wheel-2.dimension.length":30,"fork-3.dimension.width":80,"fork-3.dimension.height":40,"fork-3.dimension.depth":80,"wheel-3.dimension.radius":50,"wheel-3.dimension.length":30,"fork-4.dimension.width":80,"fork-4.dimension.height":40,"fork-4.dimension.depth":80,"wheel-4.dimension.radius":50,"wheel-4.dimension.length":30},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-2f3437":"#2f3437"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"fork-1","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-1","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-2","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-2","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-3","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-3","material":{"token":"palette.tpl-2f3437"},"segments":12},{"target":"fork-4","material":{"token":"palette.tpl-7d8790"}},{"target":"wheel-4","material":{"token":"palette.tpl-2f3437"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{"gap":140}},{"id":"fork-1","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-1"},"origin":{"align":{"x":"min","z":"min"}}},{"id":"wheel-1","type":"fixed","body0":{"part":"fork-1","face":"bottom"},"body1":{"part":"wheel-1"},"origin":{"childRotate":{"x":90}}},{"id":"fork-2","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-2"},"origin":{"align":{"x":"min","z":"max"}}},{"id":"wheel-2","type":"fixed","body0":{"part":"fork-2","face":"bottom"},"body1":{"part":"wheel-2"},"origin":{"childRotate":{"x":90}}},{"id":"fork-3","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-3"},"origin":{"align":{"x":"max","z":"min"}}},{"id":"wheel-3","type":"fixed","body0":{"part":"fork-3","face":"bottom"},"body1":{"part":"wheel-3"},"origin":{"childRotate":{"x":90}}},{"id":"fork-4","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"fork-4"},"origin":{"align":{"x":"max","z":"max"}}},{"id":"wheel-4","type":"fixed","body0":{"part":"fork-4","face":"bottom"},"body1":{"part":"wheel-4"},"origin":{"childRotate":{"x":90}}}]}
@@ -143,8 +143,7 @@
143
143
  "face": "bottom"
144
144
  },
145
145
  "body1": {
146
- "part": "{id}-fork-1",
147
- "face": "top"
146
+ "part": "{id}-fork-1"
148
147
  },
149
148
  "origin": {
150
149
  "align": {
@@ -164,14 +163,11 @@
164
163
  "face": "bottom"
165
164
  },
166
165
  "body1": {
167
- "part": "{id}-wheel-1",
168
- "face": "top"
166
+ "part": "{id}-wheel-1"
169
167
  },
170
168
  "origin": {
171
- "turn": {
172
- "x": 90,
173
- "y": 0,
174
- "z": 0
169
+ "childRotate": {
170
+ "x": 90
175
171
  }
176
172
  }
177
173
  }
@@ -186,8 +182,7 @@
186
182
  "face": "bottom"
187
183
  },
188
184
  "body1": {
189
- "part": "{id}-fork-2",
190
- "face": "top"
185
+ "part": "{id}-fork-2"
191
186
  },
192
187
  "origin": {
193
188
  "align": {
@@ -207,14 +202,11 @@
207
202
  "face": "bottom"
208
203
  },
209
204
  "body1": {
210
- "part": "{id}-wheel-2",
211
- "face": "top"
205
+ "part": "{id}-wheel-2"
212
206
  },
213
207
  "origin": {
214
- "turn": {
215
- "x": 90,
216
- "y": 0,
217
- "z": 0
208
+ "childRotate": {
209
+ "x": 90
218
210
  }
219
211
  }
220
212
  }
@@ -229,8 +221,7 @@
229
221
  "face": "bottom"
230
222
  },
231
223
  "body1": {
232
- "part": "{id}-fork-3",
233
- "face": "top"
224
+ "part": "{id}-fork-3"
234
225
  },
235
226
  "origin": {
236
227
  "align": {
@@ -250,14 +241,11 @@
250
241
  "face": "bottom"
251
242
  },
252
243
  "body1": {
253
- "part": "{id}-wheel-3",
254
- "face": "top"
244
+ "part": "{id}-wheel-3"
255
245
  },
256
246
  "origin": {
257
- "turn": {
258
- "x": 90,
259
- "y": 0,
260
- "z": 0
247
+ "childRotate": {
248
+ "x": 90
261
249
  }
262
250
  }
263
251
  }
@@ -272,8 +260,7 @@
272
260
  "face": "bottom"
273
261
  },
274
262
  "body1": {
275
- "part": "{id}-fork-4",
276
- "face": "top"
263
+ "part": "{id}-fork-4"
277
264
  },
278
265
  "origin": {
279
266
  "align": {
@@ -293,14 +280,11 @@
293
280
  "face": "bottom"
294
281
  },
295
282
  "body1": {
296
- "part": "{id}-wheel-4",
297
- "face": "top"
283
+ "part": "{id}-wheel-4"
298
284
  },
299
285
  "origin": {
300
- "turn": {
301
- "x": 90,
302
- "y": 0,
303
- "z": 0
286
+ "childRotate": {
287
+ "x": 90
304
288
  }
305
289
  }
306
290
  }
@@ -5,10 +5,10 @@ export default function build() {
5
5
  const m = new Model(host({ x: 3000, y: 200, z: 300 }, 'TPL_CEILING_RAIL_CARRIAGE', 2500))
6
6
  m.box('rail', 3000, 80, 60)
7
7
  .follow('rail', 'x', 'host', 'x')
8
- .on('rail', 'top', 'host', 'bottom')
8
+ .on('rail', 'host', 'bottom')
9
9
  .colour('rail', 'palette.rail', '#9aa3ab')
10
10
  .box('carriage', 200, 150, 200)
11
- .on('carriage', 'top', 'rail', 'bottom', { x: 'min' })
11
+ .on('carriage', 'rail', 'bottom', { x: 'min' })
12
12
  .colour('carriage', 'palette.stop', '#e0a800')
13
13
  .do({ kind: 'set-joint', joint: { ...m.asset.joints!.find(j => j.body1.part === 'carriage')!, type: 'prismatic', axis: 'X', lowerLimit: 0, upperLimit: 1, travel: { source: { of: 'part', part: 'rail', axis: 'x' }, plus: -200 }, state: { id: 'move' } } } as never)
14
14
  return m.asset
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CEILING_RAIL_CARRIAGE","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":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"move","unit":"ratio","min":0,"max":1,"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":"d.mm.2500","unit":"mm","value":2500},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"rail.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"carriage.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._200","unit":"mm","value":-200},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.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":"rail.shape","op":"extrude@1","args":["rail.start.value","rail.dimension.height","rail.dimension.x.value","rail.dimension.depth"],"outputs":{"shape":"rail.shapeValue"},"params":{"frame":"rail.local","axis":"y","section":"rectangle"}},{"id":"rail.pose","op":"rigid@1","args":["d.mm.0","rail.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.poseValue"},"params":{"from":"rail.local","to":"rail.seat"}},{"id":"rail","op":"place@1","args":["rail.shapeValue","rail.world.value"],"outputs":{"placed":"rail.placed"}},{"id":"rail.start","op":"mul@1","args":["rail.dimension.height","rail.k.centre"],"outputs":{"value":"rail.start.value"}},{"id":"rail.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"rail.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"carriage.shape","op":"extrude@1","args":["carriage.start.value","carriage.dimension.height","carriage.dimension.width","carriage.dimension.depth"],"outputs":{"shape":"carriage.shapeValue"},"params":{"frame":"carriage.local","axis":"y","section":"rectangle"}},{"id":"carriage.pose","op":"rigid@1","args":["carriage.on.rail.own-edge.x.0.times.value","carriage.on.rail.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.poseValue"},"params":{"from":"carriage.local","to":"carriage.seat"}},{"id":"carriage","op":"place@1","args":["carriage.shapeValue","carriage.world.value"],"outputs":{"placed":"carriage.placed"}},{"id":"carriage.start","op":"mul@1","args":["carriage.dimension.height","carriage.k.centre"],"outputs":{"value":"carriage.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.2500"],"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":"rail.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"rail.on.host.seat.y.0.times.value"}},{"id":"rail.on.host.along.y.0.times","op":"mul@1","args":["rail.dimension.height","host.k.centre"],"outputs":{"value":"rail.on.host.along.y.0.times.value"}},{"id":"rail.on.host.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"rail.on.host.along.y.1.times.value"}},{"id":"rail.on.host.along.y.1.sum","op":"add@1","args":["rail.on.host.along.y.0.times.value","rail.on.host.along.y.1.times.value"],"outputs":{"value":"rail.on.host.along.y.1.sum.value"}},{"id":"rail.seat.rigid","op":"rigid@1","args":["d.mm.0","rail.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.seat.value"},"params":{"from":"rail.seat","to":"host.local"}},{"id":"rail.chain","op":"compose@1","args":["rail.seat.value","rail.poseValue"],"outputs":{"pose":"rail.chain.value"}},{"id":"rail.world","op":"compose@1","args":["host.chain.value","rail.chain.value"],"outputs":{"pose":"rail.world.value"}},{"id":"carriage.on.rail.seat.y.0.times","op":"mul@1","args":["rail.dimension.height","host.k.centre"],"outputs":{"value":"carriage.on.rail.seat.y.0.times.value"}},{"id":"carriage.on.rail.along.y.0.times","op":"mul@1","args":["carriage.dimension.height","host.k.centre"],"outputs":{"value":"carriage.on.rail.along.y.0.times.value"}},{"id":"carriage.on.rail.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"carriage.on.rail.along.y.1.times.value"}},{"id":"carriage.on.rail.along.y.1.sum","op":"add@1","args":["carriage.on.rail.along.y.0.times.value","carriage.on.rail.along.y.1.times.value"],"outputs":{"value":"carriage.on.rail.along.y.1.sum.value"}},{"id":"carriage.on.rail.edge.x.0.times","op":"mul@1","args":["rail.dimension.x.value","host.k.centre"],"outputs":{"value":"carriage.on.rail.edge.x.0.times.value"}},{"id":"carriage.on.rail.own-edge.x.0.times","op":"mul@1","args":["carriage.dimension.width","k.ratio.0_5"],"outputs":{"value":"carriage.on.rail.own-edge.x.0.times.value"}},{"id":"carriage.seat.rigid","op":"rigid@1","args":["carriage.on.rail.edge.x.0.times.value","carriage.on.rail.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.seat.value"},"params":{"from":"carriage.joint","to":"rail.local"}},{"id":"carriage.chain","op":"compose@1","args":["carriage.seat.value","carriage.turned.value"],"outputs":{"pose":"carriage.chain.value"}},{"id":"carriage.world","op":"compose@1","args":["rail.world.value","carriage.chain.value"],"outputs":{"pose":"carriage.world.value"}},{"id":"carriage.motion.travel.plus","op":"add@1","args":["rail.dimension.x.value","d.mm._200"],"outputs":{"value":"carriage.motion.travel.plus.value"}},{"id":"carriage.motion.distance","op":"mul@1","args":["move","carriage.motion.travel.plus.value"],"outputs":{"value":"carriage.motion.distance.value"}},{"id":"carriage.motion","op":"axis-slide@1","args":["k.ratio.1","axis.ratio.0","axis.ratio.0","carriage.motion.distance.value"],"outputs":{"pose":"carriage.motion.value"},"params":{"from":"carriage.seat","to":"carriage.joint"}},{"id":"carriage.turned","op":"compose@1","args":["carriage.motion.value","carriage.poseValue"],"outputs":{"pose":"carriage.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":200,"host.size.z":300,"rail.dimension.height":80,"rail.dimension.depth":60,"carriage.dimension.width":200,"carriage.dimension.height":150,"carriage.dimension.depth":200},"stateDefaults":{"move":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab","palette.tpl-e0a800":"#e0a800"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"rail","material":{"token":"palette.tpl-9aa3ab"}},{"target":"carriage","material":{"token":"palette.tpl-e0a800"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{"gap":2500}},{"id":"rail","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"rail","face":"top"},"origin":{}},{"id":"carriage","type":"prismatic","body0":{"part":"rail","face":"bottom"},"body1":{"part":"carriage","face":"top"},"origin":{"align":{"x":"min"}},"axis":"X","lowerLimit":0,"upperLimit":1,"travel":{"source":{"of":"part","part":"rail","axis":"x"},"plus":-200},"state":{"id":"move"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CEILING_RAIL_CARRIAGE","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":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"carriage.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"move","unit":"ratio","min":0,"max":1,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"d.mm.2500","unit":"mm","value":2500},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"rail.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"carriage.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._200","unit":"mm","value":-200},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.s0.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":"rail.shape","op":"extrude@1","args":["rail.start.value","rail.dimension.height","rail.dimension.x.value","rail.dimension.depth"],"outputs":{"shape":"rail.shapeValue"},"params":{"frame":"rail.local","axis":"y","section":"rectangle"}},{"id":"rail.pose","op":"rigid@1","args":["d.mm.0","rail.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.poseValue"},"params":{"from":"rail.local","to":"rail.seat"}},{"id":"rail","op":"place@1","args":["rail.shapeValue","rail.world.value"],"outputs":{"placed":"rail.placed"}},{"id":"rail.start","op":"mul@1","args":["rail.dimension.height","rail.k.centre"],"outputs":{"value":"rail.start.value"}},{"id":"rail.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"rail.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"carriage.shape","op":"extrude@1","args":["carriage.start.value","carriage.dimension.height","carriage.dimension.width","carriage.dimension.depth"],"outputs":{"shape":"carriage.shapeValue"},"params":{"frame":"carriage.local","axis":"y","section":"rectangle"}},{"id":"carriage.pose","op":"rigid@1","args":["carriage.on.rail.pose.x.t0.value","carriage.on.rail.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.poseValue"},"params":{"from":"carriage.local","to":"carriage.seat"}},{"id":"carriage","op":"place@1","args":["carriage.shapeValue","carriage.world.value"],"outputs":{"placed":"carriage.placed"}},{"id":"carriage.start","op":"mul@1","args":["carriage.dimension.height","carriage.k.centre"],"outputs":{"value":"carriage.start.value"}},{"id":"host.on.plane.pose.y.t1","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t1.value"}},{"id":"host.on.plane.pose.y.s0","op":"add@1","args":["d.mm.2500","host.on.plane.pose.y.t1.value"],"outputs":{"value":"host.on.plane.pose.y.s0.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":"rail.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"rail.on.host.seat.y.t0.value"}},{"id":"rail.on.host.pose.y.t0","op":"mul@1","args":["rail.dimension.height","host.k.centre"],"outputs":{"value":"rail.on.host.pose.y.t0.value"}},{"id":"rail.seat.rigid","op":"rigid@1","args":["d.mm.0","rail.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.seat.value"},"params":{"from":"rail.seat","to":"host.local"}},{"id":"rail.chain","op":"compose@1","args":["rail.seat.value","rail.poseValue"],"outputs":{"pose":"rail.chain.value"}},{"id":"rail.world","op":"compose@1","args":["host.chain.value","rail.chain.value"],"outputs":{"pose":"rail.world.value"}},{"id":"carriage.on.rail.seat.x.t0","op":"mul@1","args":["rail.dimension.x.value","host.k.centre"],"outputs":{"value":"carriage.on.rail.seat.x.t0.value"}},{"id":"carriage.on.rail.seat.y.t0","op":"mul@1","args":["rail.dimension.height","host.k.centre"],"outputs":{"value":"carriage.on.rail.seat.y.t0.value"}},{"id":"carriage.on.rail.pose.x.t0","op":"mul@1","args":["carriage.dimension.width","k.ratio.0_5"],"outputs":{"value":"carriage.on.rail.pose.x.t0.value"}},{"id":"carriage.on.rail.pose.y.t0","op":"mul@1","args":["carriage.dimension.height","host.k.centre"],"outputs":{"value":"carriage.on.rail.pose.y.t0.value"}},{"id":"carriage.seat.rigid","op":"rigid@1","args":["carriage.on.rail.seat.x.t0.value","carriage.on.rail.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"carriage.seat.value"},"params":{"from":"carriage.joint","to":"rail.local"}},{"id":"carriage.chain","op":"compose@1","args":["carriage.seat.value","carriage.turned.value"],"outputs":{"pose":"carriage.chain.value"}},{"id":"carriage.world","op":"compose@1","args":["rail.world.value","carriage.chain.value"],"outputs":{"pose":"carriage.world.value"}},{"id":"carriage.motion.travel.plus","op":"add@1","args":["rail.dimension.x.value","d.mm._200"],"outputs":{"value":"carriage.motion.travel.plus.value"}},{"id":"carriage.motion.distance","op":"mul@1","args":["move","carriage.motion.travel.plus.value"],"outputs":{"value":"carriage.motion.distance.value"}},{"id":"carriage.motion","op":"axis-slide@1","args":["k.ratio.1","axis.ratio.0","axis.ratio.0","carriage.motion.distance.value"],"outputs":{"pose":"carriage.motion.value"},"params":{"from":"carriage.seat","to":"carriage.joint"}},{"id":"carriage.turned","op":"compose@1","args":["carriage.motion.value","carriage.poseValue"],"outputs":{"pose":"carriage.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":200,"host.size.z":300,"rail.dimension.height":80,"rail.dimension.depth":60,"carriage.dimension.width":200,"carriage.dimension.height":150,"carriage.dimension.depth":200},"stateDefaults":{"move":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab","palette.tpl-e0a800":"#e0a800"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"rail","material":{"token":"palette.tpl-9aa3ab"}},{"target":"carriage","material":{"token":"palette.tpl-e0a800"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{"gap":2500}},{"id":"rail","type":"fixed","body0":{"part":"host","face":"bottom"},"body1":{"part":"rail"},"origin":{}},{"id":"carriage","type":"prismatic","body0":{"part":"rail","face":"bottom"},"body1":{"part":"carriage"},"origin":{"align":{"x":"min"}},"axis":"X","lowerLimit":0,"upperLimit":1,"travel":{"source":{"of":"part","part":"rail","axis":"x"},"plus":-200},"state":{"id":"move"}}]}
@@ -63,8 +63,7 @@
63
63
  "face": "bottom"
64
64
  },
65
65
  "body1": {
66
- "part": "{id}-rail",
67
- "face": "top"
66
+ "part": "{id}-rail"
68
67
  },
69
68
  "origin": {}
70
69
  }
@@ -79,8 +78,7 @@
79
78
  "face": "bottom"
80
79
  },
81
80
  "body1": {
82
- "part": "{id}-carriage",
83
- "face": "top"
81
+ "part": "{id}-carriage"
84
82
  },
85
83
  "origin": {
86
84
  "align": {
@@ -5,11 +5,11 @@ export default function build() {
5
5
  const m = new Model(host({ x: 3000, y: 700, z: 800 }, 'TPL_CHAIN_RAILS'))
6
6
  m.box('near', 3000, 40, 50)
7
7
  .follow('near', 'x', 'host', 'x')
8
- .on('near', 'bottom', 'host', 'top', { z: { mm: { from: { of: 'part', part: 'host', axis: 'z' }, times: 0.3 } } })
8
+ .on('near', 'host', 'top', { z: { mm: { from: { of: 'part', part: 'host', axis: 'z' }, times: 0.3 } } })
9
9
  .colour('near', 'chain', '#3a3f44')
10
10
  .box('far', 3000, 40, 50)
11
11
  .follow('far', 'x', 'host', 'x')
12
- .on('far', 'bottom', 'host', 'top', { z: { mm: { from: { of: 'part', part: 'host', axis: 'z' }, times: -0.3 } } })
12
+ .on('far', 'host', 'top', { z: { mm: { from: { of: 'part', part: 'host', axis: 'z' }, times: -0.3 } } })
13
13
  .colour('far', 'chain', '#3a3f44')
14
14
  return m.asset
15
15
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CHAIN_RAILS","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":"near.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"near.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"far.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"far.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":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"near.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_3","unit":"ratio","value":0.3},{"id":"far.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._0_3","unit":"ratio","value":-0.3}],"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":"near.shape","op":"extrude@1","args":["near.start.value","near.dimension.height","near.dimension.x.value","near.dimension.depth"],"outputs":{"shape":"near.shapeValue"},"params":{"frame":"near.local","axis":"y","section":"rectangle"}},{"id":"near.pose","op":"rigid@1","args":["d.mm.0","near.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"near.poseValue"},"params":{"from":"near.local","to":"near.seat"}},{"id":"near","op":"place@1","args":["near.shapeValue","near.world.value"],"outputs":{"placed":"near.placed"}},{"id":"near.start","op":"mul@1","args":["near.dimension.height","near.k.centre"],"outputs":{"value":"near.start.value"}},{"id":"near.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"near.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"far.shape","op":"extrude@1","args":["far.start.value","far.dimension.height","far.dimension.x.value","far.dimension.depth"],"outputs":{"shape":"far.shapeValue"},"params":{"frame":"far.local","axis":"y","section":"rectangle"}},{"id":"far.pose","op":"rigid@1","args":["d.mm.0","far.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"far.poseValue"},"params":{"from":"far.local","to":"far.seat"}},{"id":"far","op":"place@1","args":["far.shapeValue","far.world.value"],"outputs":{"placed":"far.placed"}},{"id":"far.start","op":"mul@1","args":["far.dimension.height","far.k.centre"],"outputs":{"value":"far.start.value"}},{"id":"far.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"far.dimension.x.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":"near.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"near.on.host.seat.y.0.times.value"}},{"id":"near.on.host.along.y.0.times","op":"mul@1","args":["near.dimension.height","k.ratio.0_5"],"outputs":{"value":"near.on.host.along.y.0.times.value"}},{"id":"near.on.host.along.y.1.sum","op":"add@1","args":["near.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"near.on.host.along.y.1.sum.value"}},{"id":"near.on.host.align.z.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_3"],"outputs":{"value":"near.on.host.align.z.times.value"}},{"id":"near.seat.rigid","op":"rigid@1","args":["d.mm.0","near.on.host.seat.y.0.times.value","near.on.host.align.z.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"near.seat.value"},"params":{"from":"near.seat","to":"host.local"}},{"id":"near.chain","op":"compose@1","args":["near.seat.value","near.poseValue"],"outputs":{"pose":"near.chain.value"}},{"id":"near.world","op":"compose@1","args":["host.chain.value","near.chain.value"],"outputs":{"pose":"near.world.value"}},{"id":"far.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"far.on.host.seat.y.0.times.value"}},{"id":"far.on.host.along.y.0.times","op":"mul@1","args":["far.dimension.height","k.ratio.0_5"],"outputs":{"value":"far.on.host.along.y.0.times.value"}},{"id":"far.on.host.along.y.1.sum","op":"add@1","args":["far.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"far.on.host.along.y.1.sum.value"}},{"id":"far.on.host.align.z.times","op":"mul@1","args":["host.dimension.z.value","k.ratio._0_3"],"outputs":{"value":"far.on.host.align.z.times.value"}},{"id":"far.seat.rigid","op":"rigid@1","args":["d.mm.0","far.on.host.seat.y.0.times.value","far.on.host.align.z.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"far.seat.value"},"params":{"from":"far.seat","to":"host.local"}},{"id":"far.chain","op":"compose@1","args":["far.seat.value","far.poseValue"],"outputs":{"pose":"far.chain.value"}},{"id":"far.world","op":"compose@1","args":["host.chain.value","far.chain.value"],"outputs":{"pose":"far.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"near.dimension.height":40,"near.dimension.depth":50,"far.dimension.height":40,"far.dimension.depth":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-3a3f44":"#3a3f44"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"near","material":{"token":"palette.tpl-3a3f44"}},{"target":"far","material":{"token":"palette.tpl-3a3f44"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"near","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"near","face":"bottom"},"origin":{"align":{"z":{"mm":{"from":{"of":"part","part":"host","axis":"z"},"times":0.3}}}}},{"id":"far","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"far","face":"bottom"},"origin":{"align":{"z":{"mm":{"from":{"of":"part","part":"host","axis":"z"},"times":-0.3}}}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CHAIN_RAILS","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":"near.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"near.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"far.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"far.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":"near.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_3","unit":"ratio","value":0.3},{"id":"far.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._0_3","unit":"ratio","value":-0.3}],"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":"near.shape","op":"extrude@1","args":["near.start.value","near.dimension.height","near.dimension.x.value","near.dimension.depth"],"outputs":{"shape":"near.shapeValue"},"params":{"frame":"near.local","axis":"y","section":"rectangle"}},{"id":"near.pose","op":"rigid@1","args":["d.mm.0","near.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"near.poseValue"},"params":{"from":"near.local","to":"near.seat"}},{"id":"near","op":"place@1","args":["near.shapeValue","near.world.value"],"outputs":{"placed":"near.placed"}},{"id":"near.start","op":"mul@1","args":["near.dimension.height","near.k.centre"],"outputs":{"value":"near.start.value"}},{"id":"near.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"near.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"far.shape","op":"extrude@1","args":["far.start.value","far.dimension.height","far.dimension.x.value","far.dimension.depth"],"outputs":{"shape":"far.shapeValue"},"params":{"frame":"far.local","axis":"y","section":"rectangle"}},{"id":"far.pose","op":"rigid@1","args":["d.mm.0","far.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"far.poseValue"},"params":{"from":"far.local","to":"far.seat"}},{"id":"far","op":"place@1","args":["far.shapeValue","far.world.value"],"outputs":{"placed":"far.placed"}},{"id":"far.start","op":"mul@1","args":["far.dimension.height","far.k.centre"],"outputs":{"value":"far.start.value"}},{"id":"far.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"far.dimension.x.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"near.on.host.align.z.times","op":"mul@1","args":["host.dimension.z.value","k.ratio.0_3"],"outputs":{"value":"near.on.host.align.z.times.value"}},{"id":"near.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"near.on.host.seat.y.t0.value"}},{"id":"near.on.host.pose.y.t0","op":"mul@1","args":["near.dimension.height","k.ratio.0_5"],"outputs":{"value":"near.on.host.pose.y.t0.value"}},{"id":"near.seat.rigid","op":"rigid@1","args":["d.mm.0","near.on.host.seat.y.t0.value","near.on.host.align.z.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"near.seat.value"},"params":{"from":"near.seat","to":"host.local"}},{"id":"near.chain","op":"compose@1","args":["near.seat.value","near.poseValue"],"outputs":{"pose":"near.chain.value"}},{"id":"near.world","op":"compose@1","args":["host.chain.value","near.chain.value"],"outputs":{"pose":"near.world.value"}},{"id":"far.on.host.align.z.times","op":"mul@1","args":["host.dimension.z.value","k.ratio._0_3"],"outputs":{"value":"far.on.host.align.z.times.value"}},{"id":"far.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"far.on.host.seat.y.t0.value"}},{"id":"far.on.host.pose.y.t0","op":"mul@1","args":["far.dimension.height","k.ratio.0_5"],"outputs":{"value":"far.on.host.pose.y.t0.value"}},{"id":"far.seat.rigid","op":"rigid@1","args":["d.mm.0","far.on.host.seat.y.t0.value","far.on.host.align.z.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"far.seat.value"},"params":{"from":"far.seat","to":"host.local"}},{"id":"far.chain","op":"compose@1","args":["far.seat.value","far.poseValue"],"outputs":{"pose":"far.chain.value"}},{"id":"far.world","op":"compose@1","args":["host.chain.value","far.chain.value"],"outputs":{"pose":"far.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"near.dimension.height":40,"near.dimension.depth":50,"far.dimension.height":40,"far.dimension.depth":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-3a3f44":"#3a3f44"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"near","material":{"token":"palette.tpl-3a3f44"}},{"target":"far","material":{"token":"palette.tpl-3a3f44"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"near","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"near"},"origin":{"align":{"z":{"mm":{"from":{"of":"part","part":"host","axis":"z"},"times":0.3}}}}},{"id":"far","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"far"},"origin":{"align":{"z":{"mm":{"from":{"of":"part","part":"host","axis":"z"},"times":-0.3}}}}}]}
@@ -89,8 +89,7 @@
89
89
  "face": "top"
90
90
  },
91
91
  "body1": {
92
- "part": "{id}-near",
93
- "face": "bottom"
92
+ "part": "{id}-near"
94
93
  },
95
94
  "origin": {
96
95
  "align": {
@@ -120,8 +119,7 @@
120
119
  "face": "top"
121
120
  },
122
121
  "body1": {
123
- "part": "{id}-far",
124
- "face": "bottom"
122
+ "part": "{id}-far"
125
123
  },
126
124
  "origin": {
127
125
  "align": {
@@ -3,7 +3,7 @@ import { host, Model } from '../_lib/model.mts'
3
3
 
4
4
  export default function build() {
5
5
  const m = new Model(host({ x: 6000, y: 50, z: 4000 }, 'TPL_CHARGING_STATION'))
6
- m.box('station', 600, 900, 300).on('station', 'bottom', 'host', 'top', { z: 'min' }).colour('station', 'panel', '#4f5d6b')
7
- .box('contact', 400, 60, 20).on('contact', 'back', 'station', 'front', { y: 'min' }, 0).colour('contact', 'stop', '#e0a800')
6
+ m.box('station', 600, 900, 300).on('station', 'host', 'top', { z: 'min' }).colour('station', 'panel', '#4f5d6b')
7
+ .box('contact', 400, 60, 20).on('contact', 'station', 'front', { y: 'min' }, 0).colour('contact', 'stop', '#e0a800')
8
8
  return m.asset
9
9
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CHARGING_STATION","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":"station.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"station.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"station.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.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":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"station.k.centre","unit":"ratio","value":-0.5},{"id":"contact.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.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":"station.shape","op":"extrude@1","args":["station.start.value","station.dimension.height","station.dimension.width","station.dimension.depth"],"outputs":{"shape":"station.shapeValue"},"params":{"frame":"station.local","axis":"y","section":"rectangle"}},{"id":"station.pose","op":"rigid@1","args":["d.mm.0","station.on.host.along.y.1.sum.value","station.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"station.poseValue"},"params":{"from":"station.local","to":"station.seat"}},{"id":"station","op":"place@1","args":["station.shapeValue","station.world.value"],"outputs":{"placed":"station.placed"}},{"id":"station.start","op":"mul@1","args":["station.dimension.height","station.k.centre"],"outputs":{"value":"station.start.value"}},{"id":"contact.shape","op":"extrude@1","args":["contact.start.value","contact.dimension.height","contact.dimension.width","contact.dimension.depth"],"outputs":{"shape":"contact.shapeValue"},"params":{"frame":"contact.local","axis":"y","section":"rectangle"}},{"id":"contact.pose","op":"rigid@1","args":["d.mm.0","contact.on.station.own-edge.y.0.times.value","contact.on.station.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"contact.poseValue"},"params":{"from":"contact.local","to":"contact.seat"}},{"id":"contact","op":"place@1","args":["contact.shapeValue","contact.world.value"],"outputs":{"placed":"contact.placed"}},{"id":"contact.start","op":"mul@1","args":["contact.dimension.height","contact.k.centre"],"outputs":{"value":"contact.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":"station.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"station.on.host.seat.y.0.times.value"}},{"id":"station.on.host.along.y.0.times","op":"mul@1","args":["station.dimension.height","k.ratio.0_5"],"outputs":{"value":"station.on.host.along.y.0.times.value"}},{"id":"station.on.host.along.y.1.sum","op":"add@1","args":["station.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"station.on.host.along.y.1.sum.value"}},{"id":"station.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"station.on.host.edge.z.0.times.value"}},{"id":"station.on.host.own-edge.z.0.times","op":"mul@1","args":["station.dimension.depth","k.ratio.0_5"],"outputs":{"value":"station.on.host.own-edge.z.0.times.value"}},{"id":"station.seat.rigid","op":"rigid@1","args":["d.mm.0","station.on.host.seat.y.0.times.value","station.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"station.seat.value"},"params":{"from":"station.seat","to":"host.local"}},{"id":"station.chain","op":"compose@1","args":["station.seat.value","station.poseValue"],"outputs":{"pose":"station.chain.value"}},{"id":"station.world","op":"compose@1","args":["host.chain.value","station.chain.value"],"outputs":{"pose":"station.world.value"}},{"id":"contact.on.station.seat.z.0.times","op":"mul@1","args":["station.dimension.depth","k.ratio.0_5"],"outputs":{"value":"contact.on.station.seat.z.0.times.value"}},{"id":"contact.on.station.along.z.0.times","op":"mul@1","args":["contact.dimension.depth","k.ratio.0_5"],"outputs":{"value":"contact.on.station.along.z.0.times.value"}},{"id":"contact.on.station.along.z.1.sum","op":"add@1","args":["contact.on.station.along.z.0.times.value","d.mm.0"],"outputs":{"value":"contact.on.station.along.z.1.sum.value"}},{"id":"contact.on.station.edge.y.0.times","op":"mul@1","args":["station.dimension.height","host.k.centre"],"outputs":{"value":"contact.on.station.edge.y.0.times.value"}},{"id":"contact.on.station.own-edge.y.0.times","op":"mul@1","args":["contact.dimension.height","k.ratio.0_5"],"outputs":{"value":"contact.on.station.own-edge.y.0.times.value"}},{"id":"contact.seat.rigid","op":"rigid@1","args":["d.mm.0","contact.on.station.edge.y.0.times.value","contact.on.station.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"contact.seat.value"},"params":{"from":"contact.seat","to":"station.local"}},{"id":"contact.chain","op":"compose@1","args":["contact.seat.value","contact.poseValue"],"outputs":{"pose":"contact.chain.value"}},{"id":"contact.world","op":"compose@1","args":["station.world.value","contact.chain.value"],"outputs":{"pose":"contact.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"station.dimension.width":600,"station.dimension.height":900,"station.dimension.depth":300,"contact.dimension.width":400,"contact.dimension.height":60,"contact.dimension.depth":20},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-e0a800":"#e0a800"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"station","material":{"token":"palette.tpl-4f5d6b"}},{"target":"contact","material":{"token":"palette.tpl-e0a800"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"station","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"station","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"contact","type":"fixed","body0":{"part":"station","face":"front"},"body1":{"part":"contact","face":"back"},"origin":{"align":{"y":"min"}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CHARGING_STATION","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":"station.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"station.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"station.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"contact.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":"station.k.centre","unit":"ratio","value":-0.5},{"id":"contact.k.centre","unit":"ratio","value":-0.5}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"station.shape","op":"extrude@1","args":["station.start.value","station.dimension.height","station.dimension.width","station.dimension.depth"],"outputs":{"shape":"station.shapeValue"},"params":{"frame":"station.local","axis":"y","section":"rectangle"}},{"id":"station.pose","op":"rigid@1","args":["d.mm.0","station.on.host.pose.y.t0.value","station.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"station.poseValue"},"params":{"from":"station.local","to":"station.seat"}},{"id":"station","op":"place@1","args":["station.shapeValue","station.world.value"],"outputs":{"placed":"station.placed"}},{"id":"station.start","op":"mul@1","args":["station.dimension.height","station.k.centre"],"outputs":{"value":"station.start.value"}},{"id":"contact.shape","op":"extrude@1","args":["contact.start.value","contact.dimension.height","contact.dimension.width","contact.dimension.depth"],"outputs":{"shape":"contact.shapeValue"},"params":{"frame":"contact.local","axis":"y","section":"rectangle"}},{"id":"contact.pose","op":"rigid@1","args":["d.mm.0","contact.on.station.pose.y.t0.value","contact.on.station.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"contact.poseValue"},"params":{"from":"contact.local","to":"contact.seat"}},{"id":"contact","op":"place@1","args":["contact.shapeValue","contact.world.value"],"outputs":{"placed":"contact.placed"}},{"id":"contact.start","op":"mul@1","args":["contact.dimension.height","contact.k.centre"],"outputs":{"value":"contact.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":"station.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"station.on.host.seat.y.t0.value"}},{"id":"station.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"station.on.host.seat.z.t0.value"}},{"id":"station.on.host.pose.y.t0","op":"mul@1","args":["station.dimension.height","k.ratio.0_5"],"outputs":{"value":"station.on.host.pose.y.t0.value"}},{"id":"station.on.host.pose.z.t0","op":"mul@1","args":["station.dimension.depth","k.ratio.0_5"],"outputs":{"value":"station.on.host.pose.z.t0.value"}},{"id":"station.seat.rigid","op":"rigid@1","args":["d.mm.0","station.on.host.seat.y.t0.value","station.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"station.seat.value"},"params":{"from":"station.seat","to":"host.local"}},{"id":"station.chain","op":"compose@1","args":["station.seat.value","station.poseValue"],"outputs":{"pose":"station.chain.value"}},{"id":"station.world","op":"compose@1","args":["host.chain.value","station.chain.value"],"outputs":{"pose":"station.world.value"}},{"id":"contact.on.station.seat.y.t0","op":"mul@1","args":["station.dimension.height","host.k.centre"],"outputs":{"value":"contact.on.station.seat.y.t0.value"}},{"id":"contact.on.station.seat.z.t0","op":"mul@1","args":["station.dimension.depth","k.ratio.0_5"],"outputs":{"value":"contact.on.station.seat.z.t0.value"}},{"id":"contact.on.station.pose.y.t0","op":"mul@1","args":["contact.dimension.height","k.ratio.0_5"],"outputs":{"value":"contact.on.station.pose.y.t0.value"}},{"id":"contact.on.station.pose.z.t0","op":"mul@1","args":["contact.dimension.depth","k.ratio.0_5"],"outputs":{"value":"contact.on.station.pose.z.t0.value"}},{"id":"contact.seat.rigid","op":"rigid@1","args":["d.mm.0","contact.on.station.seat.y.t0.value","contact.on.station.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"contact.seat.value"},"params":{"from":"contact.seat","to":"station.local"}},{"id":"contact.chain","op":"compose@1","args":["contact.seat.value","contact.poseValue"],"outputs":{"pose":"contact.chain.value"}},{"id":"contact.world","op":"compose@1","args":["station.world.value","contact.chain.value"],"outputs":{"pose":"contact.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"station.dimension.width":600,"station.dimension.height":900,"station.dimension.depth":300,"contact.dimension.width":400,"contact.dimension.height":60,"contact.dimension.depth":20},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-4f5d6b":"#4f5d6b","palette.tpl-e0a800":"#e0a800"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"station","material":{"token":"palette.tpl-4f5d6b"}},{"target":"contact","material":{"token":"palette.tpl-e0a800"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"station","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"station"},"origin":{"align":{"z":"min"}}},{"id":"contact","type":"fixed","body0":{"part":"station","face":"front"},"body1":{"part":"contact"},"origin":{"align":{"y":"min"}}}]}