@things-factory/figure-service 10.1.70 → 10.1.71
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.
- package/dist-server/index.js +6 -11
- package/dist-server/index.js.map +1 -1
- package/dist-server/routers/figure-thumbnail-router.js +22 -0
- package/dist-server/routers/figure-thumbnail-router.js.map +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-resolver.d.ts +4 -6
- package/dist-server/service/figure-recipe/figure-recipe-resolver.js +36 -51
- package/dist-server/service/figure-recipe/figure-recipe-resolver.js.map +1 -1
- package/dist-server/service/figure-recipe/figure-recipe-templates.d.ts +28 -0
- package/dist-server/service/figure-recipe/figure-recipe-templates.js +57 -0
- package/dist-server/service/figure-recipe/figure-recipe-templates.js.map +1 -0
- package/dist-server/service/figure-recipe/figure-recipe-type.d.ts +11 -0
- package/dist-server/service/figure-recipe/figure-recipe-type.js +48 -0
- package/dist-server/service/figure-recipe/figure-recipe-type.js.map +1 -0
- package/dist-server/service/figure-recipe/index.d.ts +2 -4
- package/dist-server/service/figure-recipe/index.js +2 -4
- package/dist-server/service/figure-recipe/index.js.map +1 -1
- package/dist-server/service/index.d.ts +4 -4
- package/dist-server/service/index.js +7 -8
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -4
- package/recipes/_lib/model.mts +71 -0
- package/recipes/air-cylinder/build.mts +14 -0
- package/recipes/air-cylinder/facts.md +3 -0
- package/recipes/air-cylinder/guide.en.md +18 -0
- package/recipes/air-cylinder/guide.ko.md +18 -0
- package/recipes/air-cylinder/models/default.json +1 -0
- package/recipes/air-cylinder/recipe.json +129 -0
- package/recipes/air-cylinder/spec.json +45 -0
- package/recipes/air-cylinder/thumbnail.png +0 -0
- package/recipes/air-shower/build.mts +14 -0
- package/recipes/air-shower/facts.md +3 -0
- package/recipes/air-shower/guide.en.md +17 -0
- package/recipes/air-shower/guide.ko.md +17 -0
- package/recipes/air-shower/models/default.json +1 -0
- package/recipes/air-shower/recipe.json +111 -0
- package/recipes/air-shower/spec.json +18 -0
- package/recipes/air-shower/thumbnail.png +0 -0
- package/recipes/barrier-gate/build.mts +11 -0
- package/recipes/barrier-gate/facts.md +3 -0
- package/recipes/barrier-gate/guide.en.md +18 -0
- package/recipes/barrier-gate/guide.ko.md +18 -0
- package/recipes/barrier-gate/models/default.json +1 -0
- package/recipes/barrier-gate/recipe.json +87 -0
- package/recipes/barrier-gate/spec.json +45 -0
- package/recipes/barrier-gate/thumbnail.png +0 -0
- package/recipes/base-frame/build.mts +11 -0
- package/recipes/base-frame/facts.md +3 -0
- package/recipes/base-frame/guide.en.md +18 -0
- package/recipes/base-frame/guide.ko.md +18 -0
- package/recipes/base-frame/models/default.json +1 -0
- package/recipes/base-frame/recipe.json +259 -0
- package/recipes/base-frame/spec.json +72 -0
- package/recipes/base-frame/thumbnail.png +0 -0
- package/recipes/belt-surface/build.mts +12 -0
- package/recipes/belt-surface/facts.md +3 -0
- package/recipes/belt-surface/guide.en.md +18 -0
- package/recipes/belt-surface/guide.ko.md +18 -0
- package/recipes/belt-surface/models/default.json +1 -0
- package/recipes/belt-surface/recipe.json +116 -0
- package/recipes/belt-surface/spec.json +69 -0
- package/recipes/belt-surface/thumbnail.png +0 -0
- package/recipes/bin-row/build.mts +11 -0
- package/recipes/bin-row/facts.md +3 -0
- package/recipes/bin-row/guide.en.md +18 -0
- package/recipes/bin-row/guide.ko.md +18 -0
- package/recipes/bin-row/models/default.json +1 -0
- package/recipes/bin-row/recipe.json +87 -0
- package/recipes/bin-row/spec.json +45 -0
- package/recipes/bin-row/thumbnail.png +0 -0
- package/recipes/bollard-row/build.mts +11 -0
- package/recipes/bollard-row/facts.md +3 -0
- package/recipes/bollard-row/guide.en.md +18 -0
- package/recipes/bollard-row/guide.ko.md +18 -0
- package/recipes/bollard-row/models/default.json +1 -0
- package/recipes/bollard-row/recipe.json +107 -0
- package/recipes/bollard-row/spec.json +71 -0
- package/recipes/bollard-row/thumbnail.png +0 -0
- package/recipes/buzzer/build.mts +10 -0
- package/recipes/buzzer/facts.md +3 -0
- package/recipes/buzzer/guide.en.md +17 -0
- package/recipes/buzzer/guide.ko.md +17 -0
- package/recipes/buzzer/models/default.json +1 -0
- package/recipes/buzzer/recipe.json +68 -0
- package/recipes/buzzer/spec.json +18 -0
- package/recipes/buzzer/thumbnail.png +0 -0
- package/recipes/cabinet-doors/build.mts +21 -0
- package/recipes/cabinet-doors/facts.md +3 -0
- package/recipes/cabinet-doors/guide.en.md +19 -0
- package/recipes/cabinet-doors/guide.ko.md +19 -0
- package/recipes/cabinet-doors/models/default.json +1 -0
- package/recipes/cabinet-doors/models/doors=1.json +1 -0
- package/recipes/cabinet-doors/models/doors=2.json +1 -0
- package/recipes/cabinet-doors/recipe.json +240 -0
- package/recipes/cabinet-doors/spec.json +36 -0
- package/recipes/cabinet-doors/thumbnail.png +0 -0
- package/recipes/cable-tray/build.mts +16 -0
- package/recipes/cable-tray/facts.md +3 -0
- package/recipes/cable-tray/guide.en.md +18 -0
- package/recipes/cable-tray/guide.ko.md +18 -0
- package/recipes/cable-tray/models/default.json +1 -0
- package/recipes/cable-tray/recipe.json +198 -0
- package/recipes/cable-tray/spec.json +45 -0
- package/recipes/cable-tray/thumbnail.png +0 -0
- package/recipes/camera-mount/build.mts +10 -0
- package/recipes/camera-mount/facts.md +3 -0
- package/recipes/camera-mount/guide.en.md +16 -0
- package/recipes/camera-mount/guide.ko.md +16 -0
- package/recipes/camera-mount/models/default.json +1 -0
- package/recipes/camera-mount/recipe.json +108 -0
- package/recipes/camera-mount/spec.json +18 -0
- package/recipes/camera-mount/thumbnail.png +0 -0
- package/recipes/canopy/build.mts +17 -0
- package/recipes/canopy/facts.md +3 -0
- package/recipes/canopy/guide.en.md +18 -0
- package/recipes/canopy/guide.ko.md +18 -0
- package/recipes/canopy/models/default.json +1 -0
- package/recipes/canopy/recipe.json +281 -0
- package/recipes/canopy/spec.json +81 -0
- package/recipes/canopy/thumbnail.png +0 -0
- package/recipes/cart/build.mts +24 -0
- package/recipes/cart/facts.md +3 -0
- package/recipes/cart/guide.en.md +16 -0
- package/recipes/cart/guide.ko.md +16 -0
- package/recipes/cart/models/default.json +1 -0
- package/recipes/cart/recipe.json +555 -0
- package/recipes/cart/spec.json +11 -0
- package/recipes/cart/thumbnail.png +0 -0
- package/recipes/cart-handle/build.mts +13 -0
- package/recipes/cart-handle/facts.md +3 -0
- package/recipes/cart-handle/guide.en.md +16 -0
- package/recipes/cart-handle/guide.ko.md +16 -0
- package/recipes/cart-handle/models/default.json +1 -0
- package/recipes/cart-handle/recipe.json +161 -0
- package/recipes/cart-handle/spec.json +18 -0
- package/recipes/cart-handle/thumbnail.png +0 -0
- package/recipes/casters-four/build.mts +16 -0
- package/recipes/casters-four/facts.md +3 -0
- package/recipes/casters-four/guide.en.md +19 -0
- package/recipes/casters-four/guide.ko.md +19 -0
- package/recipes/casters-four/models/default.json +1 -0
- package/recipes/casters-four/recipe.json +409 -0
- package/recipes/casters-four/spec.json +72 -0
- package/recipes/casters-four/thumbnail.png +0 -0
- package/recipes/ceiling-rail-carriage/build.mts +15 -0
- package/recipes/ceiling-rail-carriage/facts.md +3 -0
- package/recipes/ceiling-rail-carriage/guide.en.md +17 -0
- package/recipes/ceiling-rail-carriage/guide.ko.md +17 -0
- package/recipes/ceiling-rail-carriage/models/default.json +1 -0
- package/recipes/ceiling-rail-carriage/recipe.json +127 -0
- package/recipes/ceiling-rail-carriage/spec.json +19 -0
- package/recipes/ceiling-rail-carriage/thumbnail.png +0 -0
- package/recipes/chain-rails/build.mts +15 -0
- package/recipes/chain-rails/facts.md +3 -0
- package/recipes/chain-rails/guide.en.md +18 -0
- package/recipes/chain-rails/guide.ko.md +18 -0
- package/recipes/chain-rails/models/default.json +1 -0
- package/recipes/chain-rails/recipe.json +166 -0
- package/recipes/chain-rails/spec.json +54 -0
- package/recipes/chain-rails/thumbnail.png +0 -0
- package/recipes/charging-station/build.mts +9 -0
- package/recipes/charging-station/facts.md +3 -0
- package/recipes/charging-station/guide.en.md +16 -0
- package/recipes/charging-station/guide.ko.md +16 -0
- package/recipes/charging-station/models/default.json +1 -0
- package/recipes/charging-station/recipe.json +105 -0
- package/recipes/charging-station/spec.json +18 -0
- package/recipes/charging-station/thumbnail.png +0 -0
- package/recipes/column-row/build.mts +11 -0
- package/recipes/column-row/facts.md +3 -0
- package/recipes/column-row/guide.en.md +18 -0
- package/recipes/column-row/guide.ko.md +18 -0
- package/recipes/column-row/models/default.json +1 -0
- package/recipes/column-row/recipe.json +103 -0
- package/recipes/column-row/spec.json +71 -0
- package/recipes/column-row/thumbnail.png +0 -0
- package/recipes/control-cabinet/build.mts +14 -0
- package/recipes/control-cabinet/facts.md +3 -0
- package/recipes/control-cabinet/guide.en.md +17 -0
- package/recipes/control-cabinet/guide.ko.md +17 -0
- package/recipes/control-cabinet/models/default.json +1 -0
- package/recipes/control-cabinet/recipe.json +111 -0
- package/recipes/control-cabinet/spec.json +18 -0
- package/recipes/control-cabinet/thumbnail.png +0 -0
- package/recipes/conveyor-skirts/build.mts +9 -0
- package/recipes/conveyor-skirts/facts.md +3 -0
- package/recipes/conveyor-skirts/guide.en.md +16 -0
- package/recipes/conveyor-skirts/guide.ko.md +16 -0
- package/recipes/conveyor-skirts/models/default.json +1 -0
- package/recipes/conveyor-skirts/recipe.json +141 -0
- package/recipes/conveyor-skirts/spec.json +18 -0
- package/recipes/conveyor-skirts/thumbnail.png +0 -0
- package/recipes/counter-display/build.mts +13 -0
- package/recipes/counter-display/facts.md +3 -0
- package/recipes/counter-display/guide.en.md +17 -0
- package/recipes/counter-display/guide.ko.md +17 -0
- package/recipes/counter-display/models/default.json +1 -0
- package/recipes/counter-display/recipe.json +106 -0
- package/recipes/counter-display/spec.json +18 -0
- package/recipes/counter-display/thumbnail.png +0 -0
- package/recipes/dock-bumpers/build.mts +9 -0
- package/recipes/dock-bumpers/facts.md +3 -0
- package/recipes/dock-bumpers/guide.en.md +16 -0
- package/recipes/dock-bumpers/guide.ko.md +16 -0
- package/recipes/dock-bumpers/models/default.json +1 -0
- package/recipes/dock-bumpers/recipe.json +107 -0
- package/recipes/dock-bumpers/spec.json +18 -0
- package/recipes/dock-bumpers/thumbnail.png +0 -0
- package/recipes/dock-leveler/build.mts +11 -0
- package/recipes/dock-leveler/facts.md +3 -0
- package/recipes/dock-leveler/guide.en.md +16 -0
- package/recipes/dock-leveler/guide.ko.md +16 -0
- package/recipes/dock-leveler/models/default.json +1 -0
- package/recipes/dock-leveler/recipe.json +69 -0
- package/recipes/dock-leveler/spec.json +18 -0
- package/recipes/dock-leveler/thumbnail.png +0 -0
- package/recipes/double-hinged-door/build.mts +19 -0
- package/recipes/double-hinged-door/facts.md +3 -0
- package/recipes/double-hinged-door/guide.en.md +19 -0
- package/recipes/double-hinged-door/guide.ko.md +19 -0
- package/recipes/double-hinged-door/models/default.json +1 -0
- package/recipes/double-hinged-door/recipe.json +273 -0
- package/recipes/double-hinged-door/spec.json +69 -0
- package/recipes/double-hinged-door/thumbnail.png +0 -0
- package/recipes/drawer-stack/build.mts +17 -0
- package/recipes/drawer-stack/facts.md +3 -0
- package/recipes/drawer-stack/guide.en.md +18 -0
- package/recipes/drawer-stack/guide.ko.md +18 -0
- package/recipes/drawer-stack/models/default.json +1 -0
- package/recipes/drawer-stack/models/drawers=2.json +1 -0
- package/recipes/drawer-stack/models/drawers=3.json +1 -0
- package/recipes/drawer-stack/models/drawers=4.json +1 -0
- package/recipes/drawer-stack/recipe.json +789 -0
- package/recipes/drawer-stack/spec.json +37 -0
- package/recipes/drawer-stack/thumbnail.png +0 -0
- package/recipes/drip-tray/build.mts +12 -0
- package/recipes/drip-tray/facts.md +3 -0
- package/recipes/drip-tray/guide.en.md +16 -0
- package/recipes/drip-tray/guide.ko.md +16 -0
- package/recipes/drip-tray/models/default.json +1 -0
- package/recipes/drip-tray/recipe.json +86 -0
- package/recipes/drip-tray/spec.json +18 -0
- package/recipes/drip-tray/thumbnail.png +0 -0
- package/recipes/duct-fan/build.mts +14 -0
- package/recipes/duct-fan/facts.md +3 -0
- package/recipes/duct-fan/guide.en.md +16 -0
- package/recipes/duct-fan/guide.ko.md +16 -0
- package/recipes/duct-fan/models/default.json +1 -0
- package/recipes/duct-fan/recipe.json +122 -0
- package/recipes/duct-fan/spec.json +18 -0
- package/recipes/duct-fan/thumbnail.png +0 -0
- package/recipes/emergency-stop/build.mts +14 -0
- package/recipes/emergency-stop/facts.md +3 -0
- package/recipes/emergency-stop/guide.en.md +17 -0
- package/recipes/emergency-stop/guide.ko.md +17 -0
- package/recipes/emergency-stop/models/default.json +1 -0
- package/recipes/emergency-stop/recipe.json +109 -0
- package/recipes/emergency-stop/spec.json +18 -0
- package/recipes/emergency-stop/thumbnail.png +0 -0
- package/recipes/end-covers/build.mts +13 -0
- package/recipes/end-covers/facts.md +3 -0
- package/recipes/end-covers/guide.en.md +17 -0
- package/recipes/end-covers/guide.ko.md +17 -0
- package/recipes/end-covers/models/default.json +1 -0
- package/recipes/end-covers/recipe.json +141 -0
- package/recipes/end-covers/spec.json +18 -0
- package/recipes/end-covers/thumbnail.png +0 -0
- package/recipes/ffu-row/build.mts +11 -0
- package/recipes/ffu-row/facts.md +3 -0
- package/recipes/ffu-row/guide.en.md +18 -0
- package/recipes/ffu-row/guide.ko.md +18 -0
- package/recipes/ffu-row/models/default.json +1 -0
- package/recipes/ffu-row/recipe.json +82 -0
- package/recipes/ffu-row/spec.json +45 -0
- package/recipes/ffu-row/thumbnail.png +0 -0
- package/recipes/fire-extinguisher/build.mts +13 -0
- package/recipes/fire-extinguisher/facts.md +3 -0
- package/recipes/fire-extinguisher/guide.en.md +16 -0
- package/recipes/fire-extinguisher/guide.ko.md +16 -0
- package/recipes/fire-extinguisher/models/default.json +1 -0
- package/recipes/fire-extinguisher/recipe.json +114 -0
- package/recipes/fire-extinguisher/spec.json +18 -0
- package/recipes/fire-extinguisher/thumbnail.png +0 -0
- package/recipes/first-aid-box/build.mts +9 -0
- package/recipes/first-aid-box/facts.md +3 -0
- package/recipes/first-aid-box/guide.en.md +16 -0
- package/recipes/first-aid-box/guide.ko.md +16 -0
- package/recipes/first-aid-box/models/default.json +1 -0
- package/recipes/first-aid-box/recipe.json +97 -0
- package/recipes/first-aid-box/spec.json +18 -0
- package/recipes/first-aid-box/thumbnail.png +0 -0
- package/recipes/floor-zone/build.mts +17 -0
- package/recipes/floor-zone/facts.md +3 -0
- package/recipes/floor-zone/guide.en.md +18 -0
- package/recipes/floor-zone/guide.ko.md +18 -0
- package/recipes/floor-zone/models/default.json +1 -0
- package/recipes/floor-zone/recipe.json +257 -0
- package/recipes/floor-zone/spec.json +72 -0
- package/recipes/floor-zone/thumbnail.png +0 -0
- package/recipes/folding-door/build.mts +20 -0
- package/recipes/folding-door/facts.md +3 -0
- package/recipes/folding-door/guide.en.md +18 -0
- package/recipes/folding-door/guide.ko.md +18 -0
- package/recipes/folding-door/models/default.json +1 -0
- package/recipes/folding-door/recipe.json +217 -0
- package/recipes/folding-door/spec.json +44 -0
- package/recipes/folding-door/thumbnail.png +0 -0
- package/recipes/fork/build.mts +13 -0
- package/recipes/fork/facts.md +3 -0
- package/recipes/fork/guide.en.md +18 -0
- package/recipes/fork/guide.ko.md +18 -0
- package/recipes/fork/models/default.json +1 -0
- package/recipes/fork/recipe.json +136 -0
- package/recipes/fork/spec.json +45 -0
- package/recipes/fork/thumbnail.png +0 -0
- package/recipes/gantry-frame/build.mts +13 -0
- package/recipes/gantry-frame/facts.md +3 -0
- package/recipes/gantry-frame/guide.en.md +18 -0
- package/recipes/gantry-frame/guide.ko.md +18 -0
- package/recipes/gantry-frame/models/default.json +1 -0
- package/recipes/gantry-frame/recipe.json +178 -0
- package/recipes/gantry-frame/spec.json +63 -0
- package/recipes/gantry-frame/thumbnail.png +0 -0
- package/recipes/gripper-2f/build.mts +16 -0
- package/recipes/gripper-2f/facts.md +3 -0
- package/recipes/gripper-2f/guide.en.md +18 -0
- package/recipes/gripper-2f/guide.ko.md +18 -0
- package/recipes/gripper-2f/models/default.json +1 -0
- package/recipes/gripper-2f/recipe.json +172 -0
- package/recipes/gripper-2f/spec.json +45 -0
- package/recipes/gripper-2f/thumbnail.png +0 -0
- package/recipes/guard-cover/build.mts +13 -0
- package/recipes/guard-cover/facts.md +3 -0
- package/recipes/guard-cover/guide.en.md +18 -0
- package/recipes/guard-cover/guide.ko.md +18 -0
- package/recipes/guard-cover/models/default.json +1 -0
- package/recipes/guard-cover/recipe.json +92 -0
- package/recipes/guard-cover/spec.json +18 -0
- package/recipes/guard-cover/thumbnail.png +0 -0
- package/recipes/handrail/build.mts +15 -0
- package/recipes/handrail/facts.md +3 -0
- package/recipes/handrail/guide.en.md +18 -0
- package/recipes/handrail/guide.ko.md +18 -0
- package/recipes/handrail/models/default.json +1 -0
- package/recipes/handrail/recipe.json +140 -0
- package/recipes/handrail/spec.json +45 -0
- package/recipes/handrail/thumbnail.png +0 -0
- package/recipes/hatch/build.mts +17 -0
- package/recipes/hatch/facts.md +3 -0
- package/recipes/hatch/guide.en.md +18 -0
- package/recipes/hatch/guide.ko.md +18 -0
- package/recipes/hatch/models/default.json +1 -0
- package/recipes/hatch/recipe.json +194 -0
- package/recipes/hatch/spec.json +69 -0
- package/recipes/hatch/thumbnail.png +0 -0
- package/recipes/hinged-door/build.mts +26 -0
- package/recipes/hinged-door/facts.md +21 -0
- package/recipes/hinged-door/guide.en.md +19 -0
- package/recipes/hinged-door/guide.ko.md +19 -0
- package/recipes/hinged-door/models/default.json +1 -0
- package/recipes/hinged-door/models/hinge=left.json +1 -0
- package/recipes/hinged-door/models/hinge=right.json +1 -0
- package/recipes/hinged-door/recipe.json +252 -0
- package/recipes/hinged-door/spec.json +23 -0
- package/recipes/hinged-door/thumbnail.png +0 -0
- package/recipes/hmi-monitor/build.mts +14 -0
- package/recipes/hmi-monitor/facts.md +3 -0
- package/recipes/hmi-monitor/guide.en.md +17 -0
- package/recipes/hmi-monitor/guide.ko.md +17 -0
- package/recipes/hmi-monitor/models/default.json +1 -0
- package/recipes/hmi-monitor/recipe.json +108 -0
- package/recipes/hmi-monitor/spec.json +18 -0
- package/recipes/hmi-monitor/thumbnail.png +0 -0
- package/recipes/hopper/build.mts +14 -0
- package/recipes/hopper/facts.md +3 -0
- package/recipes/hopper/guide.en.md +18 -0
- package/recipes/hopper/guide.ko.md +18 -0
- package/recipes/hopper/models/default.json +1 -0
- package/recipes/hopper/recipe.json +137 -0
- package/recipes/hopper/spec.json +22 -0
- package/recipes/hopper/thumbnail.png +0 -0
- package/recipes/interlock-switch/build.mts +8 -0
- package/recipes/interlock-switch/facts.md +3 -0
- package/recipes/interlock-switch/guide.en.md +17 -0
- package/recipes/interlock-switch/guide.ko.md +17 -0
- package/recipes/interlock-switch/models/default.json +1 -0
- package/recipes/interlock-switch/recipe.json +63 -0
- package/recipes/interlock-switch/spec.json +18 -0
- package/recipes/interlock-switch/thumbnail.png +0 -0
- package/recipes/junction-box/build.mts +8 -0
- package/recipes/junction-box/facts.md +3 -0
- package/recipes/junction-box/guide.en.md +16 -0
- package/recipes/junction-box/guide.ko.md +16 -0
- package/recipes/junction-box/models/default.json +1 -0
- package/recipes/junction-box/recipe.json +64 -0
- package/recipes/junction-box/spec.json +18 -0
- package/recipes/junction-box/thumbnail.png +0 -0
- package/recipes/ladder/build.mts +13 -0
- package/recipes/ladder/facts.md +3 -0
- package/recipes/ladder/guide.en.md +18 -0
- package/recipes/ladder/guide.ko.md +18 -0
- package/recipes/ladder/models/default.json +1 -0
- package/recipes/ladder/recipe.json +191 -0
- package/recipes/ladder/spec.json +44 -0
- package/recipes/ladder/thumbnail.png +0 -0
- package/recipes/legs-four/build.mts +12 -0
- package/recipes/legs-four/facts.md +3 -0
- package/recipes/legs-four/guide.en.md +18 -0
- package/recipes/legs-four/guide.ko.md +18 -0
- package/recipes/legs-four/models/default.json +1 -0
- package/recipes/legs-four/recipe.json +217 -0
- package/recipes/legs-four/spec.json +72 -0
- package/recipes/legs-four/thumbnail.png +0 -0
- package/recipes/leveling-feet/build.mts +11 -0
- package/recipes/leveling-feet/facts.md +3 -0
- package/recipes/leveling-feet/guide.en.md +18 -0
- package/recipes/leveling-feet/guide.ko.md +18 -0
- package/recipes/leveling-feet/models/default.json +1 -0
- package/recipes/leveling-feet/recipe.json +233 -0
- package/recipes/leveling-feet/spec.json +72 -0
- package/recipes/leveling-feet/thumbnail.png +0 -0
- package/recipes/lift-updown/build.mts +13 -0
- package/recipes/lift-updown/facts.md +3 -0
- package/recipes/lift-updown/guide.en.md +18 -0
- package/recipes/lift-updown/guide.ko.md +18 -0
- package/recipes/lift-updown/models/default.json +1 -0
- package/recipes/lift-updown/recipe.json +107 -0
- package/recipes/lift-updown/spec.json +45 -0
- package/recipes/lift-updown/thumbnail.png +0 -0
- package/recipes/light-curtain/build.mts +11 -0
- package/recipes/light-curtain/facts.md +3 -0
- package/recipes/light-curtain/guide.en.md +18 -0
- package/recipes/light-curtain/guide.ko.md +18 -0
- package/recipes/light-curtain/models/default.json +1 -0
- package/recipes/light-curtain/recipe.json +127 -0
- package/recipes/light-curtain/spec.json +54 -0
- package/recipes/light-curtain/thumbnail.png +0 -0
- package/recipes/limit-switch/build.mts +14 -0
- package/recipes/limit-switch/facts.md +3 -0
- package/recipes/limit-switch/guide.en.md +17 -0
- package/recipes/limit-switch/guide.ko.md +17 -0
- package/recipes/limit-switch/models/default.json +1 -0
- package/recipes/limit-switch/recipe.json +107 -0
- package/recipes/limit-switch/spec.json +17 -0
- package/recipes/limit-switch/thumbnail.png +0 -0
- package/recipes/linear-guide/build.mts +15 -0
- package/recipes/linear-guide/facts.md +3 -0
- package/recipes/linear-guide/guide.en.md +18 -0
- package/recipes/linear-guide/guide.ko.md +18 -0
- package/recipes/linear-guide/models/default.json +1 -0
- package/recipes/linear-guide/recipe.json +145 -0
- package/recipes/linear-guide/spec.json +44 -0
- package/recipes/linear-guide/thumbnail.png +0 -0
- package/recipes/locker-row/build.mts +11 -0
- package/recipes/locker-row/facts.md +3 -0
- package/recipes/locker-row/guide.en.md +18 -0
- package/recipes/locker-row/guide.ko.md +18 -0
- package/recipes/locker-row/models/default.json +1 -0
- package/recipes/locker-row/recipe.json +82 -0
- package/recipes/locker-row/spec.json +45 -0
- package/recipes/locker-row/thumbnail.png +0 -0
- package/recipes/motor-box/build.mts +10 -0
- package/recipes/motor-box/facts.md +3 -0
- package/recipes/motor-box/guide.en.md +17 -0
- package/recipes/motor-box/guide.ko.md +17 -0
- package/recipes/motor-box/models/default.json +1 -0
- package/recipes/motor-box/recipe.json +64 -0
- package/recipes/motor-box/spec.json +18 -0
- package/recipes/motor-box/thumbnail.png +0 -0
- package/recipes/observation-window/build.mts +16 -0
- package/recipes/observation-window/facts.md +3 -0
- package/recipes/observation-window/guide.en.md +19 -0
- package/recipes/observation-window/guide.ko.md +19 -0
- package/recipes/observation-window/models/default.json +1 -0
- package/recipes/observation-window/recipe.json +185 -0
- package/recipes/observation-window/spec.json +68 -0
- package/recipes/observation-window/thumbnail.png +0 -0
- package/recipes/operator-panel/build.mts +14 -0
- package/recipes/operator-panel/facts.md +3 -0
- package/recipes/operator-panel/guide.en.md +18 -0
- package/recipes/operator-panel/guide.ko.md +18 -0
- package/recipes/operator-panel/models/buttons=2.json +1 -0
- package/recipes/operator-panel/models/buttons=3.json +1 -0
- package/recipes/operator-panel/models/buttons=4.json +1 -0
- package/recipes/operator-panel/models/buttons=5.json +1 -0
- package/recipes/operator-panel/models/default.json +1 -0
- package/recipes/operator-panel/recipe.json +210 -0
- package/recipes/operator-panel/spec.json +38 -0
- package/recipes/operator-panel/thumbnail.png +0 -0
- package/recipes/pallet/build.mts +12 -0
- package/recipes/pallet/facts.md +3 -0
- package/recipes/pallet/guide.en.md +17 -0
- package/recipes/pallet/guide.ko.md +17 -0
- package/recipes/pallet/models/default.json +1 -0
- package/recipes/pallet/recipe.json +181 -0
- package/recipes/pallet/spec.json +18 -0
- package/recipes/pallet/thumbnail.png +0 -0
- package/recipes/partition-wall/build.mts +16 -0
- package/recipes/partition-wall/facts.md +3 -0
- package/recipes/partition-wall/guide.en.md +18 -0
- package/recipes/partition-wall/guide.ko.md +18 -0
- package/recipes/partition-wall/models/default.json +1 -0
- package/recipes/partition-wall/recipe.json +203 -0
- package/recipes/partition-wall/spec.json +54 -0
- package/recipes/partition-wall/thumbnail.png +0 -0
- package/recipes/pass-box/build.mts +14 -0
- package/recipes/pass-box/facts.md +3 -0
- package/recipes/pass-box/guide.en.md +17 -0
- package/recipes/pass-box/guide.ko.md +17 -0
- package/recipes/pass-box/models/default.json +1 -0
- package/recipes/pass-box/recipe.json +107 -0
- package/recipes/pass-box/spec.json +18 -0
- package/recipes/pass-box/thumbnail.png +0 -0
- package/recipes/peg-board/build.mts +14 -0
- package/recipes/peg-board/facts.md +3 -0
- package/recipes/peg-board/guide.en.md +17 -0
- package/recipes/peg-board/guide.ko.md +17 -0
- package/recipes/peg-board/models/default.json +1 -0
- package/recipes/peg-board/recipe.json +120 -0
- package/recipes/peg-board/spec.json +45 -0
- package/recipes/peg-board/thumbnail.png +0 -0
- package/recipes/photo-sensor-pair/build.mts +11 -0
- package/recipes/photo-sensor-pair/facts.md +3 -0
- package/recipes/photo-sensor-pair/guide.en.md +18 -0
- package/recipes/photo-sensor-pair/guide.ko.md +18 -0
- package/recipes/photo-sensor-pair/models/default.json +1 -0
- package/recipes/photo-sensor-pair/recipe.json +145 -0
- package/recipes/photo-sensor-pair/spec.json +54 -0
- package/recipes/photo-sensor-pair/thumbnail.png +0 -0
- package/recipes/pipe-run/build.mts +11 -0
- package/recipes/pipe-run/facts.md +3 -0
- package/recipes/pipe-run/guide.en.md +18 -0
- package/recipes/pipe-run/guide.ko.md +18 -0
- package/recipes/pipe-run/models/default.json +1 -0
- package/recipes/pipe-run/recipe.json +100 -0
- package/recipes/pipe-run/spec.json +44 -0
- package/recipes/pipe-run/thumbnail.png +0 -0
- package/recipes/platform/build.mts +14 -0
- package/recipes/platform/facts.md +3 -0
- package/recipes/platform/guide.en.md +18 -0
- package/recipes/platform/guide.ko.md +18 -0
- package/recipes/platform/models/default.json +1 -0
- package/recipes/platform/recipe.json +281 -0
- package/recipes/platform/spec.json +81 -0
- package/recipes/platform/thumbnail.png +0 -0
- package/recipes/power-box/build.mts +10 -0
- package/recipes/power-box/facts.md +3 -0
- package/recipes/power-box/guide.en.md +17 -0
- package/recipes/power-box/guide.ko.md +17 -0
- package/recipes/power-box/models/default.json +1 -0
- package/recipes/power-box/recipe.json +64 -0
- package/recipes/power-box/spec.json +18 -0
- package/recipes/power-box/thumbnail.png +0 -0
- package/recipes/pressure-gauge/build.mts +10 -0
- package/recipes/pressure-gauge/facts.md +3 -0
- package/recipes/pressure-gauge/guide.en.md +17 -0
- package/recipes/pressure-gauge/guide.ko.md +17 -0
- package/recipes/pressure-gauge/models/default.json +1 -0
- package/recipes/pressure-gauge/recipe.json +65 -0
- package/recipes/pressure-gauge/spec.json +18 -0
- package/recipes/pressure-gauge/thumbnail.png +0 -0
- package/recipes/pull-cord/build.mts +11 -0
- package/recipes/pull-cord/facts.md +3 -0
- package/recipes/pull-cord/guide.en.md +17 -0
- package/recipes/pull-cord/guide.ko.md +17 -0
- package/recipes/pull-cord/models/default.json +1 -0
- package/recipes/pull-cord/recipe.json +75 -0
- package/recipes/pull-cord/spec.json +18 -0
- package/recipes/pull-cord/thumbnail.png +0 -0
- package/recipes/pump/build.mts +13 -0
- package/recipes/pump/facts.md +3 -0
- package/recipes/pump/guide.en.md +17 -0
- package/recipes/pump/guide.ko.md +17 -0
- package/recipes/pump/models/default.json +1 -0
- package/recipes/pump/recipe.json +109 -0
- package/recipes/pump/spec.json +18 -0
- package/recipes/pump/thumbnail.png +0 -0
- package/recipes/pusher/build.mts +11 -0
- package/recipes/pusher/facts.md +3 -0
- package/recipes/pusher/guide.en.md +18 -0
- package/recipes/pusher/guide.ko.md +18 -0
- package/recipes/pusher/models/default.json +1 -0
- package/recipes/pusher/recipe.json +105 -0
- package/recipes/pusher/spec.json +45 -0
- package/recipes/pusher/thumbnail.png +0 -0
- package/recipes/robot-plinth/build.mts +9 -0
- package/recipes/robot-plinth/facts.md +3 -0
- package/recipes/robot-plinth/guide.en.md +17 -0
- package/recipes/robot-plinth/guide.ko.md +17 -0
- package/recipes/robot-plinth/models/default.json +1 -0
- package/recipes/robot-plinth/recipe.json +115 -0
- package/recipes/robot-plinth/spec.json +45 -0
- package/recipes/robot-plinth/thumbnail.png +0 -0
- package/recipes/roll-up-shutter/build.mts +17 -0
- package/recipes/roll-up-shutter/facts.md +3 -0
- package/recipes/roll-up-shutter/guide.en.md +18 -0
- package/recipes/roll-up-shutter/guide.ko.md +18 -0
- package/recipes/roll-up-shutter/models/default.json +1 -0
- package/recipes/roll-up-shutter/recipe.json +200 -0
- package/recipes/roll-up-shutter/spec.json +69 -0
- package/recipes/roll-up-shutter/thumbnail.png +0 -0
- package/recipes/roller-row/build.mts +18 -0
- package/recipes/roller-row/facts.md +20 -0
- package/recipes/roller-row/guide.en.md +21 -0
- package/recipes/roller-row/guide.ko.md +21 -0
- package/recipes/roller-row/models/default.json +1 -0
- package/recipes/roller-row/recipe.json +179 -0
- package/recipes/roller-row/spec.json +80 -0
- package/recipes/roller-row/thumbnail.png +0 -0
- package/recipes/room-shell/build.mts +16 -0
- package/recipes/room-shell/facts.md +3 -0
- package/recipes/room-shell/guide.en.md +18 -0
- package/recipes/room-shell/guide.ko.md +18 -0
- package/recipes/room-shell/models/default.json +1 -0
- package/recipes/room-shell/recipe.json +324 -0
- package/recipes/room-shell/spec.json +81 -0
- package/recipes/room-shell/thumbnail.png +0 -0
- package/recipes/rotating-beacon/build.mts +17 -0
- package/recipes/rotating-beacon/facts.md +3 -0
- package/recipes/rotating-beacon/guide.en.md +17 -0
- package/recipes/rotating-beacon/guide.ko.md +17 -0
- package/recipes/rotating-beacon/models/default.json +1 -0
- package/recipes/rotating-beacon/recipe.json +160 -0
- package/recipes/rotating-beacon/spec.json +18 -0
- package/recipes/rotating-beacon/thumbnail.png +0 -0
- package/recipes/safety-fence/build.mts +15 -0
- package/recipes/safety-fence/facts.md +3 -0
- package/recipes/safety-fence/guide.en.md +19 -0
- package/recipes/safety-fence/guide.ko.md +19 -0
- package/recipes/safety-fence/models/default.json +1 -0
- package/recipes/safety-fence/recipe.json +161 -0
- package/recipes/safety-fence/spec.json +80 -0
- package/recipes/safety-fence/thumbnail.png +0 -0
- package/recipes/safety-mat/build.mts +11 -0
- package/recipes/safety-mat/facts.md +3 -0
- package/recipes/safety-mat/guide.en.md +18 -0
- package/recipes/safety-mat/guide.ko.md +18 -0
- package/recipes/safety-mat/models/default.json +1 -0
- package/recipes/safety-mat/recipe.json +93 -0
- package/recipes/safety-mat/spec.json +44 -0
- package/recipes/safety-mat/thumbnail.png +0 -0
- package/recipes/safety-sign-stand/build.mts +16 -0
- package/recipes/safety-sign-stand/facts.md +3 -0
- package/recipes/safety-sign-stand/guide.en.md +16 -0
- package/recipes/safety-sign-stand/guide.ko.md +16 -0
- package/recipes/safety-sign-stand/models/default.json +1 -0
- package/recipes/safety-sign-stand/recipe.json +144 -0
- package/recipes/safety-sign-stand/spec.json +11 -0
- package/recipes/safety-sign-stand/thumbnail.png +0 -0
- package/recipes/scanner-mount/build.mts +10 -0
- package/recipes/scanner-mount/facts.md +3 -0
- package/recipes/scanner-mount/guide.en.md +16 -0
- package/recipes/scanner-mount/guide.ko.md +16 -0
- package/recipes/scanner-mount/models/default.json +1 -0
- package/recipes/scanner-mount/recipe.json +147 -0
- package/recipes/scanner-mount/spec.json +18 -0
- package/recipes/scanner-mount/thumbnail.png +0 -0
- package/recipes/selector-switch/build.mts +14 -0
- package/recipes/selector-switch/facts.md +3 -0
- package/recipes/selector-switch/guide.en.md +17 -0
- package/recipes/selector-switch/guide.ko.md +17 -0
- package/recipes/selector-switch/models/default.json +1 -0
- package/recipes/selector-switch/recipe.json +104 -0
- package/recipes/selector-switch/spec.json +11 -0
- package/recipes/selector-switch/thumbnail.png +0 -0
- package/recipes/shelf-tiers/build.mts +12 -0
- package/recipes/shelf-tiers/facts.md +3 -0
- package/recipes/shelf-tiers/guide.en.md +18 -0
- package/recipes/shelf-tiers/guide.ko.md +18 -0
- package/recipes/shelf-tiers/models/default.json +1 -0
- package/recipes/shelf-tiers/models/tiers=2.json +1 -0
- package/recipes/shelf-tiers/models/tiers=3.json +1 -0
- package/recipes/shelf-tiers/models/tiers=4.json +1 -0
- package/recipes/shelf-tiers/models/tiers=5.json +1 -0
- package/recipes/shelf-tiers/recipe.json +196 -0
- package/recipes/shelf-tiers/spec.json +64 -0
- package/recipes/shelf-tiers/thumbnail.png +0 -0
- package/recipes/side-guides/build.mts +12 -0
- package/recipes/side-guides/facts.md +3 -0
- package/recipes/side-guides/guide.en.md +18 -0
- package/recipes/side-guides/guide.ko.md +18 -0
- package/recipes/side-guides/models/default.json +1 -0
- package/recipes/side-guides/recipe.json +147 -0
- package/recipes/side-guides/spec.json +54 -0
- package/recipes/side-guides/thumbnail.png +0 -0
- package/recipes/sign-board/build.mts +11 -0
- package/recipes/sign-board/facts.md +3 -0
- package/recipes/sign-board/guide.en.md +18 -0
- package/recipes/sign-board/guide.ko.md +18 -0
- package/recipes/sign-board/models/default.json +1 -0
- package/recipes/sign-board/recipe.json +93 -0
- package/recipes/sign-board/spec.json +44 -0
- package/recipes/sign-board/thumbnail.png +0 -0
- package/recipes/signal-tower-3/build.mts +19 -0
- package/recipes/signal-tower-3/facts.md +3 -0
- package/recipes/signal-tower-3/guide.en.md +17 -0
- package/recipes/signal-tower-3/guide.ko.md +17 -0
- package/recipes/signal-tower-3/models/default.json +1 -0
- package/recipes/signal-tower-3/recipe.json +216 -0
- package/recipes/signal-tower-3/spec.json +19 -0
- package/recipes/signal-tower-3/thumbnail.png +0 -0
- package/recipes/sliding-door/build.mts +47 -0
- package/recipes/sliding-door/facts.md +26 -0
- package/recipes/sliding-door/guide.en.md +22 -0
- package/recipes/sliding-door/guide.ko.md +22 -0
- package/recipes/sliding-door/models/default.json +1 -0
- package/recipes/sliding-door/models/leaves=1,lamp=false.json +1 -0
- package/recipes/sliding-door/models/leaves=1,lamp=true.json +1 -0
- package/recipes/sliding-door/models/leaves=2,lamp=false.json +1 -0
- package/recipes/sliding-door/models/leaves=2,lamp=true.json +1 -0
- package/recipes/sliding-door/recipe.json +506 -0
- package/recipes/sliding-door/spec.json +26 -0
- package/recipes/sliding-door/thumbnail.png +0 -0
- package/recipes/stairs/build.mts +11 -0
- package/recipes/stairs/facts.md +3 -0
- package/recipes/stairs/guide.en.md +19 -0
- package/recipes/stairs/guide.ko.md +19 -0
- package/recipes/stairs/models/default.json +1 -0
- package/recipes/stairs/recipe.json +110 -0
- package/recipes/stairs/spec.json +94 -0
- package/recipes/stairs/thumbnail.png +0 -0
- package/recipes/status-lamp/build.mts +17 -0
- package/recipes/status-lamp/facts.md +3 -0
- package/recipes/status-lamp/guide.en.md +17 -0
- package/recipes/status-lamp/guide.ko.md +17 -0
- package/recipes/status-lamp/models/default.json +1 -0
- package/recipes/status-lamp/recipe.json +172 -0
- package/recipes/status-lamp/spec.json +18 -0
- package/recipes/status-lamp/thumbnail.png +0 -0
- package/recipes/stopper/build.mts +12 -0
- package/recipes/stopper/facts.md +3 -0
- package/recipes/stopper/guide.en.md +18 -0
- package/recipes/stopper/guide.ko.md +18 -0
- package/recipes/stopper/models/default.json +1 -0
- package/recipes/stopper/recipe.json +108 -0
- package/recipes/stopper/spec.json +45 -0
- package/recipes/stopper/thumbnail.png +0 -0
- package/recipes/suction-pads/build.mts +11 -0
- package/recipes/suction-pads/facts.md +3 -0
- package/recipes/suction-pads/guide.en.md +18 -0
- package/recipes/suction-pads/guide.ko.md +18 -0
- package/recipes/suction-pads/models/default.json +1 -0
- package/recipes/suction-pads/recipe.json +86 -0
- package/recipes/suction-pads/spec.json +45 -0
- package/recipes/suction-pads/thumbnail.png +0 -0
- package/recipes/tank/build.mts +12 -0
- package/recipes/tank/facts.md +3 -0
- package/recipes/tank/guide.en.md +18 -0
- package/recipes/tank/guide.ko.md +18 -0
- package/recipes/tank/models/default.json +1 -0
- package/recipes/tank/recipe.json +105 -0
- package/recipes/tank/spec.json +44 -0
- package/recipes/tank/thumbnail.png +0 -0
- package/recipes/telescopic-arm/build.mts +15 -0
- package/recipes/telescopic-arm/facts.md +3 -0
- package/recipes/telescopic-arm/guide.en.md +17 -0
- package/recipes/telescopic-arm/guide.ko.md +17 -0
- package/recipes/telescopic-arm/models/default.json +1 -0
- package/recipes/telescopic-arm/recipe.json +108 -0
- package/recipes/telescopic-arm/spec.json +18 -0
- package/recipes/telescopic-arm/thumbnail.png +0 -0
- package/recipes/toe-board/build.mts +11 -0
- package/recipes/toe-board/facts.md +3 -0
- package/recipes/toe-board/guide.en.md +18 -0
- package/recipes/toe-board/guide.ko.md +18 -0
- package/recipes/toe-board/models/default.json +1 -0
- package/recipes/toe-board/recipe.json +92 -0
- package/recipes/toe-board/spec.json +45 -0
- package/recipes/toe-board/thumbnail.png +0 -0
- package/recipes/tote/build.mts +10 -0
- package/recipes/tote/facts.md +3 -0
- package/recipes/tote/guide.en.md +18 -0
- package/recipes/tote/guide.ko.md +18 -0
- package/recipes/tote/models/default.json +1 -0
- package/recipes/tote/recipe.json +82 -0
- package/recipes/tote/spec.json +45 -0
- package/recipes/tote/thumbnail.png +0 -0
- package/recipes/traffic-cones/build.mts +15 -0
- package/recipes/traffic-cones/facts.md +3 -0
- package/recipes/traffic-cones/guide.en.md +18 -0
- package/recipes/traffic-cones/guide.ko.md +18 -0
- package/recipes/traffic-cones/models/default.json +1 -0
- package/recipes/traffic-cones/recipe.json +130 -0
- package/recipes/traffic-cones/spec.json +22 -0
- package/recipes/traffic-cones/thumbnail.png +0 -0
- package/recipes/transfer-belts/build.mts +14 -0
- package/recipes/transfer-belts/facts.md +3 -0
- package/recipes/transfer-belts/guide.en.md +18 -0
- package/recipes/transfer-belts/guide.ko.md +18 -0
- package/recipes/transfer-belts/models/default.json +1 -0
- package/recipes/transfer-belts/recipe.json +174 -0
- package/recipes/transfer-belts/spec.json +45 -0
- package/recipes/transfer-belts/thumbnail.png +0 -0
- package/recipes/tray-stack/build.mts +13 -0
- package/recipes/tray-stack/facts.md +3 -0
- package/recipes/tray-stack/guide.en.md +18 -0
- package/recipes/tray-stack/guide.ko.md +18 -0
- package/recipes/tray-stack/models/default.json +1 -0
- package/recipes/tray-stack/models/trays=3.json +1 -0
- package/recipes/tray-stack/models/trays=4.json +1 -0
- package/recipes/tray-stack/models/trays=5.json +1 -0
- package/recipes/tray-stack/recipe.json +289 -0
- package/recipes/tray-stack/spec.json +20 -0
- package/recipes/tray-stack/thumbnail.png +0 -0
- package/recipes/trough/build.mts +11 -0
- package/recipes/trough/facts.md +3 -0
- package/recipes/trough/guide.en.md +17 -0
- package/recipes/trough/guide.ko.md +17 -0
- package/recipes/trough/models/default.json +1 -0
- package/recipes/trough/recipe.json +75 -0
- package/recipes/trough/spec.json +18 -0
- package/recipes/trough/thumbnail.png +0 -0
- package/recipes/turntable/build.mts +15 -0
- package/recipes/turntable/facts.md +3 -0
- package/recipes/turntable/guide.en.md +18 -0
- package/recipes/turntable/guide.ko.md +18 -0
- package/recipes/turntable/models/default.json +1 -0
- package/recipes/turntable/recipe.json +140 -0
- package/recipes/turntable/spec.json +43 -0
- package/recipes/turntable/thumbnail.png +0 -0
- package/recipes/valve-handle/build.mts +17 -0
- package/recipes/valve-handle/facts.md +3 -0
- package/recipes/valve-handle/guide.en.md +17 -0
- package/recipes/valve-handle/guide.ko.md +17 -0
- package/recipes/valve-handle/models/default.json +1 -0
- package/recipes/valve-handle/recipe.json +149 -0
- package/recipes/valve-handle/spec.json +18 -0
- package/recipes/valve-handle/thumbnail.png +0 -0
- package/recipes/waste-bin/build.mts +10 -0
- package/recipes/waste-bin/facts.md +3 -0
- package/recipes/waste-bin/guide.en.md +17 -0
- package/recipes/waste-bin/guide.ko.md +17 -0
- package/recipes/waste-bin/models/default.json +1 -0
- package/recipes/waste-bin/recipe.json +82 -0
- package/recipes/waste-bin/spec.json +45 -0
- package/recipes/waste-bin/thumbnail.png +0 -0
- package/recipes/work-light/build.mts +18 -0
- package/recipes/work-light/facts.md +3 -0
- package/recipes/work-light/guide.en.md +17 -0
- package/recipes/work-light/guide.ko.md +17 -0
- package/recipes/work-light/models/default.json +1 -0
- package/recipes/work-light/recipe.json +162 -0
- package/recipes/work-light/spec.json +18 -0
- package/recipes/work-light/thumbnail.png +0 -0
- package/recipes/workbench-top/build.mts +12 -0
- package/recipes/workbench-top/facts.md +3 -0
- package/recipes/workbench-top/guide.en.md +18 -0
- package/recipes/workbench-top/guide.ko.md +18 -0
- package/recipes/workbench-top/models/default.json +1 -0
- package/recipes/workbench-top/recipe.json +99 -0
- package/recipes/workbench-top/spec.json +45 -0
- package/recipes/workbench-top/thumbnail.png +0 -0
- package/scripts/build-templates.mts +64 -0
- package/scripts/templates.test.mts +89 -0
- package/server/index.ts +6 -10
- package/server/routers/figure-thumbnail-router.ts +24 -0
- package/server/service/figure-recipe/figure-recipe-resolver.ts +28 -32
- package/server/service/figure-recipe/figure-recipe-templates.test.ts +47 -0
- package/server/service/figure-recipe/figure-recipe-templates.ts +70 -0
- package/server/service/figure-recipe/figure-recipe-type.ts +31 -0
- package/server/service/figure-recipe/index.ts +2 -4
- package/server/service/index.ts +4 -4
- package/dist-server/service/figure-recipe/figure-recipe-store.d.ts +0 -41
- package/dist-server/service/figure-recipe/figure-recipe-store.js +0 -105
- package/dist-server/service/figure-recipe/figure-recipe-store.js.map +0 -1
- package/dist-server/service/figure-recipe/figure-recipe.d.ts +0 -19
- package/dist-server/service/figure-recipe/figure-recipe.js +0 -67
- package/dist-server/service/figure-recipe/figure-recipe.js.map +0 -1
- package/server/service/figure-recipe/figure-recipe-db.test.ts +0 -123
- package/server/service/figure-recipe/figure-recipe-store.ts +0 -101
- package/server/service/figure-recipe/figure-recipe.ts +0 -51
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "waste-bin",
|
|
3
|
+
"category": "storage",
|
|
4
|
+
"tags": [
|
|
5
|
+
"waste",
|
|
6
|
+
"bin",
|
|
7
|
+
"trash"
|
|
8
|
+
],
|
|
9
|
+
"title": {
|
|
10
|
+
"ko": "폐기물 통",
|
|
11
|
+
"en": "waste bin"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"ko": "고른 부품(바닥) 윗면에 위가 열린 폐기물 통을 둡니다.",
|
|
15
|
+
"en": "An open-top waste bin on the chosen part's top (a floor)."
|
|
16
|
+
},
|
|
17
|
+
"params": [
|
|
18
|
+
{
|
|
19
|
+
"name": "height",
|
|
20
|
+
"kind": "mm",
|
|
21
|
+
"default": 800,
|
|
22
|
+
"label": {
|
|
23
|
+
"ko": "높이 (mm)",
|
|
24
|
+
"en": "height (mm)"
|
|
25
|
+
},
|
|
26
|
+
"hint": {
|
|
27
|
+
"ko": "통의 높이",
|
|
28
|
+
"en": "how tall the bin is"
|
|
29
|
+
},
|
|
30
|
+
"min": 300,
|
|
31
|
+
"max": 1500,
|
|
32
|
+
"bind": [
|
|
33
|
+
{
|
|
34
|
+
"step": {
|
|
35
|
+
"kind": "add-part",
|
|
36
|
+
"part": {
|
|
37
|
+
"id": "{id}-bin"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"path": "part.dimensions.height"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* 작업등 — the model. */
|
|
2
|
+
import { host, Model } from '../_lib/model.mts'
|
|
3
|
+
|
|
4
|
+
export default function build() {
|
|
5
|
+
const m = new Model(host({ x: 1800, y: 900, z: 800 }, 'TPL_WORK_LIGHT'))
|
|
6
|
+
m.box('arm', 40, 700, 40)
|
|
7
|
+
.on('arm', 'bottom', 'host', 'top', { z: 'min' })
|
|
8
|
+
.colour('arm', 'leg', '#7d8790')
|
|
9
|
+
.box('head', 300, 40, 120)
|
|
10
|
+
.on('head', 'bottom', 'arm', 'top', { z: 'min' })
|
|
11
|
+
.colour('head', 'motor', '#44505a')
|
|
12
|
+
.box('light', 280, 10, 100)
|
|
13
|
+
.on('light', 'top', 'head', 'bottom')
|
|
14
|
+
.colour('light', 'glow-white', '#fff4c2', true)
|
|
15
|
+
.moves('light', { type: 'prismatic', axis: 'Y', lower: 0, upper: 0.001, state: 'on' })
|
|
16
|
+
.edit({ kind: 'set-visibility', target: 'light', shownWhen: { input: 'on', atLeast: 0.0005 } })
|
|
17
|
+
return m.asset
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## When to use it
|
|
2
|
+
|
|
3
|
+
For a work light over a bench.
|
|
4
|
+
|
|
5
|
+
## Putting it in
|
|
6
|
+
|
|
7
|
+
1. Choose the bench; the arm stands at the back middle of its **top**.
|
|
8
|
+
2. Press "put in".
|
|
9
|
+
|
|
10
|
+
## Afterwards
|
|
11
|
+
|
|
12
|
+
- Raise the **on** control at all and the light glows.
|
|
13
|
+
- The parts are ordinary parts: change them one by one, or take them all out with one undo.
|
|
14
|
+
|
|
15
|
+
## Good to know
|
|
16
|
+
|
|
17
|
+
- The lamp glows; no light beam is drawn.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## 언제 쓰나
|
|
2
|
+
|
|
3
|
+
작업대 위를 비추는 작업등을 달 때 씁니다.
|
|
4
|
+
|
|
5
|
+
## 넣는 순서
|
|
6
|
+
|
|
7
|
+
1. 작업대를 고릅니다. 팔은 **윗면 뒤쪽 가운데**에 섭니다.
|
|
8
|
+
2. 「넣기」를 누릅니다.
|
|
9
|
+
|
|
10
|
+
## 넣은 뒤
|
|
11
|
+
|
|
12
|
+
- **켜짐** 조작값을 조금이라도 올리면 등이 빛납니다.
|
|
13
|
+
- 넣은 부품은 보통 부품이라 하나씩 고칠 수 있고, 되돌리기 한 번에 모두 빠집니다.
|
|
14
|
+
|
|
15
|
+
## 알아 둘 것
|
|
16
|
+
|
|
17
|
+
- 빛은 그리지 않고 등만 빛납니다.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"figure-v3-asset-1","name":"TPL_WORK_LIGHT","document":{"version":"figure-v3-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":"arm.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"arm.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"head.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"head.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"head.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"light.dimension.width","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"light.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"light.dimension.depth","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"},{"id":"on","unit":"mm","min":0,"max":0.001,"role":"state"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio._0_5","unit":"ratio","value":-0.5},{"id":"k.ratio._1","unit":"ratio","value":-1},{"id":"axis.ratio.0","unit":"ratio","value":0},{"id":"axis.ratio.1","unit":"ratio","value":1},{"id":"k.light.shown.at","unit":"mm","value":0.0005}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.size.x","host.size.y","host.size.z"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"arm.shape","op":"box-shape@1","args":["arm.dimension.width","arm.dimension.height","arm.dimension.depth"],"outputs":{"shape":"arm.shapeValue"},"params":{"frame":"arm.local"}},{"id":"arm.pose","op":"rigid@1","args":["d.mm.0","arm.on.host.along.y.1.sum.value","arm.on.host.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.poseValue"},"params":{"from":"arm.local","to":"arm.seat"}},{"id":"arm","op":"place@1","args":["arm.shapeValue","arm.world.value"],"outputs":{"placed":"arm.placed"}},{"id":"head.shape","op":"box-shape@1","args":["head.dimension.width","head.dimension.height","head.dimension.depth"],"outputs":{"shape":"head.shapeValue"},"params":{"frame":"head.local"}},{"id":"head.pose","op":"rigid@1","args":["d.mm.0","head.on.arm.along.y.1.sum.value","head.on.arm.own-edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"head.poseValue"},"params":{"from":"head.local","to":"head.seat"}},{"id":"head","op":"place@1","args":["head.shapeValue","head.world.value"],"outputs":{"placed":"head.placed"}},{"id":"light.shape","op":"box-shape@1","args":["light.dimension.width","light.dimension.height","light.dimension.depth"],"outputs":{"shape":"light.shapeValue"},"params":{"frame":"light.local"}},{"id":"light.pose","op":"rigid@1","args":["d.mm.0","light.on.head.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"light.poseValue"},"params":{"from":"light.local","to":"light.seat"}},{"id":"light","op":"place@1","args":["light.shapeValue","light.world.value"],"outputs":{"placed":"light.placed"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"arm.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"arm.on.host.seat.y.0.times.value"}},{"id":"arm.on.host.along.y.0.times","op":"mul@1","args":["arm.dimension.height","k.ratio.0_5"],"outputs":{"value":"arm.on.host.along.y.0.times.value"}},{"id":"arm.on.host.along.y.1.sum","op":"add@1","args":["arm.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"arm.on.host.along.y.1.sum.value"}},{"id":"arm.on.host.edge.z.0.times","op":"mul@1","args":["host.size.z","k.ratio._0_5"],"outputs":{"value":"arm.on.host.edge.z.0.times.value"}},{"id":"arm.on.host.own-edge.z.0.times","op":"mul@1","args":["arm.dimension.depth","k.ratio.0_5"],"outputs":{"value":"arm.on.host.own-edge.z.0.times.value"}},{"id":"arm.seat.rigid","op":"rigid@1","args":["d.mm.0","arm.on.host.seat.y.0.times.value","arm.on.host.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"arm.seat.value"},"params":{"from":"arm.seat","to":"host.local"}},{"id":"arm.chain","op":"compose@1","args":["arm.seat.value","arm.poseValue"],"outputs":{"pose":"arm.chain.value"}},{"id":"arm.world","op":"compose@1","args":["host.chain.value","arm.chain.value"],"outputs":{"pose":"arm.world.value"}},{"id":"head.on.arm.seat.y.0.times","op":"mul@1","args":["arm.dimension.height","k.ratio.0_5"],"outputs":{"value":"head.on.arm.seat.y.0.times.value"}},{"id":"head.on.arm.along.y.0.times","op":"mul@1","args":["head.dimension.height","k.ratio.0_5"],"outputs":{"value":"head.on.arm.along.y.0.times.value"}},{"id":"head.on.arm.along.y.1.sum","op":"add@1","args":["head.on.arm.along.y.0.times.value","d.mm.0"],"outputs":{"value":"head.on.arm.along.y.1.sum.value"}},{"id":"head.on.arm.edge.z.0.times","op":"mul@1","args":["arm.dimension.depth","k.ratio._0_5"],"outputs":{"value":"head.on.arm.edge.z.0.times.value"}},{"id":"head.on.arm.own-edge.z.0.times","op":"mul@1","args":["head.dimension.depth","k.ratio.0_5"],"outputs":{"value":"head.on.arm.own-edge.z.0.times.value"}},{"id":"head.seat.rigid","op":"rigid@1","args":["d.mm.0","head.on.arm.seat.y.0.times.value","head.on.arm.edge.z.0.times.value","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"head.seat.value"},"params":{"from":"head.seat","to":"arm.local"}},{"id":"head.chain","op":"compose@1","args":["head.seat.value","head.poseValue"],"outputs":{"pose":"head.chain.value"}},{"id":"head.world","op":"compose@1","args":["arm.world.value","head.chain.value"],"outputs":{"pose":"head.world.value"}},{"id":"light.on.head.seat.y.0.times","op":"mul@1","args":["head.dimension.height","k.ratio._0_5"],"outputs":{"value":"light.on.head.seat.y.0.times.value"}},{"id":"light.on.head.along.y.0.times","op":"mul@1","args":["light.dimension.height","k.ratio._0_5"],"outputs":{"value":"light.on.head.along.y.0.times.value"}},{"id":"light.on.head.along.y.1.times","op":"mul@1","args":["d.mm.0","k.ratio._1"],"outputs":{"value":"light.on.head.along.y.1.times.value"}},{"id":"light.on.head.along.y.1.sum","op":"add@1","args":["light.on.head.along.y.0.times.value","light.on.head.along.y.1.times.value"],"outputs":{"value":"light.on.head.along.y.1.sum.value"}},{"id":"light.seat.rigid","op":"rigid@1","args":["d.mm.0","light.on.head.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"light.seat.value"},"params":{"from":"light.joint","to":"head.local"}},{"id":"light.chain","op":"compose@1","args":["light.seat.value","light.turned.value"],"outputs":{"pose":"light.chain.value"}},{"id":"light.world","op":"compose@1","args":["head.world.value","light.chain.value"],"outputs":{"pose":"light.world.value"}},{"id":"light.motion","op":"axis-slide@1","args":["axis.ratio.0","axis.ratio.1","axis.ratio.0","on"],"outputs":{"pose":"light.motion.value"},"params":{"from":"light.seat","to":"light.joint"}},{"id":"light.turned","op":"compose@1","args":["light.motion.value","light.poseValue"],"outputs":{"pose":"light.turned.value"}},{"id":"light.shown","op":"at-least@1","args":["on","k.light.shown.at"],"outputs":{"value":"light.shown.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1800,"host.size.y":900,"host.size.z":800,"arm.dimension.width":40,"arm.dimension.height":700,"arm.dimension.depth":40,"head.dimension.width":300,"head.dimension.height":40,"head.dimension.depth":120,"light.dimension.width":280,"light.dimension.height":10,"light.dimension.depth":100},"stateDefaults":{"on":0},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-7d8790":"#7d8790","palette.tpl-44505a":"#44505a","palette.tpl-fff4c2":"#fff4c2"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"arm","material":{"token":"palette.tpl-7d8790"}},{"target":"head","material":{"token":"palette.tpl-44505a"}},{"target":"light","material":{"token":"palette.tpl-fff4c2","emissive":{"on":true,"token":"palette.tpl-fff4c2","intensity":1}},"visibility":"light.shown.value"}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"arm","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"arm","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"head","type":"fixed","body0":{"part":"arm","face":"top"},"body1":{"part":"head","face":"bottom"},"origin":{"align":{"z":"min"}}},{"id":"light","type":"prismatic","body0":{"part":"head","face":"bottom"},"body1":{"part":"light","face":"top"},"origin":{},"axis":"Y","lowerLimit":0,"upperLimit":0.001,"state":{"id":"on"}}]}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "work-light",
|
|
3
|
+
"title": {
|
|
4
|
+
"ko": "작업등",
|
|
5
|
+
"en": "work light"
|
|
6
|
+
},
|
|
7
|
+
"description": {
|
|
8
|
+
"ko": "고른 부품 윗면 뒤쪽에 팔을 세우고 그 끝에 작업등을 답니다. 조작값으로 켜고 끕니다.",
|
|
9
|
+
"en": "An arm at the back of the chosen part's top with a work light at its end, switched on a control."
|
|
10
|
+
},
|
|
11
|
+
"category": "signal",
|
|
12
|
+
"tags": [
|
|
13
|
+
"light",
|
|
14
|
+
"lamp",
|
|
15
|
+
"work"
|
|
16
|
+
],
|
|
17
|
+
"target": "part",
|
|
18
|
+
"params": [],
|
|
19
|
+
"steps": [
|
|
20
|
+
{
|
|
21
|
+
"kind": "add-part",
|
|
22
|
+
"part": {
|
|
23
|
+
"id": "{id}-arm",
|
|
24
|
+
"kind": "box",
|
|
25
|
+
"dimensions": {
|
|
26
|
+
"width": 40,
|
|
27
|
+
"height": 700,
|
|
28
|
+
"depth": 40
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"kind": "add-part",
|
|
34
|
+
"part": {
|
|
35
|
+
"id": "{id}-head",
|
|
36
|
+
"kind": "box",
|
|
37
|
+
"dimensions": {
|
|
38
|
+
"width": 300,
|
|
39
|
+
"height": 40,
|
|
40
|
+
"depth": 120
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "add-part",
|
|
46
|
+
"part": {
|
|
47
|
+
"id": "{id}-light",
|
|
48
|
+
"kind": "box",
|
|
49
|
+
"dimensions": {
|
|
50
|
+
"width": 280,
|
|
51
|
+
"height": 10,
|
|
52
|
+
"depth": 100
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "set-joint",
|
|
58
|
+
"joint": {
|
|
59
|
+
"id": "{id}-arm",
|
|
60
|
+
"type": "fixed",
|
|
61
|
+
"body0": {
|
|
62
|
+
"part": "{target}",
|
|
63
|
+
"face": "top"
|
|
64
|
+
},
|
|
65
|
+
"body1": {
|
|
66
|
+
"part": "{id}-arm",
|
|
67
|
+
"face": "bottom"
|
|
68
|
+
},
|
|
69
|
+
"origin": {
|
|
70
|
+
"align": {
|
|
71
|
+
"z": "min"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"kind": "set-joint",
|
|
78
|
+
"joint": {
|
|
79
|
+
"id": "{id}-head",
|
|
80
|
+
"type": "fixed",
|
|
81
|
+
"body0": {
|
|
82
|
+
"part": "{id}-arm",
|
|
83
|
+
"face": "top"
|
|
84
|
+
},
|
|
85
|
+
"body1": {
|
|
86
|
+
"part": "{id}-head",
|
|
87
|
+
"face": "bottom"
|
|
88
|
+
},
|
|
89
|
+
"origin": {
|
|
90
|
+
"align": {
|
|
91
|
+
"z": "min"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "set-joint",
|
|
98
|
+
"joint": {
|
|
99
|
+
"id": "{id}-light",
|
|
100
|
+
"type": "prismatic",
|
|
101
|
+
"body0": {
|
|
102
|
+
"part": "{id}-head",
|
|
103
|
+
"face": "bottom"
|
|
104
|
+
},
|
|
105
|
+
"body1": {
|
|
106
|
+
"part": "{id}-light",
|
|
107
|
+
"face": "top"
|
|
108
|
+
},
|
|
109
|
+
"origin": {},
|
|
110
|
+
"axis": "Y",
|
|
111
|
+
"lowerLimit": 0,
|
|
112
|
+
"upperLimit": 0.001,
|
|
113
|
+
"state": {
|
|
114
|
+
"id": "{id}-on"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "set-material",
|
|
120
|
+
"target": "{id}-arm",
|
|
121
|
+
"material": {
|
|
122
|
+
"token": "palette.tpl-7d8790"
|
|
123
|
+
},
|
|
124
|
+
"palette": {
|
|
125
|
+
"palette.tpl-7d8790": "#7d8790"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "set-material",
|
|
130
|
+
"target": "{id}-head",
|
|
131
|
+
"material": {
|
|
132
|
+
"token": "palette.tpl-44505a"
|
|
133
|
+
},
|
|
134
|
+
"palette": {
|
|
135
|
+
"palette.tpl-44505a": "#44505a"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "set-material",
|
|
140
|
+
"target": "{id}-light",
|
|
141
|
+
"material": {
|
|
142
|
+
"token": "palette.tpl-fff4c2",
|
|
143
|
+
"emissive": {
|
|
144
|
+
"on": true,
|
|
145
|
+
"token": "palette.tpl-fff4c2",
|
|
146
|
+
"intensity": 1
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"palette": {
|
|
150
|
+
"palette.tpl-fff4c2": "#fff4c2"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "set-visibility",
|
|
155
|
+
"target": "{id}-light",
|
|
156
|
+
"shownWhen": {
|
|
157
|
+
"input": "{id}-on",
|
|
158
|
+
"atLeast": 0.0005
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "work-light",
|
|
3
|
+
"category": "signal",
|
|
4
|
+
"tags": [
|
|
5
|
+
"light",
|
|
6
|
+
"lamp",
|
|
7
|
+
"work"
|
|
8
|
+
],
|
|
9
|
+
"title": {
|
|
10
|
+
"ko": "작업등",
|
|
11
|
+
"en": "work light"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"ko": "고른 부품 윗면 뒤쪽에 팔을 세우고 그 끝에 작업등을 답니다. 조작값으로 켜고 끕니다.",
|
|
15
|
+
"en": "An arm at the back of the chosen part's top with a work light at its end, switched on a control."
|
|
16
|
+
},
|
|
17
|
+
"params": []
|
|
18
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* 작업대 상판 — the model. */
|
|
2
|
+
import { host, Model } from '../_lib/model.mts'
|
|
3
|
+
|
|
4
|
+
export default function build() {
|
|
5
|
+
const m = new Model(host({ x: 1800, y: 800, z: 800 }, 'TPL_WORKBENCH_TOP'))
|
|
6
|
+
m.box('top', 1800, 40, 800)
|
|
7
|
+
.follow('top', 'x', 'host', 'x')
|
|
8
|
+
.follow('top', 'z', 'host', 'z')
|
|
9
|
+
.on('top', 'bottom', 'host', 'top')
|
|
10
|
+
.colour('top', 'wood', '#b08d57')
|
|
11
|
+
return m.asset
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## When to use it
|
|
2
|
+
|
|
3
|
+
For a thick top on a workbench or a table.
|
|
4
|
+
|
|
5
|
+
## Putting it in
|
|
6
|
+
|
|
7
|
+
1. Choose the body; the top covers its **top**.
|
|
8
|
+
2. Set the **top thickness** in mm.
|
|
9
|
+
3. Press "put in".
|
|
10
|
+
|
|
11
|
+
## Afterwards
|
|
12
|
+
|
|
13
|
+
- The top follows the body's length and depth.
|
|
14
|
+
- The parts are ordinary parts: change them one by one, or take them all out with one undo.
|
|
15
|
+
|
|
16
|
+
## Good to know
|
|
17
|
+
|
|
18
|
+
- The top is wood-coloured.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## 언제 쓰나
|
|
2
|
+
|
|
3
|
+
작업대, 테이블에 두꺼운 상판을 올릴 때 씁니다.
|
|
4
|
+
|
|
5
|
+
## 넣는 순서
|
|
6
|
+
|
|
7
|
+
1. 몸체를 고릅니다. 상판은 **윗면**을 덮습니다.
|
|
8
|
+
2. **상판 두께**를 mm로 정합니다.
|
|
9
|
+
3. 「넣기」를 누릅니다.
|
|
10
|
+
|
|
11
|
+
## 넣은 뒤
|
|
12
|
+
|
|
13
|
+
- 상판은 몸체 길이와 폭을 따릅니다.
|
|
14
|
+
- 넣은 부품은 보통 부품이라 하나씩 고칠 수 있고, 되돌리기 한 번에 모두 빠집니다.
|
|
15
|
+
|
|
16
|
+
## 알아 둘 것
|
|
17
|
+
|
|
18
|
+
- 상판 색은 나무색입니다.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"figure-v3-asset-1","name":"TPL_WORKBENCH_TOP","document":{"version":"figure-v3-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":"top.dimension.height","unit":"mm","min":0,"max":1.7976931348623157e+308,"role":"design"}],"constants":[{"id":"d.mm.0","unit":"mm","value":0},{"id":"a.deg.0","unit":"deg","value":0},{"id":"k.ratio.0_5","unit":"ratio","value":0.5},{"id":"k.ratio.1","unit":"ratio","value":1}],"nodes":[{"id":"host.shape","op":"box-shape@1","args":["host.dimension.x.value","host.size.y","host.dimension.z.value"],"outputs":{"shape":"host.shapeValue"},"params":{"frame":"host.local"}},{"id":"host.pose","op":"rigid@1","args":["d.mm.0","host.on.plane.stand.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.poseValue"},"params":{"from":"host.local","to":"host.seat"}},{"id":"host","op":"place@1","args":["host.shapeValue","host.chain.value"],"outputs":{"placed":"host.placed"}},{"id":"top.shape","op":"box-shape@1","args":["top.dimension.x.value","top.dimension.height","top.dimension.z.value"],"outputs":{"shape":"top.shapeValue"},"params":{"frame":"top.local"}},{"id":"top.pose","op":"rigid@1","args":["d.mm.0","top.on.host.along.y.1.sum.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"top.poseValue"},"params":{"from":"top.local","to":"top.seat"}},{"id":"top","op":"place@1","args":["top.shapeValue","top.world.value"],"outputs":{"placed":"top.placed"}},{"id":"top.dimension.x","op":"mul@1","args":["host.dimension.x.value","k.ratio.1"],"outputs":{"value":"top.dimension.x.value"}},{"id":"host.dimension.x","op":"mul@1","args":["host.size.x","k.ratio.1"],"outputs":{"value":"host.dimension.x.value"}},{"id":"top.dimension.z","op":"mul@1","args":["host.dimension.z.value","k.ratio.1"],"outputs":{"value":"top.dimension.z.value"}},{"id":"host.dimension.z","op":"mul@1","args":["host.size.z","k.ratio.1"],"outputs":{"value":"host.dimension.z.value"}},{"id":"host.on.plane.stand.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"host.on.plane.stand.y.0.times.value"}},{"id":"host.on.plane.stand.y.1.sum","op":"add@1","args":["host.on.plane.stand.y.0.times.value","d.mm.0"],"outputs":{"value":"host.on.plane.stand.y.1.sum.value"}},{"id":"host.seat.rigid","op":"rigid@1","args":["d.mm.0","d.mm.0","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"host.seat.value"},"params":{"from":"host.seat","to":"asset"}},{"id":"host.chain","op":"compose@1","args":["host.seat.value","host.poseValue"],"outputs":{"pose":"host.chain.value"}},{"id":"top.on.host.seat.y.0.times","op":"mul@1","args":["host.size.y","k.ratio.0_5"],"outputs":{"value":"top.on.host.seat.y.0.times.value"}},{"id":"top.on.host.along.y.0.times","op":"mul@1","args":["top.dimension.height","k.ratio.0_5"],"outputs":{"value":"top.on.host.along.y.0.times.value"}},{"id":"top.on.host.along.y.1.sum","op":"add@1","args":["top.on.host.along.y.0.times.value","d.mm.0"],"outputs":{"value":"top.on.host.along.y.1.sum.value"}},{"id":"top.seat.rigid","op":"rigid@1","args":["d.mm.0","top.on.host.seat.y.0.times.value","d.mm.0","a.deg.0","a.deg.0","a.deg.0"],"outputs":{"pose":"top.seat.value"},"params":{"from":"top.seat","to":"host.local"}},{"id":"top.chain","op":"compose@1","args":["top.seat.value","top.poseValue"],"outputs":{"pose":"top.chain.value"}},{"id":"top.world","op":"compose@1","args":["host.chain.value","top.chain.value"],"outputs":{"pose":"top.world.value"}}]},"capabilities":{"version":"r3-capability-3","assetFrame":"asset","bindings":[]}},"designInputs":{"host.size.x":1800,"host.size.y":800,"host.size.z":800,"top.dimension.height":40},"stateDefaults":{},"palette":{"palette.primary":"#477b9e","palette.host":"#d9dde2","palette.tpl-b08d57":"#b08d57"},"appearance":[{"target":"host","material":{"token":"palette.host"}},{"target":"top","material":{"token":"palette.tpl-b08d57"}}],"joints":[{"id":"host","type":"fixed","body0":{"plane":"mounting-plane"},"body1":{"part":"host","face":"bottom"},"origin":{}},{"id":"top","type":"fixed","body0":{"part":"host","face":"top"},"body1":{"part":"top","face":"bottom"},"origin":{}}]}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "workbench-top",
|
|
3
|
+
"title": {
|
|
4
|
+
"ko": "작업대 상판",
|
|
5
|
+
"en": "workbench top"
|
|
6
|
+
},
|
|
7
|
+
"description": {
|
|
8
|
+
"ko": "고른 부품 윗면에 두꺼운 작업대 상판을 올립니다. 상판은 부품 크기를 따릅니다.",
|
|
9
|
+
"en": "A thick workbench top on the chosen part's top, following its size."
|
|
10
|
+
},
|
|
11
|
+
"category": "support",
|
|
12
|
+
"tags": [
|
|
13
|
+
"workbench",
|
|
14
|
+
"top",
|
|
15
|
+
"table"
|
|
16
|
+
],
|
|
17
|
+
"target": "part",
|
|
18
|
+
"params": [
|
|
19
|
+
{
|
|
20
|
+
"name": "thickness",
|
|
21
|
+
"kind": "mm",
|
|
22
|
+
"default": 40,
|
|
23
|
+
"label": {
|
|
24
|
+
"ko": "상판 두께 (mm)",
|
|
25
|
+
"en": "top thickness (mm)"
|
|
26
|
+
},
|
|
27
|
+
"hint": {
|
|
28
|
+
"ko": "상판의 두께",
|
|
29
|
+
"en": "how thick the top is"
|
|
30
|
+
},
|
|
31
|
+
"min": 10,
|
|
32
|
+
"max": 150
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"steps": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "add-part",
|
|
38
|
+
"part": {
|
|
39
|
+
"id": "{id}-top",
|
|
40
|
+
"kind": "box",
|
|
41
|
+
"dimensions": {
|
|
42
|
+
"width": 1800,
|
|
43
|
+
"height": {
|
|
44
|
+
"param": "thickness"
|
|
45
|
+
},
|
|
46
|
+
"depth": 800
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "link-dimension",
|
|
52
|
+
"part": "{id}-top",
|
|
53
|
+
"axis": "x",
|
|
54
|
+
"source": {
|
|
55
|
+
"of": "part",
|
|
56
|
+
"part": "{target}",
|
|
57
|
+
"axis": "x"
|
|
58
|
+
},
|
|
59
|
+
"narrowRange": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "link-dimension",
|
|
63
|
+
"part": "{id}-top",
|
|
64
|
+
"axis": "z",
|
|
65
|
+
"source": {
|
|
66
|
+
"of": "part",
|
|
67
|
+
"part": "{target}",
|
|
68
|
+
"axis": "z"
|
|
69
|
+
},
|
|
70
|
+
"narrowRange": true
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "set-joint",
|
|
74
|
+
"joint": {
|
|
75
|
+
"id": "{id}-top",
|
|
76
|
+
"type": "fixed",
|
|
77
|
+
"body0": {
|
|
78
|
+
"part": "{target}",
|
|
79
|
+
"face": "top"
|
|
80
|
+
},
|
|
81
|
+
"body1": {
|
|
82
|
+
"part": "{id}-top",
|
|
83
|
+
"face": "bottom"
|
|
84
|
+
},
|
|
85
|
+
"origin": {}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "set-material",
|
|
90
|
+
"target": "{id}-top",
|
|
91
|
+
"material": {
|
|
92
|
+
"token": "palette.tpl-b08d57"
|
|
93
|
+
},
|
|
94
|
+
"palette": {
|
|
95
|
+
"palette.tpl-b08d57": "#b08d57"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "workbench-top",
|
|
3
|
+
"category": "support",
|
|
4
|
+
"tags": [
|
|
5
|
+
"workbench",
|
|
6
|
+
"top",
|
|
7
|
+
"table"
|
|
8
|
+
],
|
|
9
|
+
"title": {
|
|
10
|
+
"ko": "작업대 상판",
|
|
11
|
+
"en": "workbench top"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"ko": "고른 부품 윗면에 두꺼운 작업대 상판을 올립니다. 상판은 부품 크기를 따릅니다.",
|
|
15
|
+
"en": "A thick workbench top on the chosen part's top, following its size."
|
|
16
|
+
},
|
|
17
|
+
"params": [
|
|
18
|
+
{
|
|
19
|
+
"name": "thickness",
|
|
20
|
+
"kind": "mm",
|
|
21
|
+
"default": 40,
|
|
22
|
+
"label": {
|
|
23
|
+
"ko": "상판 두께 (mm)",
|
|
24
|
+
"en": "top thickness (mm)"
|
|
25
|
+
},
|
|
26
|
+
"hint": {
|
|
27
|
+
"ko": "상판의 두께",
|
|
28
|
+
"en": "how thick the top is"
|
|
29
|
+
},
|
|
30
|
+
"min": 10,
|
|
31
|
+
"max": 150,
|
|
32
|
+
"bind": [
|
|
33
|
+
{
|
|
34
|
+
"step": {
|
|
35
|
+
"kind": "add-part",
|
|
36
|
+
"part": {
|
|
37
|
+
"id": "{id}-top"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"path": "part.dimensions.height"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Builds the recipe templates from their models (ADR-0095 amended: model first, verified, then the recipe).
|
|
3
|
+
*
|
|
4
|
+
* node scripts/build-templates.mts [name …]
|
|
5
|
+
*
|
|
6
|
+
* For each recipes/<name>/ with build.mts and spec.json: builds a model for every combination of the template's
|
|
7
|
+
* choices (models/<choices>.json, and models/default.json at its defaults) -- figures the modeller opens as they are --
|
|
8
|
+
* then merges them into recipe.json (figure-model `buildV3Recipe`). The tests check the models and that recipe.json is
|
|
9
|
+
* what they build; `figure-ui/scripts/template-thumbnails.mjs` draws thumbnail.png from models/default.json.
|
|
10
|
+
*/
|
|
11
|
+
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
|
|
12
|
+
import { join, resolve } from 'node:path'
|
|
13
|
+
import { pathToFileURL } from 'node:url'
|
|
14
|
+
|
|
15
|
+
import { buildV3Recipe, serializeV3Asset } from '@hatiolab/figure-model'
|
|
16
|
+
import type { V3RecipeSpec } from '@hatiolab/figure-model'
|
|
17
|
+
|
|
18
|
+
export const RECIPES = resolve(import.meta.dirname, '..', 'recipes')
|
|
19
|
+
|
|
20
|
+
type Values = Record<string, number | string | boolean>
|
|
21
|
+
|
|
22
|
+
/** Every combination of a spec's choices and flags, the defaults first. */
|
|
23
|
+
export function combinationsOf(spec: V3RecipeSpec): Values[] {
|
|
24
|
+
let combos: Values[] = [{}]
|
|
25
|
+
for (const p of spec.params.filter(p => p.kind === 'choice' || p.kind === 'flag')) {
|
|
26
|
+
const values = p.kind === 'flag' ? [true, false] : [...(p.options ?? [])]
|
|
27
|
+
combos = combos.flatMap(c => values.map(v => ({ ...c, [p.name]: v })))
|
|
28
|
+
}
|
|
29
|
+
const defaults = Object.fromEntries(spec.params.map(p => [p.name, p.default]))
|
|
30
|
+
const isDefault = (c: Values) => Object.entries(c).every(([k, v]) => defaults[k] === v)
|
|
31
|
+
return [...combos.filter(isDefault), ...combos.filter(c => !isDefault(c))]
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export const modelFileOf = (values: Values) => (Object.keys(values).length ? Object.entries(values).map(([k, v]) => `${k}=${v}`).join(',') : 'default') + '.json'
|
|
35
|
+
|
|
36
|
+
/** One template built: its models and its recipe, as the files hold them. */
|
|
37
|
+
export async function buildTemplate(name: string) {
|
|
38
|
+
const dir = join(RECIPES, name)
|
|
39
|
+
const spec = JSON.parse(readFileSync(join(dir, 'spec.json'), 'utf-8')) as V3RecipeSpec
|
|
40
|
+
const build = (await import(pathToFileURL(join(dir, 'build.mts')).href)).default as (values: Values) => unknown
|
|
41
|
+
const combos = combinationsOf(spec)
|
|
42
|
+
const models = combos.map(values => ({ values, asset: build(values) as never }))
|
|
43
|
+
const recipe = buildV3Recipe(spec, models)
|
|
44
|
+
return { spec, models, recipe, combos }
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
async function main() {
|
|
48
|
+
const only = process.argv.slice(2)
|
|
49
|
+
for (const name of readdirSync(RECIPES).filter(n => !n.startsWith('_') && existsSync(join(RECIPES, n, 'build.mts'))).filter(n => !only.length || only.includes(n)).sort()) {
|
|
50
|
+
const { models, recipe } = await buildTemplate(name)
|
|
51
|
+
const out = join(RECIPES, name, 'models')
|
|
52
|
+
rmSync(out, { recursive: true, force: true })
|
|
53
|
+
mkdirSync(out)
|
|
54
|
+
models.forEach(({ values, asset }, i) => {
|
|
55
|
+
const text = serializeV3Asset(asset)
|
|
56
|
+
writeFileSync(join(out, modelFileOf(values)), text)
|
|
57
|
+
if (i === 0) writeFileSync(join(out, 'default.json'), text)
|
|
58
|
+
})
|
|
59
|
+
writeFileSync(join(RECIPES, name, 'recipe.json'), JSON.stringify(recipe, null, 2) + '\n')
|
|
60
|
+
console.log(`${name}: ${models.length} model(s), ${recipe.steps.length} steps`)
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) await main()
|