@things-factory/figure-service 10.1.207 → 10.1.210

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 (257) hide show
  1. package/dist-server/service/figure/figure-context.d.ts +2 -1
  2. package/dist-server/service/figure/figure-context.js +2 -1
  3. package/dist-server/service/figure/figure-context.js.map +1 -1
  4. package/dist-server/service/figure/figure.js.map +1 -1
  5. package/dist-server/tsconfig.tsbuildinfo +1 -1
  6. package/package.json +8 -8
  7. package/recipes/_lib/model.mts +12 -8
  8. package/recipes/air-cylinder/models/default.json +1 -1
  9. package/recipes/air-cylinder/recipe.json +13 -10
  10. package/recipes/air-cylinder/spec.json +1 -1
  11. package/recipes/air-shower/models/default.json +1 -1
  12. package/recipes/air-shower/recipe.json +11 -8
  13. package/recipes/barrier-gate/models/default.json +1 -1
  14. package/recipes/barrier-gate/recipe.json +11 -7
  15. package/recipes/base-frame/models/default.json +1 -1
  16. package/recipes/base-frame/recipe.json +0 -4
  17. package/recipes/belt-surface/models/default.json +1 -1
  18. package/recipes/belt-surface/recipe.json +0 -1
  19. package/recipes/bin-row/models/default.json +1 -1
  20. package/recipes/bin-row/recipe.json +0 -1
  21. package/recipes/bollard-row/models/default.json +1 -1
  22. package/recipes/bollard-row/recipe.json +0 -1
  23. package/recipes/buzzer/models/default.json +1 -1
  24. package/recipes/buzzer/recipe.json +0 -1
  25. package/recipes/cabinet-doors/build.mts +1 -1
  26. package/recipes/cabinet-doors/models/default.json +1 -1
  27. package/recipes/cabinet-doors/models/doors=1.json +1 -1
  28. package/recipes/cabinet-doors/models/doors=2.json +1 -1
  29. package/recipes/cabinet-doors/recipe.json +21 -13
  30. package/recipes/cable-tray/models/default.json +1 -1
  31. package/recipes/cable-tray/recipe.json +0 -3
  32. package/recipes/camera-mount/models/default.json +1 -1
  33. package/recipes/camera-mount/recipe.json +11 -8
  34. package/recipes/canopy/models/default.json +1 -1
  35. package/recipes/canopy/recipe.json +0 -5
  36. package/recipes/cart/models/default.json +1 -1
  37. package/recipes/cart/recipe.json +0 -12
  38. package/recipes/cart-handle/models/default.json +1 -1
  39. package/recipes/cart-handle/recipe.json +0 -3
  40. package/recipes/casters-four/models/default.json +1 -1
  41. package/recipes/casters-four/recipe.json +0 -8
  42. package/recipes/ceiling-rail-carriage/build.mts +1 -1
  43. package/recipes/ceiling-rail-carriage/models/default.json +1 -1
  44. package/recipes/ceiling-rail-carriage/recipe.json +19 -16
  45. package/recipes/chain-rails/models/default.json +1 -1
  46. package/recipes/chain-rails/recipe.json +0 -2
  47. package/recipes/charging-station/models/default.json +1 -1
  48. package/recipes/charging-station/recipe.json +0 -2
  49. package/recipes/column-row/models/default.json +1 -1
  50. package/recipes/column-row/recipe.json +0 -1
  51. package/recipes/control-cabinet/models/default.json +1 -1
  52. package/recipes/control-cabinet/recipe.json +11 -8
  53. package/recipes/conveyor-skirts/models/default.json +1 -1
  54. package/recipes/conveyor-skirts/recipe.json +0 -2
  55. package/recipes/counter-display/models/default.json +1 -1
  56. package/recipes/counter-display/recipe.json +0 -2
  57. package/recipes/dock-bumpers/models/default.json +1 -1
  58. package/recipes/dock-bumpers/recipe.json +0 -2
  59. package/recipes/dock-leveler/models/default.json +1 -1
  60. package/recipes/dock-leveler/recipe.json +11 -7
  61. package/recipes/double-hinged-door/build.mts +1 -1
  62. package/recipes/double-hinged-door/models/default.json +1 -1
  63. package/recipes/double-hinged-door/recipe.json +21 -14
  64. package/recipes/drawer-stack/models/default.json +1 -1
  65. package/recipes/drawer-stack/models/drawers=2.json +1 -1
  66. package/recipes/drawer-stack/models/drawers=3.json +1 -1
  67. package/recipes/drawer-stack/models/drawers=4.json +1 -1
  68. package/recipes/drawer-stack/recipe.json +99 -63
  69. package/recipes/drip-tray/models/default.json +1 -1
  70. package/recipes/drip-tray/recipe.json +0 -1
  71. package/recipes/duct-fan/models/default.json +1 -1
  72. package/recipes/duct-fan/recipe.json +11 -8
  73. package/recipes/emergency-stop/models/default.json +1 -1
  74. package/recipes/emergency-stop/recipe.json +11 -8
  75. package/recipes/end-covers/models/default.json +1 -1
  76. package/recipes/end-covers/recipe.json +0 -2
  77. package/recipes/ffu-row/models/default.json +1 -1
  78. package/recipes/ffu-row/recipe.json +0 -1
  79. package/recipes/fire-extinguisher/models/default.json +1 -1
  80. package/recipes/fire-extinguisher/recipe.json +0 -2
  81. package/recipes/first-aid-box/models/default.json +1 -1
  82. package/recipes/first-aid-box/recipe.json +0 -2
  83. package/recipes/floor-zone/models/default.json +1 -1
  84. package/recipes/floor-zone/recipe.json +0 -4
  85. package/recipes/folding-door/build.mts +1 -1
  86. package/recipes/folding-door/models/default.json +1 -1
  87. package/recipes/folding-door/recipe.json +21 -14
  88. package/recipes/fork/build.mts +1 -1
  89. package/recipes/fork/models/default.json +1 -1
  90. package/recipes/fork/recipe.json +23 -15
  91. package/recipes/fork/spec.json +1 -1
  92. package/recipes/gantry-frame/models/default.json +1 -1
  93. package/recipes/gantry-frame/recipe.json +0 -3
  94. package/recipes/gripper-2f/build.mts +1 -1
  95. package/recipes/gripper-2f/models/default.json +1 -1
  96. package/recipes/gripper-2f/recipe.json +23 -16
  97. package/recipes/gripper-2f/spec.json +1 -1
  98. package/recipes/guard-cover/models/default.json +1 -1
  99. package/recipes/guard-cover/recipe.json +11 -7
  100. package/recipes/handrail/models/default.json +1 -1
  101. package/recipes/handrail/recipe.json +0 -2
  102. package/recipes/hatch/models/default.json +1 -1
  103. package/recipes/hatch/recipe.json +11 -8
  104. package/recipes/hinged-door/build.mts +2 -3
  105. package/recipes/hinged-door/models/default.json +1 -1
  106. package/recipes/hinged-door/models/hinge=left.json +1 -1
  107. package/recipes/hinged-door/models/hinge=right.json +1 -1
  108. package/recipes/hinged-door/recipe.json +22 -15
  109. package/recipes/hmi-monitor/models/default.json +1 -1
  110. package/recipes/hmi-monitor/recipe.json +11 -8
  111. package/recipes/hopper/models/default.json +1 -1
  112. package/recipes/hopper/recipe.json +0 -2
  113. package/recipes/interlock-switch/models/default.json +1 -1
  114. package/recipes/interlock-switch/recipe.json +0 -1
  115. package/recipes/junction-box/models/default.json +1 -1
  116. package/recipes/junction-box/recipe.json +0 -1
  117. package/recipes/ladder/models/default.json +1 -1
  118. package/recipes/ladder/recipe.json +0 -3
  119. package/recipes/legs-four/models/default.json +1 -1
  120. package/recipes/legs-four/recipe.json +0 -4
  121. package/recipes/leveling-feet/models/default.json +1 -1
  122. package/recipes/leveling-feet/recipe.json +0 -4
  123. package/recipes/lift-updown/models/default.json +1 -1
  124. package/recipes/lift-updown/recipe.json +13 -9
  125. package/recipes/lift-updown/spec.json +1 -1
  126. package/recipes/light-curtain/models/default.json +1 -1
  127. package/recipes/light-curtain/recipe.json +0 -2
  128. package/recipes/limit-switch/models/default.json +1 -1
  129. package/recipes/limit-switch/recipe.json +11 -8
  130. package/recipes/linear-guide/build.mts +1 -1
  131. package/recipes/linear-guide/models/default.json +1 -1
  132. package/recipes/linear-guide/recipe.json +19 -16
  133. package/recipes/locker-row/models/default.json +1 -1
  134. package/recipes/locker-row/recipe.json +0 -1
  135. package/recipes/motor-box/models/default.json +1 -1
  136. package/recipes/motor-box/recipe.json +0 -1
  137. package/recipes/observation-window/models/default.json +1 -1
  138. package/recipes/observation-window/recipe.json +0 -2
  139. package/recipes/operator-panel/models/buttons=2.json +1 -1
  140. package/recipes/operator-panel/models/buttons=3.json +1 -1
  141. package/recipes/operator-panel/models/buttons=4.json +1 -1
  142. package/recipes/operator-panel/models/buttons=5.json +1 -1
  143. package/recipes/operator-panel/models/default.json +1 -1
  144. package/recipes/operator-panel/recipe.json +0 -5
  145. package/recipes/pallet/models/default.json +1 -1
  146. package/recipes/pallet/recipe.json +0 -4
  147. package/recipes/partition-wall/models/default.json +1 -1
  148. package/recipes/partition-wall/recipe.json +0 -3
  149. package/recipes/pass-box/models/default.json +1 -1
  150. package/recipes/pass-box/recipe.json +11 -8
  151. package/recipes/peg-board/models/default.json +1 -1
  152. package/recipes/peg-board/recipe.json +0 -2
  153. package/recipes/photo-sensor-pair/models/default.json +1 -1
  154. package/recipes/photo-sensor-pair/recipe.json +0 -2
  155. package/recipes/pipe-run/models/default.json +1 -1
  156. package/recipes/pipe-run/recipe.json +0 -1
  157. package/recipes/platform/models/default.json +1 -1
  158. package/recipes/platform/recipe.json +0 -5
  159. package/recipes/power-box/models/default.json +1 -1
  160. package/recipes/power-box/recipe.json +0 -1
  161. package/recipes/pressure-gauge/models/default.json +1 -1
  162. package/recipes/pressure-gauge/recipe.json +0 -1
  163. package/recipes/pull-cord/models/default.json +1 -1
  164. package/recipes/pull-cord/recipe.json +0 -1
  165. package/recipes/pump/models/default.json +1 -1
  166. package/recipes/pump/recipe.json +0 -2
  167. package/recipes/pusher/build.mts +1 -1
  168. package/recipes/pusher/models/default.json +1 -1
  169. package/recipes/pusher/recipe.json +19 -15
  170. package/recipes/robot-plinth/models/default.json +1 -1
  171. package/recipes/robot-plinth/recipe.json +0 -2
  172. package/recipes/roll-up-shutter/build.mts +1 -1
  173. package/recipes/roll-up-shutter/models/default.json +1 -1
  174. package/recipes/roll-up-shutter/recipe.json +19 -16
  175. package/recipes/roller-row/models/default.json +1 -1
  176. package/recipes/roller-row/recipe.json +11 -7
  177. package/recipes/room-shell/models/default.json +1 -1
  178. package/recipes/room-shell/recipe.json +0 -5
  179. package/recipes/rotating-beacon/models/default.json +1 -1
  180. package/recipes/rotating-beacon/recipe.json +11 -9
  181. package/recipes/safety-fence/models/default.json +1 -1
  182. package/recipes/safety-fence/recipe.json +0 -2
  183. package/recipes/safety-mat/models/default.json +1 -1
  184. package/recipes/safety-mat/recipe.json +0 -1
  185. package/recipes/safety-sign-stand/models/default.json +1 -1
  186. package/recipes/safety-sign-stand/recipe.json +0 -3
  187. package/recipes/scanner-mount/models/default.json +1 -1
  188. package/recipes/scanner-mount/recipe.json +0 -3
  189. package/recipes/selector-switch/models/default.json +1 -1
  190. package/recipes/selector-switch/recipe.json +11 -8
  191. package/recipes/shelf-tiers/models/default.json +1 -1
  192. package/recipes/shelf-tiers/models/tiers=2.json +1 -1
  193. package/recipes/shelf-tiers/models/tiers=3.json +1 -1
  194. package/recipes/shelf-tiers/models/tiers=4.json +1 -1
  195. package/recipes/shelf-tiers/models/tiers=5.json +1 -1
  196. package/recipes/shelf-tiers/recipe.json +0 -4
  197. package/recipes/side-guides/models/default.json +1 -1
  198. package/recipes/side-guides/recipe.json +0 -2
  199. package/recipes/sign-board/models/default.json +1 -1
  200. package/recipes/sign-board/recipe.json +0 -1
  201. package/recipes/signal-tower-3/build.mts +1 -1
  202. package/recipes/signal-tower-3/models/default.json +1 -1
  203. package/recipes/signal-tower-3/recipe.json +11 -10
  204. package/recipes/sliding-door/build.mts +4 -7
  205. package/recipes/sliding-door/models/default.json +1 -1
  206. package/recipes/sliding-door/models/leaves=1,lamp=false.json +1 -1
  207. package/recipes/sliding-door/models/leaves=1,lamp=true.json +1 -1
  208. package/recipes/sliding-door/models/leaves=2,lamp=false.json +1 -1
  209. package/recipes/sliding-door/models/leaves=2,lamp=true.json +1 -1
  210. package/recipes/sliding-door/recipe.json +48 -38
  211. package/recipes/stairs/models/default.json +1 -1
  212. package/recipes/stairs/recipe.json +0 -1
  213. package/recipes/status-lamp/models/default.json +1 -1
  214. package/recipes/status-lamp/recipe.json +11 -9
  215. package/recipes/stopper/models/default.json +1 -1
  216. package/recipes/stopper/recipe.json +11 -7
  217. package/recipes/suction-pads/models/default.json +1 -1
  218. package/recipes/suction-pads/recipe.json +0 -1
  219. package/recipes/tank/models/default.json +1 -1
  220. package/recipes/tank/recipe.json +0 -1
  221. package/recipes/telescopic-arm/build.mts +1 -1
  222. package/recipes/telescopic-arm/models/default.json +1 -1
  223. package/recipes/telescopic-arm/recipe.json +21 -13
  224. package/recipes/toe-board/models/default.json +1 -1
  225. package/recipes/toe-board/recipe.json +0 -1
  226. package/recipes/tote/models/default.json +1 -1
  227. package/recipes/tote/recipe.json +0 -1
  228. package/recipes/traffic-cones/models/default.json +1 -1
  229. package/recipes/traffic-cones/recipe.json +0 -2
  230. package/recipes/transfer-belts/build.mts +1 -1
  231. package/recipes/transfer-belts/models/default.json +1 -1
  232. package/recipes/transfer-belts/recipe.json +23 -15
  233. package/recipes/transfer-belts/spec.json +1 -1
  234. package/recipes/tray-stack/models/default.json +1 -1
  235. package/recipes/tray-stack/models/trays=3.json +1 -1
  236. package/recipes/tray-stack/models/trays=4.json +1 -1
  237. package/recipes/tray-stack/models/trays=5.json +1 -1
  238. package/recipes/tray-stack/recipe.json +0 -5
  239. package/recipes/trough/models/default.json +1 -1
  240. package/recipes/trough/recipe.json +0 -1
  241. package/recipes/turntable/models/default.json +1 -1
  242. package/recipes/turntable/recipe.json +11 -8
  243. package/recipes/valve-handle/models/default.json +1 -1
  244. package/recipes/valve-handle/recipe.json +11 -9
  245. package/recipes/waste-bin/models/default.json +1 -1
  246. package/recipes/waste-bin/recipe.json +0 -1
  247. package/recipes/work-light/models/default.json +1 -1
  248. package/recipes/work-light/recipe.json +11 -9
  249. package/recipes/workbench-top/models/default.json +1 -1
  250. package/recipes/workbench-top/recipe.json +0 -1
  251. package/server/service/figure/figure-context.test.ts +3 -3
  252. package/server/service/figure/figure-context.ts +4 -2
  253. package/server/service/figure/figure-propose-clips.test.ts +1 -1
  254. package/server/service/figure/figure-release-record-db.test.ts +3 -3
  255. package/server/service/figure/figure-tools.test.ts +1 -1
  256. package/server/service/figure/figure.ts +1 -1
  257. package/translations/ko.json +6 -6
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_GUARD_COVER","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":"cover.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-110,"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":"cover.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"cover.shape","op":"extrude@1","args":["cover.start.value","cover.dimension.height","cover.dimension.x.value","cover.dimension.z.value"],"outputs":{"shape":"cover.shapeValue"},"params":{"frame":"cover.local","axis":"y","section":"rectangle"}},{"id":"cover.pose","op":"rigid@1","args":["d.mm.0","cover.on.host.pose.y.t0.value","cover.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.poseValue"},"params":{"from":"cover.local","to":"cover.seat"}},{"id":"cover","op":"place@1","args":["cover.shapeValue","cover.world.value"],"outputs":{"placed":"cover.placed"}},{"id":"cover.start","op":"mul@1","args":["cover.dimension.height","cover.k.centre"],"outputs":{"value":"cover.start.value"}},{"id":"cover.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"cover.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"cover.dimension.z","op":"mul@1","args":["host.dimension.z.value","k.ratio.1"],"outputs":{"value":"cover.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"cover.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"cover.on.host.seat.y.t0.value"}},{"id":"cover.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"cover.on.host.seat.z.t0.value"}},{"id":"cover.on.host.pose.y.t0","op":"mul@1","args":["cover.dimension.height","k.ratio.0_5"],"outputs":{"value":"cover.on.host.pose.y.t0.value"}},{"id":"cover.on.host.pose.z.t0","op":"mul@1","args":["cover.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"cover.on.host.pose.z.t0.value"}},{"id":"cover.seat.rigid","op":"rigid@1","args":["d.mm.0","cover.on.host.seat.y.t0.value","cover.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.seat.value"},"params":{"from":"cover.joint","to":"host.local"}},{"id":"cover.chain","op":"compose@1","args":["cover.seat.value","cover.turned.value"],"outputs":{"pose":"cover.chain.value"}},{"id":"cover.world","op":"compose@1","args":["host.chain.value","cover.chain.value"],"outputs":{"pose":"cover.world.value"}},{"id":"cover.motion","op":"axis-turn@1","args":["k.ratio.1","axis.ratio.0","axis.ratio.0","open"],"outputs":{"pose":"cover.motion.value"},"params":{"from":"cover.seat","to":"cover.joint"}},{"id":"cover.turned","op":"compose@1","args":["cover.motion.value","cover.poseValue"],"outputs":{"pose":"cover.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"cover.dimension.height":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-a7d3e8":"#a7d3e8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"cover","material":{"token":"palette.tpl-a7d3e8","transparent":true}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"cover","type":"revolute","body0":{"part":"host","face":"top"},"body1":{"part":"cover"},"origin":{"align":{"z":"min"}},"axis":"X","lowerLimit":-110,"upperLimit":0,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_GUARD_COVER","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":"cover.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-110,"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":"cover.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"axis.ratio.0","unit":"ratio","value":0}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.t0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"cover.shape","op":"extrude@1","args":["cover.start.value","cover.dimension.height","cover.dimension.x.value","cover.dimension.z.value"],"outputs":{"shape":"cover.shapeValue"},"params":{"frame":"cover.local","axis":"y","section":"rectangle"}},{"id":"cover.pose","op":"rigid@1","args":["d.mm.0","cover.on.host.pose.y.t0.value","cover.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.poseValue"},"params":{"from":"cover.local","to":"cover.seat"}},{"id":"cover","op":"place@1","args":["cover.shapeValue","cover.world.value"],"outputs":{"placed":"cover.placed"}},{"id":"cover.start","op":"mul@1","args":["cover.dimension.height","cover.k.centre"],"outputs":{"value":"cover.start.value"}},{"id":"cover.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"cover.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"cover.dimension.z","op":"mul@1","args":["host.dimension.z.value","k.ratio.1"],"outputs":{"value":"cover.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"host.on.plane.pose.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"cover.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"cover.on.host.seat.y.t0.value"}},{"id":"cover.on.host.seat.z.t0","op":"mul@1","args":["host.dimension.z.value","host.k.centre"],"outputs":{"value":"cover.on.host.seat.z.t0.value"}},{"id":"cover.on.host.pose.y.t0","op":"mul@1","args":["cover.dimension.height","k.ratio.0_5"],"outputs":{"value":"cover.on.host.pose.y.t0.value"}},{"id":"cover.on.host.pose.z.t0","op":"mul@1","args":["cover.dimension.z.value","k.ratio.0_5"],"outputs":{"value":"cover.on.host.pose.z.t0.value"}},{"id":"cover.seat.rigid","op":"rigid@1","args":["d.mm.0","cover.on.host.seat.y.t0.value","cover.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.seat.value"},"params":{"from":"cover.joint","to":"host.local"}},{"id":"cover.chain","op":"compose@1","args":["cover.seat.value","cover.turned.value"],"outputs":{"pose":"cover.chain.value"}},{"id":"cover.world","op":"compose@1","args":["host.chain.value","cover.chain.value"],"outputs":{"pose":"cover.world.value"}},{"id":"cover.motion","op":"axis-turn@1","args":["k.ratio.1","axis.ratio.0","axis.ratio.0","open"],"outputs":{"pose":"cover.motion.value"},"params":{"from":"cover.seat","to":"cover.joint"}},{"id":"cover.turned","op":"compose@1","args":["cover.motion.value","cover.poseValue"],"outputs":{"pose":"cover.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":700,"host.size.z":800,"cover.dimension.height":20},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-a7d3e8":"#a7d3e8"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"cover","material":{"token":"palette.tpl-a7d3e8","transparent":true}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"cover","body0":{"part":"host","face":"top"},"body1":{"part":"cover"},"origin":{"align":{"z":"min"}},"motion":[{"type":"revolute","axis":"X","lowerLimit":-110,"upperLimit":0,"state":{"id":"open"}}]}]}
@@ -53,7 +53,6 @@
53
53
  "kind": "set-joint",
54
54
  "joint": {
55
55
  "id": "{id}-cover",
56
- "type": "revolute",
57
56
  "body0": {
58
57
  "part": "{target}",
59
58
  "face": "top"
@@ -66,12 +65,17 @@
66
65
  "z": "min"
67
66
  }
68
67
  },
69
- "axis": "X",
70
- "lowerLimit": -110,
71
- "upperLimit": 0,
72
- "state": {
73
- "id": "{id}-open"
74
- }
68
+ "motion": [
69
+ {
70
+ "type": "revolute",
71
+ "axis": "X",
72
+ "lowerLimit": -110,
73
+ "upperLimit": 0,
74
+ "state": {
75
+ "id": "{id}-open"
76
+ }
77
+ }
78
+ ]
75
79
  }
76
80
  },
77
81
  {
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_HANDRAIL","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"d.mm.800","unit":"mm","value":800},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"post.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1000","unit":"mm","value":1000},{"id":"rail.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"d.mm.1100","unit":"mm","value":1100}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.s0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["d.mm.0","post.on.host.pose.y.t0.value","post.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"member@1","args":["post.shapeValue","post.poseValue"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"rail.shape","op":"extrude@1","args":["rail.start.value","rail.dimension.height","rail.dimension.x.value","rail.dimension.depth"],"outputs":{"shape":"rail.shapeValue"},"params":{"frame":"rail.local","axis":"y","section":"rectangle"}},{"id":"rail.pose","op":"rigid@1","args":["d.mm.0","rail.on.host.pose.y.s0.value","rail.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.poseValue"},"params":{"from":"rail.local","to":"rail.seat"}},{"id":"rail","op":"place@1","args":["rail.shapeValue","rail.world.value"],"outputs":{"placed":"rail.placed"}},{"id":"rail.start","op":"mul@1","args":["rail.dimension.height","rail.k.centre"],"outputs":{"value":"rail.start.value"}},{"id":"rail.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"rail.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"host.on.plane.pose.y.t1","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t1.value"}},{"id":"host.on.plane.pose.y.s0","op":"add@1","args":["d.mm.800","host.on.plane.pose.y.t1.value"],"outputs":{"value":"host.on.plane.pose.y.s0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.t0.value"}},{"id":"post.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.y.t0.value"}},{"id":"post.on.host.pose.z.t0","op":"mul@1","args":["post.dimension.depth","host.k.centre"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.row.start.0.times.value","post.on.host.seat.y.t0.value","post.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.row.start.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post.row.start.0.times.value"}},{"id":"post.row.length.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post.row.length.0.times.value"}},{"id":"post.row.length.1.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post.row.length.1.times.value"}},{"id":"post.row.length.1.sum","op":"add@1","args":["post.row.length.0.times.value","post.row.length.1.times.value"],"outputs":{"value":"post.row.length.1.sum.value"}},{"id":"post.layout","op":"fit-pitch@1","args":["post.row.length.1.sum.value","d.mm.0","d.mm.0","post.dimension.width","d.mm.1000","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"post.layout.value"}},{"id":"post.assembly","op":"assembly@1","args":["post.placed"],"outputs":{"assembly":"post.assembly.value"}},{"id":"post.row","op":"compose@1","args":["host.chain.value","post.seat.value"],"outputs":{"pose":"post.row.value"}},{"id":"post.repeat","op":"repeat@1","args":["post.layout.value","post.assembly.value","post.row.value"],"outputs":{"collection":"post.repeat.value"},"params":{"axis":"x"}},{"id":"rail.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"rail.on.host.seat.y.t0.value"}},{"id":"rail.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"rail.on.host.seat.z.t0.value"}},{"id":"rail.on.host.pose.y.t1","op":"mul@1","args":["rail.dimension.height","k.ratio.0_5"],"outputs":{"value":"rail.on.host.pose.y.t1.value"}},{"id":"rail.on.host.pose.y.s0","op":"add@1","args":["d.mm.1100","rail.on.host.pose.y.t1.value"],"outputs":{"value":"rail.on.host.pose.y.s0.value"}},{"id":"rail.on.host.pose.z.t0","op":"mul@1","args":["rail.dimension.depth","host.k.centre"],"outputs":{"value":"rail.on.host.pose.z.t0.value"}},{"id":"rail.seat.rigid","op":"rigid@1","args":["d.mm.0","rail.on.host.seat.y.t0.value","rail.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.seat.value"},"params":{"from":"rail.seat","to":"host.local"}},{"id":"rail.chain","op":"compose@1","args":["rail.seat.value","rail.poseValue"],"outputs":{"pose":"rail.chain.value"}},{"id":"rail.world","op":"compose@1","args":["host.chain.value","rail.chain.value"],"outputs":{"pose":"rail.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":40,"host.size.z":1500,"post.dimension.width":40,"post.dimension.height":1100,"post.dimension.depth":40,"rail.dimension.height":40,"rail.dimension.depth":40},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-e0b000"}},{"target":"rail","material":{"token":"palette.tpl-e0b000"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{"gap":800}},{"id":"post","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"post"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1000}},{"id":"rail","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"rail"},"origin":{"gap":1100,"align":{"z":"max"}}}]}
1
+ {"version":"figure-asset-1","name":"TPL_HANDRAIL","document":{"version":"figure-prototype-1","model":{"version":"r3-spatial-1","inputs":[{"id":"host.size.x","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.y","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"host.size.z","unit":"mm","min":5e-324,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"post.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"rail.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"d.mm.800","unit":"mm","value":800},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"post.k.centre","unit":"ratio","value":-0.5},{"id":"limit.count.100","unit":"count","value":100},{"id":"d.mm.1000","unit":"mm","value":1000},{"id":"rail.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"d.mm.1100","unit":"mm","value":1100}],"nodes":[{"id":"host.start","op":"mul@1","args":["host.size.y","host.k.centre"],"outputs":{"value":"host.start.value"}},{"id":"host.shape","op":"extrude@1","args":["host.start.value","host.size.y","host.dimension.x.value","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local","axis":"y","section":"rectangle"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.pose.y.s0.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"post.shape","op":"extrude@1","args":["post.start.value","post.dimension.height","post.dimension.width","post.dimension.depth"],"outputs":{"shape":"post.shapeValue"},"params":{"frame":"post.local","axis":"y","section":"rectangle"}},{"id":"post.pose","op":"rigid@1","args":["d.mm.0","post.on.host.pose.y.t0.value","post.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.poseValue"},"params":{"from":"post.local","to":"post.seat"}},{"id":"post","op":"member@1","args":["post.shapeValue","post.poseValue"],"outputs":{"placed":"post.placed"}},{"id":"post.start","op":"mul@1","args":["post.dimension.height","post.k.centre"],"outputs":{"value":"post.start.value"}},{"id":"rail.shape","op":"extrude@1","args":["rail.start.value","rail.dimension.height","rail.dimension.x.value","rail.dimension.depth"],"outputs":{"shape":"rail.shapeValue"},"params":{"frame":"rail.local","axis":"y","section":"rectangle"}},{"id":"rail.pose","op":"rigid@1","args":["d.mm.0","rail.on.host.pose.y.s0.value","rail.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.poseValue"},"params":{"from":"rail.local","to":"rail.seat"}},{"id":"rail","op":"place@1","args":["rail.shapeValue","rail.world.value"],"outputs":{"placed":"rail.placed"}},{"id":"rail.start","op":"mul@1","args":["rail.dimension.height","rail.k.centre"],"outputs":{"value":"rail.start.value"}},{"id":"rail.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"rail.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"host.on.plane.pose.y.t1","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.pose.y.t1.value"}},{"id":"host.on.plane.pose.y.s0","op":"add@1","args":["d.mm.800","host.on.plane.pose.y.t1.value"],"outputs":{"value":"host.on.plane.pose.y.s0.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"post.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.y.t0.value"}},{"id":"post.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"post.on.host.seat.z.t0.value"}},{"id":"post.on.host.pose.y.t0","op":"mul@1","args":["post.dimension.height","k.ratio.0_5"],"outputs":{"value":"post.on.host.pose.y.t0.value"}},{"id":"post.on.host.pose.z.t0","op":"mul@1","args":["post.dimension.depth","host.k.centre"],"outputs":{"value":"post.on.host.pose.z.t0.value"}},{"id":"post.seat.rigid","op":"rigid@1","args":["post.row.start.0.times.value","post.on.host.seat.y.t0.value","post.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"post.seat.value"},"params":{"from":"post.seat","to":"host.local"}},{"id":"post.row.start.0.times","op":"mul@1","args":["host.dimension.x.value","host.k.centre"],"outputs":{"value":"post.row.start.0.times.value"}},{"id":"post.row.length.0.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post.row.length.0.times.value"}},{"id":"post.row.length.1.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"post.row.length.1.times.value"}},{"id":"post.row.length.1.sum","op":"add@1","args":["post.row.length.0.times.value","post.row.length.1.times.value"],"outputs":{"value":"post.row.length.1.sum.value"}},{"id":"post.layout","op":"fit-pitch@1","args":["post.row.length.1.sum.value","d.mm.0","d.mm.0","post.dimension.width","d.mm.1000","k.ratio.0_5","limit.count.100"],"outputs":{"layout":"post.layout.value"}},{"id":"post.assembly","op":"assembly@1","args":["post.placed"],"outputs":{"assembly":"post.assembly.value"}},{"id":"post.row","op":"compose@1","args":["host.chain.value","post.seat.value"],"outputs":{"pose":"post.row.value"}},{"id":"post.repeat","op":"repeat@1","args":["post.layout.value","post.assembly.value","post.row.value"],"outputs":{"collection":"post.repeat.value"},"params":{"axis":"x"}},{"id":"rail.on.host.seat.y.t0","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"rail.on.host.seat.y.t0.value"}},{"id":"rail.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"rail.on.host.seat.z.t0.value"}},{"id":"rail.on.host.pose.y.t1","op":"mul@1","args":["rail.dimension.height","k.ratio.0_5"],"outputs":{"value":"rail.on.host.pose.y.t1.value"}},{"id":"rail.on.host.pose.y.s0","op":"add@1","args":["d.mm.1100","rail.on.host.pose.y.t1.value"],"outputs":{"value":"rail.on.host.pose.y.s0.value"}},{"id":"rail.on.host.pose.z.t0","op":"mul@1","args":["rail.dimension.depth","host.k.centre"],"outputs":{"value":"rail.on.host.pose.z.t0.value"}},{"id":"rail.seat.rigid","op":"rigid@1","args":["d.mm.0","rail.on.host.seat.y.t0.value","rail.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"rail.seat.value"},"params":{"from":"rail.seat","to":"host.local"}},{"id":"rail.chain","op":"compose@1","args":["rail.seat.value","rail.poseValue"],"outputs":{"pose":"rail.chain.value"}},{"id":"rail.world","op":"compose@1","args":["host.chain.value","rail.chain.value"],"outputs":{"pose":"rail.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":3000,"host.size.y":40,"host.size.z":1500,"post.dimension.width":40,"post.dimension.height":1100,"post.dimension.depth":40,"rail.dimension.height":40,"rail.dimension.depth":40},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-e0b000":"#e0b000"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"post","material":{"token":"palette.tpl-e0b000"}},{"target":"rail","material":{"token":"palette.tpl-e0b000"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{"gap":800}},{"id":"post","body0":{"part":"host","face":"top"},"body1":{"part":"post"},"origin":{"align":{"z":"max"}},"repeat":{"axis":"X","pitch":1000}},{"id":"rail","body0":{"part":"host","face":"top"},"body1":{"part":"rail"},"origin":{"gap":1100,"align":{"z":"max"}}}]}
@@ -71,7 +71,6 @@
71
71
  "kind": "set-joint",
72
72
  "joint": {
73
73
  "id": "{id}-post",
74
- "type": "fixed",
75
74
  "body0": {
76
75
  "part": "{target}",
77
76
  "face": "top"
@@ -96,7 +95,6 @@
96
95
  "kind": "set-joint",
97
96
  "joint": {
98
97
  "id": "{id}-rail",
99
- "type": "fixed",
100
98
  "body0": {
101
99
  "part": "{target}",
102
100
  "face": "top"
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_HATCH","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"cover.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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_3","unit":"ratio","value":0.3},{"id":"cover.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._70","unit":"mm","value":-70},{"id":"d.mm._35","unit":"mm","value":-35},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","frame.on.host.pose.y.t0.value","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_3"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_3"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"cover.shape","op":"extrude@1","args":["cover.start.value","cover.dimension.y.value","cover.dimension.x.value","cover.dimension.depth"],"outputs":{"shape":"cover.shapeValue"},"params":{"frame":"cover.local","axis":"y","section":"rectangle"}},{"id":"cover.pose","op":"rigid@1","args":["cover.on.frame.pose.x.s0.value","cover.on.frame.pose.y.t0.value","cover.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.poseValue"},"params":{"from":"cover.local","to":"cover.seat"}},{"id":"cover","op":"place@1","args":["cover.shapeValue","cover.world.value"],"outputs":{"placed":"cover.placed"}},{"id":"cover.start","op":"mul@1","args":["cover.dimension.y.value","cover.k.centre"],"outputs":{"value":"cover.start.value"}},{"id":"cover.dimension.x","op":"mul@1","args":["cover.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"cover.dimension.x.value"}},{"id":"cover.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._70"],"outputs":{"value":"cover.x.follows.plus.value"}},{"id":"cover.dimension.y","op":"mul@1","args":["cover.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"cover.dimension.y.value"}},{"id":"cover.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._35"],"outputs":{"value":"cover.y.follows.plus.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":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.y.t0","op":"mul@1","args":["frame.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.pose.y.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"cover.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"cover.on.frame.seat.x.t0.value"}},{"id":"cover.on.frame.seat.x.s0","op":"add@1","args":["cover.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"cover.on.frame.seat.x.s0.value"}},{"id":"cover.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.seat.z.t0.value"}},{"id":"cover.on.frame.pose.x.t1","op":"mul@1","args":["cover.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.pose.x.t1.value"}},{"id":"cover.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","cover.on.frame.pose.x.t1.value"],"outputs":{"value":"cover.on.frame.pose.x.s0.value"}},{"id":"cover.on.frame.pose.y.t0","op":"mul@1","args":["cover.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.pose.y.t0.value"}},{"id":"cover.on.frame.pose.z.t0","op":"mul@1","args":["cover.dimension.depth","host.k.centre"],"outputs":{"value":"cover.on.frame.pose.z.t0.value"}},{"id":"cover.seat.rigid","op":"rigid@1","args":["cover.on.frame.seat.x.s0.value","d.mm.0","cover.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.seat.value"},"params":{"from":"cover.joint","to":"frame.local"}},{"id":"cover.chain","op":"compose@1","args":["cover.seat.value","cover.turned.value"],"outputs":{"pose":"cover.chain.value"}},{"id":"cover.world","op":"compose@1","args":["frame.world.value","cover.chain.value"],"outputs":{"pose":"cover.world.value"}},{"id":"cover.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"cover.motion.value"},"params":{"from":"cover.seat","to":"cover.joint"}},{"id":"cover.turned","op":"compose@1","args":["cover.motion.value","cover.poseValue"],"outputs":{"pose":"cover.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"frame.dimension.depth":30,"frame.dimension.jamb":30,"frame.dimension.head":30,"cover.dimension.depth":12},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"cover","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{}},{"id":"cover","type":"revolute","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"cover"},"origin":{"gap":5,"align":{"y":"min","z":"max"}},"axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_HATCH","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"cover.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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_3","unit":"ratio","value":0.3},{"id":"cover.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._70","unit":"mm","value":-70},{"id":"d.mm._35","unit":"mm","value":-35},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","frame.on.host.pose.y.t0.value","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_3"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_3"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"cover.shape","op":"extrude@1","args":["cover.start.value","cover.dimension.y.value","cover.dimension.x.value","cover.dimension.depth"],"outputs":{"shape":"cover.shapeValue"},"params":{"frame":"cover.local","axis":"y","section":"rectangle"}},{"id":"cover.pose","op":"rigid@1","args":["cover.on.frame.pose.x.s0.value","cover.on.frame.pose.y.t0.value","cover.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.poseValue"},"params":{"from":"cover.local","to":"cover.seat"}},{"id":"cover","op":"place@1","args":["cover.shapeValue","cover.world.value"],"outputs":{"placed":"cover.placed"}},{"id":"cover.start","op":"mul@1","args":["cover.dimension.y.value","cover.k.centre"],"outputs":{"value":"cover.start.value"}},{"id":"cover.dimension.x","op":"mul@1","args":["cover.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"cover.dimension.x.value"}},{"id":"cover.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._70"],"outputs":{"value":"cover.x.follows.plus.value"}},{"id":"cover.dimension.y","op":"mul@1","args":["cover.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"cover.dimension.y.value"}},{"id":"cover.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._35"],"outputs":{"value":"cover.y.follows.plus.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":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.y.t0","op":"mul@1","args":["frame.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.pose.y.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"cover.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"cover.on.frame.seat.x.t0.value"}},{"id":"cover.on.frame.seat.x.s0","op":"add@1","args":["cover.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"cover.on.frame.seat.x.s0.value"}},{"id":"cover.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.seat.z.t0.value"}},{"id":"cover.on.frame.pose.x.t1","op":"mul@1","args":["cover.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.pose.x.t1.value"}},{"id":"cover.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","cover.on.frame.pose.x.t1.value"],"outputs":{"value":"cover.on.frame.pose.x.s0.value"}},{"id":"cover.on.frame.pose.y.t0","op":"mul@1","args":["cover.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"cover.on.frame.pose.y.t0.value"}},{"id":"cover.on.frame.pose.z.t0","op":"mul@1","args":["cover.dimension.depth","host.k.centre"],"outputs":{"value":"cover.on.frame.pose.z.t0.value"}},{"id":"cover.seat.rigid","op":"rigid@1","args":["cover.on.frame.seat.x.s0.value","d.mm.0","cover.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"cover.seat.value"},"params":{"from":"cover.joint","to":"frame.local"}},{"id":"cover.chain","op":"compose@1","args":["cover.seat.value","cover.turned.value"],"outputs":{"pose":"cover.chain.value"}},{"id":"cover.world","op":"compose@1","args":["frame.world.value","cover.chain.value"],"outputs":{"pose":"cover.world.value"}},{"id":"cover.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"cover.motion.value"},"params":{"from":"cover.seat","to":"cover.joint"}},{"id":"cover.turned","op":"compose@1","args":["cover.motion.value","cover.poseValue"],"outputs":{"pose":"cover.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1600,"host.size.y":1400,"host.size.z":1000,"frame.dimension.depth":30,"frame.dimension.jamb":30,"frame.dimension.head":30,"cover.dimension.depth":12},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"cover","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{}},{"id":"cover","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"cover"},"origin":{"gap":5,"align":{"y":"min","z":"max"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-100,"upperLimit":0,"state":{"id":"open"}}]}]}
@@ -126,7 +126,6 @@
126
126
  "kind": "set-joint",
127
127
  "joint": {
128
128
  "id": "{id}-frame",
129
- "type": "fixed",
130
129
  "body0": {
131
130
  "part": "{target}",
132
131
  "face": "front"
@@ -141,7 +140,6 @@
141
140
  "kind": "set-joint",
142
141
  "joint": {
143
142
  "id": "{id}-cover",
144
- "type": "revolute",
145
143
  "body0": {
146
144
  "part": "{id}-frame",
147
145
  "face": "opening-left"
@@ -156,12 +154,17 @@
156
154
  "z": "max"
157
155
  }
158
156
  },
159
- "axis": "Y",
160
- "lowerLimit": -100,
161
- "upperLimit": 0,
162
- "state": {
163
- "id": "{id}-open"
164
- }
157
+ "motion": [
158
+ {
159
+ "type": "revolute",
160
+ "axis": "Y",
161
+ "lowerLimit": -100,
162
+ "upperLimit": 0,
163
+ "state": {
164
+ "id": "{id}-open"
165
+ }
166
+ }
167
+ ]
165
168
  }
166
169
  },
167
170
  {
@@ -14,11 +14,10 @@ export default function build(values: Values) {
14
14
  .do({
15
15
  kind: 'set-joint',
16
16
  joint: {
17
- id: 'leaf', type: 'revolute',
17
+ id: 'leaf',
18
18
  body0: { part: 'frame', face: left ? 'opening-left' : 'opening-right' } as never, body1: { part: 'leaf' },
19
19
  origin: { facing: 'meet', gap: 5, align: { y: 'min', z: 'max' } },
20
- axis: 'Y', lowerLimit: left ? -90 : 0, upperLimit: left ? 0 : 90,
21
- state: { id: 'open' }
20
+ motion: [{ type: 'revolute', axis: 'Y', lowerLimit: left ? -90 : 0, upperLimit: left ? 0 : 90, state: { id: 'open' } }]
22
21
  }
23
22
  })
24
23
  .edit({ kind: 'set-material', target: 'leaf', material: { token: 'palette.tpl-5c7c96' }, palette: { 'palette.tpl-5c7c96': '#5c7c96' } } as never)
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-90,"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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","type":"revolute","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"axis":"Y","lowerLimit":-90,"upperLimit":0,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-90,"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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-90,"upperLimit":0,"state":{"id":"open"}}]}]}
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-90,"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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","type":"revolute","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"axis":"Y","lowerLimit":-90,"upperLimit":0,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":-90,"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":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","frame.dimension.jamb"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["d.mm.5","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","body0":{"part":"frame","face":"opening-left"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":-90,"upperLimit":0,"state":{"id":"open"}}]}]}
@@ -1 +1 @@
1
- {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":0,"max":90,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.t1","op":"mul@1","args":["frame.dimension.jamb","k.ratio._1"],"outputs":{"value":"leaf.on.frame.seat.x.t1.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","leaf.on.frame.seat.x.t1.value"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t0","op":"mul@1","args":["d.mm.5","k.ratio._1"],"outputs":{"value":"leaf.on.frame.pose.x.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["leaf.on.frame.pose.x.t0.value","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","type":"fixed","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","type":"revolute","body0":{"part":"frame","face":"opening-right"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"axis":"Y","lowerLimit":0,"upperLimit":90,"state":{"id":"open"}}]}
1
+ {"version":"figure-asset-1","name":"TPL_HINGED_DOOR","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":"frame.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.jamb","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"frame.dimension.head","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"leaf.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"open","unit":"deg","min":0,"max":90,"role":"state"}],"constants":[{"id":"host.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm.0","unit":"mm","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"a.deg.0","unit":"deg","value":0},{"id":"frame.k.centre","unit":"ratio","value":-0.5},{"id":"k.ratio.1","unit":"ratio","value":1},{"id":"k.ratio.0_25","unit":"ratio","value":0.25},{"id":"k.ratio.0_8","unit":"ratio","value":0.8},{"id":"leaf.k.centre","unit":"ratio","value":-0.5},{"id":"d.mm._210","unit":"mm","value":-210},{"id":"d.mm._110","unit":"mm","value":-110},{"id":"d.mm.5","unit":"mm","value":5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"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":"frame.shape","op":"extrude@1","args":["frame.start.value","frame.dimension.depth","frame.dimension.x.value","frame.dimension.y.value","frame.dimension.jamb","frame.dimension.head"],"outputs":{"shape":"frame.shapeValue"},"params":{"frame":"frame.local","axis":"z","section":"portal"}},{"id":"frame.pose","op":"rigid@1","args":["d.mm.0","d.mm.0","frame.on.host.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.poseValue"},"params":{"from":"frame.local","to":"frame.seat"}},{"id":"frame","op":"place@1","args":["frame.shapeValue","frame.world.value"],"outputs":{"placed":"frame.placed"}},{"id":"frame.start","op":"mul@1","args":["frame.dimension.depth","frame.k.centre"],"outputs":{"value":"frame.start.value"}},{"id":"frame.dimension.x","op":"mul@1","args":["frame.x.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"frame.x.follows.times","op":"mul@1","args":["host.dimension.x.value","k.ratio.0_25"],"outputs":{"value":"frame.x.follows.times.value"}},{"id":"frame.dimension.y","op":"mul@1","args":["frame.y.follows.times.value","k.ratio.1"],"outputs":{"value":"frame.dimension.y.value"}},{"id":"host.dimension.y","op":"mul@1","args":["host.size.y","k.ratio.1"],"outputs":{"value":"host.dimension.y.value"}},{"id":"frame.y.follows.times","op":"mul@1","args":["host.dimension.y.value","k.ratio.0_8"],"outputs":{"value":"frame.y.follows.times.value"}},{"id":"leaf.shape","op":"extrude@1","args":["leaf.start.value","leaf.dimension.y.value","leaf.dimension.x.value","leaf.dimension.depth"],"outputs":{"shape":"leaf.shapeValue"},"params":{"frame":"leaf.local","axis":"y","section":"rectangle"}},{"id":"leaf.pose","op":"rigid@1","args":["leaf.on.frame.pose.x.s0.value","leaf.on.frame.pose.y.t0.value","leaf.on.frame.pose.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.poseValue"},"params":{"from":"leaf.local","to":"leaf.seat"}},{"id":"leaf","op":"place@1","args":["leaf.shapeValue","leaf.world.value"],"outputs":{"placed":"leaf.placed"}},{"id":"leaf.start","op":"mul@1","args":["leaf.dimension.y.value","leaf.k.centre"],"outputs":{"value":"leaf.start.value"}},{"id":"leaf.dimension.x","op":"mul@1","args":["leaf.x.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.x.value"}},{"id":"leaf.x.follows.plus","op":"add@1","args":["frame.dimension.x.value","d.mm._210"],"outputs":{"value":"leaf.x.follows.plus.value"}},{"id":"leaf.dimension.y","op":"mul@1","args":["leaf.y.follows.plus.value","k.ratio.1"],"outputs":{"value":"leaf.dimension.y.value"}},{"id":"leaf.y.follows.plus","op":"add@1","args":["frame.dimension.y.value","d.mm._110"],"outputs":{"value":"leaf.y.follows.plus.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":"frame.on.host.seat.y.t0","op":"mul@1","args":["host.dimension.y.value","host.k.centre"],"outputs":{"value":"frame.on.host.seat.y.t0.value"}},{"id":"frame.on.host.seat.z.t0","op":"mul@1","args":["host.size.z","k.ratio.0_5"],"outputs":{"value":"frame.on.host.seat.z.t0.value"}},{"id":"frame.on.host.pose.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"frame.on.host.pose.z.t0.value"}},{"id":"frame.seat.rigid","op":"rigid@1","args":["d.mm.0","frame.on.host.seat.y.t0.value","frame.on.host.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"frame.seat.value"},"params":{"from":"frame.seat","to":"host.local"}},{"id":"frame.chain","op":"compose@1","args":["frame.seat.value","frame.poseValue"],"outputs":{"pose":"frame.chain.value"}},{"id":"frame.world","op":"compose@1","args":["host.chain.value","frame.chain.value"],"outputs":{"pose":"frame.world.value"}},{"id":"leaf.on.frame.seat.x.t0","op":"mul@1","args":["frame.dimension.x.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.x.t0.value"}},{"id":"leaf.on.frame.seat.x.t1","op":"mul@1","args":["frame.dimension.jamb","k.ratio._1"],"outputs":{"value":"leaf.on.frame.seat.x.t1.value"}},{"id":"leaf.on.frame.seat.x.s0","op":"add@1","args":["leaf.on.frame.seat.x.t0.value","leaf.on.frame.seat.x.t1.value"],"outputs":{"value":"leaf.on.frame.seat.x.s0.value"}},{"id":"leaf.on.frame.seat.z.t0","op":"mul@1","args":["frame.dimension.depth","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.seat.z.t0.value"}},{"id":"leaf.on.frame.pose.x.t0","op":"mul@1","args":["d.mm.5","k.ratio._1"],"outputs":{"value":"leaf.on.frame.pose.x.t0.value"}},{"id":"leaf.on.frame.pose.x.t1","op":"mul@1","args":["leaf.dimension.x.value","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.x.t1.value"}},{"id":"leaf.on.frame.pose.x.s0","op":"add@1","args":["leaf.on.frame.pose.x.t0.value","leaf.on.frame.pose.x.t1.value"],"outputs":{"value":"leaf.on.frame.pose.x.s0.value"}},{"id":"leaf.on.frame.pose.y.t0","op":"mul@1","args":["leaf.dimension.y.value","k.ratio.0_5"],"outputs":{"value":"leaf.on.frame.pose.y.t0.value"}},{"id":"leaf.on.frame.pose.z.t0","op":"mul@1","args":["leaf.dimension.depth","host.k.centre"],"outputs":{"value":"leaf.on.frame.pose.z.t0.value"}},{"id":"leaf.seat.rigid","op":"rigid@1","args":["leaf.on.frame.seat.x.s0.value","d.mm.0","leaf.on.frame.seat.z.t0.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"leaf.seat.value"},"params":{"from":"leaf.joint","to":"frame.local"}},{"id":"leaf.chain","op":"compose@1","args":["leaf.seat.value","leaf.turned.value"],"outputs":{"pose":"leaf.chain.value"}},{"id":"leaf.world","op":"compose@1","args":["frame.world.value","leaf.chain.value"],"outputs":{"pose":"leaf.world.value"}},{"id":"leaf.motion","op":"axis-turn@1","args":["axis.ratio.0","k.ratio.1","axis.ratio.0","open"],"outputs":{"pose":"leaf.motion.value"},"params":{"from":"leaf.seat","to":"leaf.joint"}},{"id":"leaf.turned","op":"compose@1","args":["leaf.motion.value","leaf.poseValue"],"outputs":{"pose":"leaf.turned.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":4000,"host.size.y":3000,"host.size.z":6000,"frame.dimension.depth":150,"frame.dimension.jamb":100,"frame.dimension.head":100,"leaf.dimension.depth":40},"stateDefaults":{"open":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-5c7c96":"#5c7c96"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"frame","material":{"token":"palette.primary"}},{"target":"leaf","material":{"token":"palette.tpl-5c7c96"}}],"joints":[{"id":"host","body0":{"plane":"mounting-plane"},"body1":{"part":"host"},"origin":{}},{"id":"frame","body0":{"part":"host","face":"front"},"body1":{"part":"frame"},"origin":{"align":{"y":"min"}}},{"id":"leaf","body0":{"part":"frame","face":"opening-right"},"body1":{"part":"leaf"},"origin":{"facing":"meet","gap":5,"align":{"y":"min","z":"max"}},"motion":[{"type":"revolute","axis":"Y","lowerLimit":0,"upperLimit":90,"state":{"id":"open"}}]}]}