@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_BIN_ROW","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.floor","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"bin.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.450","unit":"mm","value":450}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bin.shape","op":"extrude@1","args":["bin.start.value","bin.dimension.height","bin.dimension.width","bin.dimension.depth","bin.dimension.roundX","bin.dimension.roundZ","bin.dimension.wallX","bin.dimension.wallX","bin.dimension.wallZ","bin.dimension.wallZ","bin.dimension.floor"],"outputs":{"shape":"bin.shapeValue"},"params":{"frame":"bin.local","axis":"y","section":"rectangle","corner":"round","cavity":"inside","cavity-end":"open","cavity-start":"closed"}},{"id":"bin.pose","op":"rigid@1","args":["d.mm.0","bin.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.poseValue"},"params":{"from":"bin.local","to":"bin.seat"}},{"id":"bin","op":"member@1","args":["bin.shapeValue","bin.poseValue"],"outputs":{"placed":"bin.placed"}},{"id":"bin.start","op":"mul@1","args":["bin.dimension.height","bin.k.centre"],"outputs":{"value":"bin.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":"bin.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bin.on.host.seat.y.0.times.value"}},{"id":"bin.on.host.along.y.0.times","op":"mul@1","args":["bin.dimension.height","k.ratio.0_5"],"outputs":{"value":"bin.on.host.along.y.0.times.value"}},{"id":"bin.on.host.along.y.1.sum","op":"add@1","args":["bin.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"bin.on.host.along.y.1.sum.value"}},{"id":"bin.seat.rigid","op":"rigid@1","args":["bin.row.start.0.times.value","bin.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.seat.value"},"params":{"from":"bin.seat","to":"host.local"}},{"id":"bin.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bin.row.start.0.times.value"}},{"id":"bin.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.0.times.value"}},{"id":"bin.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.1.times.value"}},{"id":"bin.row.length.1.sum","op":"add@1","args":["bin.row.length.0.times.value","bin.row.length.1.times.value"],"outputs":{"value":"bin.row.length.1.sum.value"}},{"id":"bin.row.extent.0.times","op":"mul@1","args":["bin.dimension.width","k.ratio.0_5"],"outputs":{"value":"bin.row.extent.0.times.value"}},{"id":"bin.row.extent.1.times","op":"mul@1","args":["bin.dimension.width","k.ratio.0_5"],"outputs":{"value":"bin.row.extent.1.times.value"}},{"id":"bin.row.extent.1.sum","op":"add@1","args":["bin.row.extent.0.times.value","bin.row.extent.1.times.value"],"outputs":{"value":"bin.row.extent.1.sum.value"}},{"id":"bin.layout","op":"fit-pitch@1","args":["bin.row.length.1.sum.value","d.mm.0","d.mm.0","bin.row.extent.1.sum.value","d.mm.450","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bin.layout.value"}},{"id":"bin.assembly","op":"assembly@1","args":["bin.placed"],"outputs":{"assembly":"bin.assembly.value"}},{"id":"bin.row","op":"compose@1","args":["host.chain.value","bin.seat.value"],"outputs":{"pose":"bin.row.value"}},{"id":"bin.repeat","op":"repeat@1","args":["bin.layout.value","bin.assembly.value","bin.row.value"],"outputs":{"collection":"bin.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1800,"host.size.y":800,"host.size.z":600,"bin.dimension.width":400,"bin.dimension.height":200,"bin.dimension.depth":300,"bin.dimension.roundX":10,"bin.dimension.roundZ":10,"bin.dimension.wallX":8,"bin.dimension.wallZ":8,"bin.dimension.floor":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-f39c12":"#f39c12"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bin","material":{"token":"palette.tpl-f39c12"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"bin","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bin","face":"bottom"},"origin":{},"repeat":{"axis":"X","pitch":450}}]}
1
+ {"version":"figure-asset-1","name":"TPL_BIN_ROW","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.roundZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallX","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.wallZ","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bin.dimension.floor","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"bin.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.450","unit":"mm","value":450}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bin.shape","op":"extrude@1","args":["bin.start.value","bin.dimension.height","bin.dimension.width","bin.dimension.depth","bin.dimension.roundX","bin.dimension.roundZ","bin.dimension.wallX","bin.dimension.wallX","bin.dimension.wallZ","bin.dimension.wallZ","bin.dimension.floor"],"outputs":{"shape":"bin.shapeValue"},"params":{"frame":"bin.local","axis":"y","section":"rectangle","corner":"round","cavity":"inside","cavity-end":"open","cavity-start":"closed"}},{"id":"bin.pose","op":"rigid@1","args":["d.mm.0","bin.on.host.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.poseValue"},"params":{"from":"bin.local","to":"bin.seat"}},{"id":"bin","op":"member@1","args":["bin.shapeValue","bin.poseValue"],"outputs":{"placed":"bin.placed"}},{"id":"bin.start","op":"mul@1","args":["bin.dimension.height","bin.k.centre"],"outputs":{"value":"bin.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"bin.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bin.on.host.seat.y.t0.value"}},{"id":"bin.on.host.pose.y.t0","op":"mul@1","args":["bin.dimension.height","k.ratio.0_5"],"outputs":{"value":"bin.on.host.pose.y.t0.value"}},{"id":"bin.seat.rigid","op":"rigid@1","args":["bin.row.start.0.times.value","bin.on.host.seat.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bin.seat.value"},"params":{"from":"bin.seat","to":"host.local"}},{"id":"bin.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bin.row.start.0.times.value"}},{"id":"bin.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.0.times.value"}},{"id":"bin.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bin.row.length.1.times.value"}},{"id":"bin.row.length.1.sum","op":"add@1","args":["bin.row.length.0.times.value","bin.row.length.1.times.value"],"outputs":{"value":"bin.row.length.1.sum.value"}},{"id":"bin.layout","op":"fit-pitch@1","args":["bin.row.length.1.sum.value","d.mm.0","d.mm.0","bin.dimension.width","d.mm.450","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bin.layout.value"}},{"id":"bin.assembly","op":"assembly@1","args":["bin.placed"],"outputs":{"assembly":"bin.assembly.value"}},{"id":"bin.row","op":"compose@1","args":["host.chain.value","bin.seat.value"],"outputs":{"pose":"bin.row.value"}},{"id":"bin.repeat","op":"repeat@1","args":["bin.layout.value","bin.assembly.value","bin.row.value"],"outputs":{"collection":"bin.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1800,"host.size.y":800,"host.size.z":600,"bin.dimension.width":400,"bin.dimension.height":200,"bin.dimension.depth":300,"bin.dimension.roundX":10,"bin.dimension.roundZ":10,"bin.dimension.wallX":8,"bin.dimension.wallZ":8,"bin.dimension.floor":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-f39c12":"#f39c12"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bin","material":{"token":"palette.tpl-f39c12"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bin","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bin"},"origin":{},"repeat":{"axis":"X","pitch":450}}]}
@@ -60,8 +60,7 @@
60
60
  "face": "top"
61
61
  },
62
62
  "body1": {
63
- "part": "{id}-bin",
64
- "face": "bottom"
63
+ "part": "{id}-bin"
65
64
  },
66
65
  "origin": {},
67
66
  "repeat": {
@@ -4,7 +4,7 @@ import { host, Model } from '../_lib/model.mts'
4
4
  export default function build() {
5
5
  const m = new Model(host({ x: 6000, y: 50, z: 4000 }, 'TPL_BOLLARD_ROW'))
6
6
  m.add({ id: 'bollard', kind: 'cylinder', dimensions: { radius: 80, length: 1000 } } as never)
7
- .on('bollard', 'bottom', 'host', 'top', { z: 'max' })
7
+ .on('bollard', 'host', 'top', { z: 'max' })
8
8
  .colour('bollard', 'palette.fence', '#e0b000')
9
9
  .do({ kind: 'make-repeat', part: 'bollard', axis: 'x', pitch: 1500, narrowRange: true })
10
10
  return m.asset
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_BOLLARD_ROW","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"bollard.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1500","unit":"mm","value":1500}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bollard.shape","op":"extrude@1","args":["bollard.start.value","bollard.dimension.length","bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"shape":"bollard.shapeValue"},"params":{"frame":"bollard.local","axis":"y","section":"ellipse"}},{"id":"bollard.pose","op":"rigid@1","args":["d.mm.0","bollard.on.host.along.y.1.sum.value","bollard.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.poseValue"},"params":{"from":"bollard.local","to":"bollard.seat"}},{"id":"bollard","op":"member@1","args":["bollard.shapeValue","bollard.poseValue"],"outputs":{"placed":"bollard.placed"}},{"id":"bollard.start","op":"mul@1","args":["bollard.dimension.length","bollard.k.centre"],"outputs":{"value":"bollard.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":"bollard.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.y.0.times.value"}},{"id":"bollard.on.host.along.y.0.times","op":"mul@1","args":["bollard.dimension.length","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.along.y.0.times.value"}},{"id":"bollard.on.host.along.y.1.sum","op":"add@1","args":["bollard.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"bollard.on.host.along.y.1.sum.value"}},{"id":"bollard.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.edge.z.0.times.value"}},{"id":"bollard.on.host.own-edge.z.0.times","op":"mul@1","args":["bollard.dimension.radius","k.ratio._1"],"outputs":{"value":"bollard.on.host.own-edge.z.0.times.value"}},{"id":"bollard.seat.rigid","op":"rigid@1","args":["bollard.row.start.0.times.value","bollard.on.host.seat.y.0.times.value","bollard.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.seat.value"},"params":{"from":"bollard.seat","to":"host.local"}},{"id":"bollard.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bollard.row.start.0.times.value"}},{"id":"bollard.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.0.times.value"}},{"id":"bollard.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.1.times.value"}},{"id":"bollard.row.length.1.sum","op":"add@1","args":["bollard.row.length.0.times.value","bollard.row.length.1.times.value"],"outputs":{"value":"bollard.row.length.1.sum.value"}},{"id":"bollard.row.extent.1.sum","op":"add@1","args":["bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"value":"bollard.row.extent.1.sum.value"}},{"id":"bollard.layout","op":"fit-pitch@1","args":["bollard.row.length.1.sum.value","d.mm.0","d.mm.0","bollard.row.extent.1.sum.value","d.mm.1500","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bollard.layout.value"}},{"id":"bollard.assembly","op":"assembly@1","args":["bollard.placed"],"outputs":{"assembly":"bollard.assembly.value"}},{"id":"bollard.row","op":"compose@1","args":["host.chain.value","bollard.seat.value"],"outputs":{"pose":"bollard.row.value"}},{"id":"bollard.repeat","op":"repeat@1","args":["bollard.layout.value","bollard.assembly.value","bollard.row.value"],"outputs":{"collection":"bollard.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"bollard.dimension.radius":80,"bollard.dimension.length":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bollard","material":{"token":"palette.tpl-e0b000"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"bollard","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bollard","face":"bottom"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1500}}]}
1
+ {"version":"figure-asset-1","name":"TPL_BOLLARD_ROW","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"bollard.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"bollard.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"k.ratio.2","unit":"ratio","value":2},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1500","unit":"mm","value":1500}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.size.x","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"bollard.shape","op":"extrude@1","args":["bollard.start.value","bollard.dimension.length","bollard.dimension.radius","bollard.dimension.radius"],"outputs":{"shape":"bollard.shapeValue"},"params":{"frame":"bollard.local","axis":"y","section":"ellipse"}},{"id":"bollard.pose","op":"rigid@1","args":["d.mm.0","bollard.on.host.pose.y.t0.value","bollard.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.poseValue"},"params":{"from":"bollard.local","to":"bollard.seat"}},{"id":"bollard","op":"member@1","args":["bollard.shapeValue","bollard.poseValue"],"outputs":{"placed":"bollard.placed"}},{"id":"bollard.start","op":"mul@1","args":["bollard.dimension.length","bollard.k.centre"],"outputs":{"value":"bollard.start.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"bollard.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.y.t0.value"}},{"id":"bollard.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.seat.z.t0.value"}},{"id":"bollard.on.host.pose.y.t0","op":"mul@1","args":["bollard.dimension.length","k.ratio.0_5"],"outputs":{"value":"bollard.on.host.pose.y.t0.value"}},{"id":"bollard.on.host.pose.z.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio._1"],"outputs":{"value":"bollard.on.host.pose.z.t0.value"}},{"id":"bollard.seat.rigid","op":"rigid@1","args":["bollard.row.start.0.times.value","bollard.on.host.seat.y.t0.value","bollard.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"bollard.seat.value"},"params":{"from":"bollard.seat","to":"host.local"}},{"id":"bollard.row.start.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"bollard.row.start.0.times.value"}},{"id":"bollard.row.length.0.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.0.times.value"}},{"id":"bollard.row.length.1.times","op":"mul@1","args":["host.size.x","k.ratio.0_5"],"outputs":{"value":"bollard.row.length.1.times.value"}},{"id":"bollard.row.length.1.sum","op":"add@1","args":["bollard.row.length.0.times.value","bollard.row.length.1.times.value"],"outputs":{"value":"bollard.row.length.1.sum.value"}},{"id":"bollard.row.extent.t0","op":"mul@1","args":["bollard.dimension.radius","k.ratio.2"],"outputs":{"value":"bollard.row.extent.t0.value"}},{"id":"bollard.layout","op":"fit-pitch@1","args":["bollard.row.length.1.sum.value","d.mm.0","d.mm.0","bollard.row.extent.t0.value","d.mm.1500","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"bollard.layout.value"}},{"id":"bollard.assembly","op":"assembly@1","args":["bollard.placed"],"outputs":{"assembly":"bollard.assembly.value"}},{"id":"bollard.row","op":"compose@1","args":["host.chain.value","bollard.seat.value"],"outputs":{"pose":"bollard.row.value"}},{"id":"bollard.repeat","op":"repeat@1","args":["bollard.layout.value","bollard.assembly.value","bollard.row.value"],"outputs":{"collection":"bollard.repeat.value"},"params":{"axis":"x"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":6000,"host.size.y":50,"host.size.z":4000,"bollard.dimension.radius":80,"bollard.dimension.length":1000},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"bollard","material":{"token":"palette.tpl-e0b000"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"bollard","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"bollard"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1500}}]}
@@ -71,8 +71,7 @@
71
71
  "face": "top"
72
72
  },
73
73
  "body1": {
74
- "part": "{id}-bollard",
75
- "face": "bottom"
74
+ "part": "{id}-bollard"
76
75
  },
77
76
  "origin": {
78
77
  "align": {
@@ -4,7 +4,7 @@ import { host, Model } from '../_lib/model.mts'
4
4
  export default function build() {
5
5
  const m = new Model(host({ x: 1600, y: 1400, z: 1000 }, 'TPL_BUZZER'))
6
6
  m.add({ id: 'buzzer', kind: 'cylinder', dimensions: { radius: 45, length: 50 } } as never)
7
- .on('buzzer', 'bottom', 'host', 'top', { x: 'min', z: 'min' })
7
+ .on('buzzer', 'host', 'top', { x: 'min', z: 'min' })
8
8
  .colour('buzzer', 'screen', '#1b1f23')
9
9
  return m.asset
10
10
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_BUZZER","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"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":"buzzer.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":"buzzer.shape","op":"extrude@1","args":["buzzer.start.value","buzzer.dimension.length","buzzer.dimension.radius","buzzer.dimension.radius"],"outputs":{"shape":"buzzer.shapeValue"},"params":{"frame":"buzzer.local","axis":"y","section":"ellipse"}},{"id":"buzzer.pose","op":"rigid@1","args":["buzzer.dimension.radius","buzzer.on.host.along.y.1.sum.value","buzzer.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.poseValue"},"params":{"from":"buzzer.local","to":"buzzer.seat"}},{"id":"buzzer","op":"place@1","args":["buzzer.shapeValue","buzzer.world.value"],"outputs":{"placed":"buzzer.placed"}},{"id":"buzzer.start","op":"mul@1","args":["buzzer.dimension.length","buzzer.k.centre"],"outputs":{"value":"buzzer.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":"buzzer.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.seat.y.0.times.value"}},{"id":"buzzer.on.host.along.y.0.times","op":"mul@1","args":["buzzer.dimension.length","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.along.y.0.times.value"}},{"id":"buzzer.on.host.along.y.1.sum","op":"add@1","args":["buzzer.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"buzzer.on.host.along.y.1.sum.value"}},{"id":"buzzer.on.host.edge.x.0.times","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"buzzer.on.host.edge.x.0.times.value"}},{"id":"buzzer.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"buzzer.on.host.edge.z.0.times.value"}},{"id":"buzzer.seat.rigid","op":"rigid@1","args":["buzzer.on.host.edge.x.0.times.value","buzzer.on.host.seat.y.0.times.value","buzzer.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.seat.value"},"params":{"from":"buzzer.seat","to":"host.local"}},{"id":"buzzer.chain","op":"compose@1","args":["buzzer.seat.value","buzzer.poseValue"],"outputs":{"pose":"buzzer.chain.value"}},{"id":"buzzer.world","op":"compose@1","args":["host.chain.value","buzzer.chain.value"],"outputs":{"pose":"buzzer.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"buzzer.dimension.radius":45,"buzzer.dimension.length":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"buzzer","material":{"token":"palette.tpl-1b1f23"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"buzzer","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"buzzer","face":"bottom"},"origin":{"align":{"x":"min","z":"min"}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_BUZZER","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.radius","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"buzzer.dimension.length","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"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":"buzzer.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":"buzzer.shape","op":"extrude@1","args":["buzzer.start.value","buzzer.dimension.length","buzzer.dimension.radius","buzzer.dimension.radius"],"outputs":{"shape":"buzzer.shapeValue"},"params":{"frame":"buzzer.local","axis":"y","section":"ellipse"}},{"id":"buzzer.pose","op":"rigid@1","args":["buzzer.dimension.radius","buzzer.on.host.pose.y.t0.value","buzzer.dimension.radius","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.poseValue"},"params":{"from":"buzzer.local","to":"buzzer.seat"}},{"id":"buzzer","op":"place@1","args":["buzzer.shapeValue","buzzer.world.value"],"outputs":{"placed":"buzzer.placed"}},{"id":"buzzer.start","op":"mul@1","args":["buzzer.dimension.length","buzzer.k.centre"],"outputs":{"value":"buzzer.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":"buzzer.on.host.seat.x.t0","op":"mul@1","args":["host.size.x","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.x.t0.value"}},{"id":"buzzer.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.seat.y.t0.value"}},{"id":"buzzer.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"buzzer.on.host.seat.z.t0.value"}},{"id":"buzzer.on.host.pose.y.t0","op":"mul@1","args":["buzzer.dimension.length","k.ratio.0_5"],"outputs":{"value":"buzzer.on.host.pose.y.t0.value"}},{"id":"buzzer.seat.rigid","op":"rigid@1","args":["buzzer.on.host.seat.x.t0.value","buzzer.on.host.seat.y.t0.value","buzzer.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"buzzer.seat.value"},"params":{"from":"buzzer.seat","to":"host.local"}},{"id":"buzzer.chain","op":"compose@1","args":["buzzer.seat.value","buzzer.poseValue"],"outputs":{"pose":"buzzer.chain.value"}},{"id":"buzzer.world","op":"compose@1","args":["host.chain.value","buzzer.chain.value"],"outputs":{"pose":"buzzer.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"buzzer.dimension.radius":45,"buzzer.dimension.length":50},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-1b1f23":"#1b1f23"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"buzzer","material":{"token":"palette.tpl-1b1f23"},"segments":12}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"buzzer","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"buzzer"},"origin":{"align":{"x":"min","z":"min"}}}]}
@@ -38,8 +38,7 @@
38
38
  "face": "top"
39
39
  },
40
40
  "body1": {
41
- "part": "{id}-buzzer",
42
- "face": "bottom"
41
+ "part": "{id}-buzzer"
43
42
  },
44
43
  "origin": {
45
44
  "align": {
@@ -7,14 +7,14 @@ export default function build(values: Values) {
7
7
  m.box('left', 490, 1760, 20)
8
8
  .follow('left', 'x', 'host', 'x', two ? 0.49 : 0.98)
9
9
  .follow('left', 'y', 'host', 'y', 0.98)
10
- .on('left', 'back', 'host', 'front', { x: 'min' })
10
+ .on('left', 'host', 'front', { x: 'min' })
11
11
  .colour('left', 'palette.leaf', '#5c7c96')
12
12
  .moves('left', { type: 'revolute', axis: 'Y', lower: -100, upper: 0, state: 'open' })
13
13
  if (two)
14
14
  m.box('right', 490, 1760, 20)
15
15
  .follow('right', 'x', 'left', 'x')
16
16
  .follow('right', 'y', 'left', 'y')
17
- .on('right', 'back', 'host', 'front', { x: 'max' })
17
+ .on('right', 'host', 'front', { x: 'max' })
18
18
  .colour('right', 'palette.leaf', '#5c7c96')
19
19
  .moves('right', { type: 'revolute', axis: 'Y', mimic: { joint: 'left', multiplier: -1 } })
20
20
  return m.asset
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.own-edge.x.0.times.value","d.mm.0","left.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.own-edge.x.0.times.value","d.mm.0","right.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.0.times.value"}},{"id":"left.on.host.along.z.0.times","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.along.z.0.times.value"}},{"id":"left.on.host.along.z.1.sum","op":"add@1","args":["left.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"left.on.host.along.z.1.sum.value"}},{"id":"left.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.edge.x.0.times.value"}},{"id":"left.on.host.own-edge.x.0.times","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.own-edge.x.0.times.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.edge.x.0.times.value","d.mm.0","left.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.0.times.value"}},{"id":"right.on.host.along.z.0.times","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.along.z.0.times.value"}},{"id":"right.on.host.along.z.1.sum","op":"add@1","args":["right.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"right.on.host.along.z.1.sum.value"}},{"id":"right.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.edge.x.0.times.value"}},{"id":"right.on.host.own-edge.x.0.times","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.own-edge.x.0.times.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.edge.x.0.times.value","d.mm.0","right.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left","face":"back"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}},{"id":"right","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"right","face":"back"},"origin":{"align":{"x":"max"}},"axis":"Y","mimic":{"joint":"left","multiplier":-1}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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.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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}},{"id":"right","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"right"},"origin":{"align":{"x":"max"}},"axis":"Y","mimic":{"joint":"left","multiplier":-1}}]}
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.own-edge.x.0.times.value","d.mm.0","left.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_98"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.0.times.value"}},{"id":"left.on.host.along.z.0.times","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.along.z.0.times.value"}},{"id":"left.on.host.along.z.1.sum","op":"add@1","args":["left.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"left.on.host.along.z.1.sum.value"}},{"id":"left.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.edge.x.0.times.value"}},{"id":"left.on.host.own-edge.x.0.times","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.own-edge.x.0.times.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.edge.x.0.times.value","d.mm.0","left.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left","face":"back"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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.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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_98"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.own-edge.x.0.times.value","d.mm.0","left.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.own-edge.x.0.times.value","d.mm.0","right.on.host.along.z.1.sum.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.0.times.value"}},{"id":"left.on.host.along.z.0.times","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.along.z.0.times.value"}},{"id":"left.on.host.along.z.1.sum","op":"add@1","args":["left.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"left.on.host.along.z.1.sum.value"}},{"id":"left.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.edge.x.0.times.value"}},{"id":"left.on.host.own-edge.x.0.times","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.own-edge.x.0.times.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.edge.x.0.times.value","d.mm.0","left.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.z.0.times","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.0.times.value"}},{"id":"right.on.host.along.z.0.times","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.along.z.0.times.value"}},{"id":"right.on.host.along.z.1.sum","op":"add@1","args":["right.on.host.along.z.0.times.value","d.mm.0"],"outputs":{"value":"right.on.host.along.z.1.sum.value"}},{"id":"right.on.host.edge.x.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.edge.x.0.times.value"}},{"id":"right.on.host.own-edge.x.0.times","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.own-edge.x.0.times.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.edge.x.0.times.value","d.mm.0","right.on.host.seat.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left","face":"back"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}},{"id":"right","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"right","face":"back"},"origin":{"align":{"x":"max"}},"axis":"Y","mimic":{"joint":"left","multiplier":-1}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CABINET_DOORS","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":"left.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"right.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-100,"max":0,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"left.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_49","unit":"ratio","value":0.49},{"id":"k.ratio.0_98","unit":"ratio","value":0.98},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"right.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.dimension.y.value","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.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":"left.shape","op":"extrude@1","args":["left.start.value","left.dimension.y.value","left.dimension.x.value","left.dimension.depth"],"outputs":{"shape":"left.shapeValue"},"params":{"frame":"left.local","axis":"y","section":"rectangle"}},{"id":"left.pose","op":"rigid@1","args":["left.on.host.pose.x.t0.value","d.mm.0","left.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.poseValue"},"params":{"from":"left.local","to":"left.seat"}},{"id":"left","op":"place@1","args":["left.shapeValue","left.world.value"],"outputs":{"placed":"left.placed"}},{"id":"left.start","op":"mul@1","args":["left.dimension.y.value","left.k.centre"],"outputs":{"value":"left.start.value"}},{"id":"left.dimension.x","op":"mul@1","args":["left.x.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"left.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_49"],"outputs":{"value":"left.x.follows.times.value"}},{"id":"left.dimension.y","op":"mul@1","args":["left.y.follows.times.value","k.ratio.1"],"outputs":{"value":"left.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"left.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_98"],"outputs":{"value":"left.y.follows.times.value"}},{"id":"right.shape","op":"extrude@1","args":["right.start.value","right.dimension.y.value","right.dimension.x.value","right.dimension.depth"],"outputs":{"shape":"right.shapeValue"},"params":{"frame":"right.local","axis":"y","section":"rectangle"}},{"id":"right.pose","op":"rigid@1","args":["right.on.host.pose.x.t0.value","d.mm.0","right.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.poseValue"},"params":{"from":"right.local","to":"right.seat"}},{"id":"right","op":"place@1","args":["right.shapeValue","right.world.value"],"outputs":{"placed":"right.placed"}},{"id":"right.start","op":"mul@1","args":["right.dimension.y.value","right.k.centre"],"outputs":{"value":"right.start.value"}},{"id":"right.dimension.x","op":"mul@1","args":["left.dimension.x.value","k.ratio.1"],"outputs":{"value":"right.dimension.x.value"}},{"id":"right.dimension.y","op":"mul@1","args":["left.dimension.y.value","k.ratio.1"],"outputs":{"value":"right.dimension.y.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.dimension.y.value","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":"left.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"left.on.host.seat.x.t0.value"}},{"id":"left.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"left.on.host.seat.z.t0.value"}},{"id":"left.on.host.pose.x.t0","op":"mul@1","args":["left.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.x.t0.value"}},{"id":"left.on.host.pose.z.t0","op":"mul@1","args":["left.dimension.depth","k.ratio.0_5"],"outputs":{"value":"left.on.host.pose.z.t0.value"}},{"id":"left.seat.rigid","op":"rigid@1","args":["left.on.host.seat.x.t0.value","d.mm.0","left.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"left.seat.value"},"params":{"from":"left.joint","to":"host.local"}},{"id":"left.chain","op":"compose@1","args":["left.seat.value","left.turned.value"],"outputs":{"pose":"left.chain.value"}},{"id":"left.world","op":"compose@1","args":["host.chain.value","left.chain.value"],"outputs":{"pose":"left.world.value"}},{"id":"left.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"left.motion.value"},"params":{"from":"left.seat","to":"left.joint"}},{"id":"left.turned","op":"compose@1","args":["left.motion.value","left.poseValue"],"outputs":{"pose":"left.turned.value"}},{"id":"right.on.host.seat.x.t0","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.x.t0.value"}},{"id":"right.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"right.on.host.seat.z.t0.value"}},{"id":"right.on.host.pose.x.t0","op":"mul@1","args":["right.dimension.x.value","host.k.centre"],"outputs":{"value":"right.on.host.pose.x.t0.value"}},{"id":"right.on.host.pose.z.t0","op":"mul@1","args":["right.dimension.depth","k.ratio.0_5"],"outputs":{"value":"right.on.host.pose.z.t0.value"}},{"id":"right.seat.rigid","op":"rigid@1","args":["right.on.host.seat.x.t0.value","d.mm.0","right.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"right.seat.value"},"params":{"from":"right.joint","to":"host.local"}},{"id":"right.chain","op":"compose@1","args":["right.seat.value","right.turned.value"],"outputs":{"pose":"right.chain.value"}},{"id":"right.world","op":"compose@1","args":["host.chain.value","right.chain.value"],"outputs":{"pose":"right.world.value"}},{"id":"right.motion.mimic","op":"mul@1","args":["open","k.ratio._1"],"outputs":{"value":"right.motion.mimic.value"}},{"id":"right.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","right.motion.mimic.value"],"outputs":{"pose":"right.motion.value"},"params":{"from":"right.seat","to":"right.joint"}},{"id":"right.turned","op":"compose@1","args":["right.motion.value","right.poseValue"],"outputs":{"pose":"right.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1000,"host.size.y":1800,"host.size.z":500,"left.dimension.depth":20,"right.dimension.depth":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"left","material":{"token":"palette.tpl-5c7c96"}},{"target":"right","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"left","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"left"},"origin":{"align":{"x":"min"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}},{"id":"right","type":"revolute","body0":{"part":"host","face":"front"},"body1":{"part":"right"},"origin":{"align":{"x":"max"}},"axis":"Y","mimic":{"joint":"left","multiplier":-1}}]}
@@ -167,8 +167,7 @@
167
167
  "face": "front"
168
168
  },
169
169
  "body1": {
170
- "part": "{id}-left",
171
- "face": "back"
170
+ "part": "{id}-left"
172
171
  },
173
172
  "origin": {
174
173
  "align": {
@@ -197,8 +196,7 @@
197
196
  "face": "front"
198
197
  },
199
198
  "body1": {
200
- "part": "{id}-right",
201
- "face": "back"
199
+ "part": "{id}-right"
202
200
  },
203
201
  "origin": {
204
202
  "align": {
@@ -5,12 +5,12 @@ export default function build() {
5
5
  const m = new Model(host({ x: 3000, y: 700, z: 800 }, 'TPL_CABLE_TRAY'))
6
6
  m.box('floor', 3000, 10, 300)
7
7
  .follow('floor', 'x', 'host', 'x')
8
- .on('floor', 'bottom', 'host', 'top', { z: 'min' })
8
+ .on('floor', 'host', 'top', { z: 'min' })
9
9
  .colour('floor', 'palette.tray', '#9aa3ab')
10
10
  for (const [lip, z] of [['lip-back', 'min'], ['lip-front', 'max']] as const)
11
11
  m.box(lip, 3000, 60, 10)
12
12
  .follow(lip, 'x', 'floor', 'x')
13
- .on(lip, 'bottom', 'floor', 'top', { z })
13
+ .on(lip, 'floor', 'top', { z })
14
14
  .colour(lip, 'palette.tray', '#9aa3ab')
15
15
  return m.asset
16
16
  }
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_CABLE_TRAY","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":"floor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"floor.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.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":"floor.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"lip-back.k.centre","unit":"ratio","value":-0.5},{"id":"lip-front.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.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":"floor.shape","op":"extrude@1","args":["floor.start.value","floor.dimension.height","floor.dimension.x.value","floor.dimension.depth"],"outputs":{"shape":"floor.shapeValue"},"params":{"frame":"floor.local","axis":"y","section":"rectangle"}},{"id":"floor.pose","op":"rigid@1","args":["d.mm.0","floor.on.host.along.y.1.sum.value","floor.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.poseValue"},"params":{"from":"floor.local","to":"floor.seat"}},{"id":"floor","op":"place@1","args":["floor.shapeValue","floor.world.value"],"outputs":{"placed":"floor.placed"}},{"id":"floor.start","op":"mul@1","args":["floor.dimension.height","floor.k.centre"],"outputs":{"value":"floor.start.value"}},{"id":"floor.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"floor.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"lip-back.shape","op":"extrude@1","args":["lip-back.start.value","lip-back.dimension.height","lip-back.dimension.x.value","lip-back.dimension.depth"],"outputs":{"shape":"lip-back.shapeValue"},"params":{"frame":"lip-back.local","axis":"y","section":"rectangle"}},{"id":"lip-back.pose","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.along.y.1.sum.value","lip-back.on.floor.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.poseValue"},"params":{"from":"lip-back.local","to":"lip-back.seat"}},{"id":"lip-back","op":"place@1","args":["lip-back.shapeValue","lip-back.world.value"],"outputs":{"placed":"lip-back.placed"}},{"id":"lip-back.start","op":"mul@1","args":["lip-back.dimension.height","lip-back.k.centre"],"outputs":{"value":"lip-back.start.value"}},{"id":"lip-back.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-back.dimension.x.value"}},{"id":"lip-front.shape","op":"extrude@1","args":["lip-front.start.value","lip-front.dimension.height","lip-front.dimension.x.value","lip-front.dimension.depth"],"outputs":{"shape":"lip-front.shapeValue"},"params":{"frame":"lip-front.local","axis":"y","section":"rectangle"}},{"id":"lip-front.pose","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.along.y.1.sum.value","lip-front.on.floor.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.poseValue"},"params":{"from":"lip-front.local","to":"lip-front.seat"}},{"id":"lip-front","op":"place@1","args":["lip-front.shapeValue","lip-front.world.value"],"outputs":{"placed":"lip-front.placed"}},{"id":"lip-front.start","op":"mul@1","args":["lip-front.dimension.height","lip-front.k.centre"],"outputs":{"value":"lip-front.start.value"}},{"id":"lip-front.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-front.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":"floor.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"floor.on.host.seat.y.0.times.value"}},{"id":"floor.on.host.along.y.0.times","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"floor.on.host.along.y.0.times.value"}},{"id":"floor.on.host.along.y.1.sum","op":"add@1","args":["floor.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"floor.on.host.along.y.1.sum.value"}},{"id":"floor.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"floor.on.host.edge.z.0.times.value"}},{"id":"floor.on.host.own-edge.z.0.times","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"floor.on.host.own-edge.z.0.times.value"}},{"id":"floor.seat.rigid","op":"rigid@1","args":["d.mm.0","floor.on.host.seat.y.0.times.value","floor.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.seat.value"},"params":{"from":"floor.seat","to":"host.local"}},{"id":"floor.chain","op":"compose@1","args":["floor.seat.value","floor.poseValue"],"outputs":{"pose":"floor.chain.value"}},{"id":"floor.world","op":"compose@1","args":["host.chain.value","floor.chain.value"],"outputs":{"pose":"floor.world.value"}},{"id":"lip-back.on.floor.seat.y.0.times","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.seat.y.0.times.value"}},{"id":"lip-back.on.floor.along.y.0.times","op":"mul@1","args":["lip-back.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.along.y.0.times.value"}},{"id":"lip-back.on.floor.along.y.1.sum","op":"add@1","args":["lip-back.on.floor.along.y.0.times.value","d.mm.0"],"outputs":{"value":"lip-back.on.floor.along.y.1.sum.value"}},{"id":"lip-back.on.floor.edge.z.0.times","op":"mul@1","args":["floor.dimension.depth","host.k.centre"],"outputs":{"value":"lip-back.on.floor.edge.z.0.times.value"}},{"id":"lip-back.on.floor.own-edge.z.0.times","op":"mul@1","args":["lip-back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.own-edge.z.0.times.value"}},{"id":"lip-back.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.seat.y.0.times.value","lip-back.on.floor.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.seat.value"},"params":{"from":"lip-back.seat","to":"floor.local"}},{"id":"lip-back.chain","op":"compose@1","args":["lip-back.seat.value","lip-back.poseValue"],"outputs":{"pose":"lip-back.chain.value"}},{"id":"lip-back.world","op":"compose@1","args":["floor.world.value","lip-back.chain.value"],"outputs":{"pose":"lip-back.world.value"}},{"id":"lip-front.on.floor.seat.y.0.times","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.y.0.times.value"}},{"id":"lip-front.on.floor.along.y.0.times","op":"mul@1","args":["lip-front.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.along.y.0.times.value"}},{"id":"lip-front.on.floor.along.y.1.sum","op":"add@1","args":["lip-front.on.floor.along.y.0.times.value","d.mm.0"],"outputs":{"value":"lip-front.on.floor.along.y.1.sum.value"}},{"id":"lip-front.on.floor.edge.z.0.times","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.edge.z.0.times.value"}},{"id":"lip-front.on.floor.own-edge.z.0.times","op":"mul@1","args":["lip-front.dimension.depth","host.k.centre"],"outputs":{"value":"lip-front.on.floor.own-edge.z.0.times.value"}},{"id":"lip-front.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.seat.y.0.times.value","lip-front.on.floor.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.seat.value"},"params":{"from":"lip-front.seat","to":"floor.local"}},{"id":"lip-front.chain","op":"compose@1","args":["lip-front.seat.value","lip-front.poseValue"],"outputs":{"pose":"lip-front.chain.value"}},{"id":"lip-front.world","op":"compose@1","args":["floor.world.value","lip-front.chain.value"],"outputs":{"pose":"lip-front.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"floor.dimension.height":10,"floor.dimension.depth":300,"lip-back.dimension.height":60,"lip-back.dimension.depth":10,"lip-front.dimension.height":60,"lip-front.dimension.depth":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"floor","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-back","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-front","material":{"token":"palette.tpl-9aa3ab"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"floor","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"floor","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"lip-back","type":"fixed","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-back","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"lip-front","type":"fixed","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-front","face":"bottom"},"origin":{"align":{"z":"max"}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_CABLE_TRAY","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":"floor.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"floor.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-back.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"lip-front.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":"floor.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"lip-back.k.centre","unit":"ratio","value":-0.5},{"id":"lip-front.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.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.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":"floor.shape","op":"extrude@1","args":["floor.start.value","floor.dimension.height","floor.dimension.x.value","floor.dimension.depth"],"outputs":{"shape":"floor.shapeValue"},"params":{"frame":"floor.local","axis":"y","section":"rectangle"}},{"id":"floor.pose","op":"rigid@1","args":["d.mm.0","floor.on.host.pose.y.t0.value","floor.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.poseValue"},"params":{"from":"floor.local","to":"floor.seat"}},{"id":"floor","op":"place@1","args":["floor.shapeValue","floor.world.value"],"outputs":{"placed":"floor.placed"}},{"id":"floor.start","op":"mul@1","args":["floor.dimension.height","floor.k.centre"],"outputs":{"value":"floor.start.value"}},{"id":"floor.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"floor.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"lip-back.shape","op":"extrude@1","args":["lip-back.start.value","lip-back.dimension.height","lip-back.dimension.x.value","lip-back.dimension.depth"],"outputs":{"shape":"lip-back.shapeValue"},"params":{"frame":"lip-back.local","axis":"y","section":"rectangle"}},{"id":"lip-back.pose","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.pose.y.t0.value","lip-back.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.poseValue"},"params":{"from":"lip-back.local","to":"lip-back.seat"}},{"id":"lip-back","op":"place@1","args":["lip-back.shapeValue","lip-back.world.value"],"outputs":{"placed":"lip-back.placed"}},{"id":"lip-back.start","op":"mul@1","args":["lip-back.dimension.height","lip-back.k.centre"],"outputs":{"value":"lip-back.start.value"}},{"id":"lip-back.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-back.dimension.x.value"}},{"id":"lip-front.shape","op":"extrude@1","args":["lip-front.start.value","lip-front.dimension.height","lip-front.dimension.x.value","lip-front.dimension.depth"],"outputs":{"shape":"lip-front.shapeValue"},"params":{"frame":"lip-front.local","axis":"y","section":"rectangle"}},{"id":"lip-front.pose","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.pose.y.t0.value","lip-front.on.floor.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.poseValue"},"params":{"from":"lip-front.local","to":"lip-front.seat"}},{"id":"lip-front","op":"place@1","args":["lip-front.shapeValue","lip-front.world.value"],"outputs":{"placed":"lip-front.placed"}},{"id":"lip-front.start","op":"mul@1","args":["lip-front.dimension.height","lip-front.k.centre"],"outputs":{"value":"lip-front.start.value"}},{"id":"lip-front.dimension.x","op":"mul@1","args":["floor.dimension.x.value","k.ratio.1"],"outputs":{"value":"lip-front.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":"floor.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"floor.on.host.seat.y.t0.value"}},{"id":"floor.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","host.k.centre"],"outputs":{"value":"floor.on.host.seat.z.t0.value"}},{"id":"floor.on.host.pose.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.y.t0.value"}},{"id":"floor.on.host.pose.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"floor.on.host.pose.z.t0.value"}},{"id":"floor.seat.rigid","op":"rigid@1","args":["d.mm.0","floor.on.host.seat.y.t0.value","floor.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"floor.seat.value"},"params":{"from":"floor.seat","to":"host.local"}},{"id":"floor.chain","op":"compose@1","args":["floor.seat.value","floor.poseValue"],"outputs":{"pose":"floor.chain.value"}},{"id":"floor.world","op":"compose@1","args":["host.chain.value","floor.chain.value"],"outputs":{"pose":"floor.world.value"}},{"id":"lip-back.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.seat.y.t0.value"}},{"id":"lip-back.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","host.k.centre"],"outputs":{"value":"lip-back.on.floor.seat.z.t0.value"}},{"id":"lip-back.on.floor.pose.y.t0","op":"mul@1","args":["lip-back.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.y.t0.value"}},{"id":"lip-back.on.floor.pose.z.t0","op":"mul@1","args":["lip-back.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-back.on.floor.pose.z.t0.value"}},{"id":"lip-back.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-back.on.floor.seat.y.t0.value","lip-back.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-back.seat.value"},"params":{"from":"lip-back.seat","to":"floor.local"}},{"id":"lip-back.chain","op":"compose@1","args":["lip-back.seat.value","lip-back.poseValue"],"outputs":{"pose":"lip-back.chain.value"}},{"id":"lip-back.world","op":"compose@1","args":["floor.world.value","lip-back.chain.value"],"outputs":{"pose":"lip-back.world.value"}},{"id":"lip-front.on.floor.seat.y.t0","op":"mul@1","args":["floor.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.y.t0.value"}},{"id":"lip-front.on.floor.seat.z.t0","op":"mul@1","args":["floor.dimension.depth","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.seat.z.t0.value"}},{"id":"lip-front.on.floor.pose.y.t0","op":"mul@1","args":["lip-front.dimension.height","k.ratio.0_5"],"outputs":{"value":"lip-front.on.floor.pose.y.t0.value"}},{"id":"lip-front.on.floor.pose.z.t0","op":"mul@1","args":["lip-front.dimension.depth","host.k.centre"],"outputs":{"value":"lip-front.on.floor.pose.z.t0.value"}},{"id":"lip-front.seat.rigid","op":"rigid@1","args":["d.mm.0","lip-front.on.floor.seat.y.t0.value","lip-front.on.floor.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"lip-front.seat.value"},"params":{"from":"lip-front.seat","to":"floor.local"}},{"id":"lip-front.chain","op":"compose@1","args":["lip-front.seat.value","lip-front.poseValue"],"outputs":{"pose":"lip-front.chain.value"}},{"id":"lip-front.world","op":"compose@1","args":["floor.world.value","lip-front.chain.value"],"outputs":{"pose":"lip-front.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"floor.dimension.height":10,"floor.dimension.depth":300,"lip-back.dimension.height":60,"lip-back.dimension.depth":10,"lip-front.dimension.height":60,"lip-front.dimension.depth":10},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-9aa3ab":"#9aa3ab"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"floor","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-back","material":{"token":"palette.tpl-9aa3ab"}},{"target":"lip-front","material":{"token":"palette.tpl-9aa3ab"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"floor","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"floor"},"origin":{"align":{"z":"min"}}},{"id":"lip-back","type":"fixed","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-back"},"origin":{"align":{"z":"min"}}},{"id":"lip-front","type":"fixed","body0":{"part":"floor","face":"top"},"body1":{"part":"lip-front"},"origin":{"align":{"z":"max"}}}]}