app
Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
← Commit history
Update 102 file(s)
9 files changed
+71−20
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.275+1.9.276
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.275",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.275/adom-bridge-fusion-v1.9.275.zip",- "sha256": "0ca8657bd03b23c9e420fee4f40956c87e3c0209df93d463a8b5fff7ddd01acd",- "size": 567711,+ "version": "1.9.276",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.276/adom-bridge-fusion-v1.9.276.zip",+ "sha256": "f255b3ef27ee8a74ffcc95559b5555f760e347fb1aa50d9eea618ba7b1c4cd16",+ "size": 568530, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.275",+ "version": "1.9.276", "description": "Drive Autodesk Fusion 360 from the cloud: launch Fusion, electronics board layout, design rules, exports (STEP/IGES/STL/3MF/USDZ/OBJ/DXF/DWG/Gerbers/BOM/CPL), fast APS server-indexed cloud search plus browse/recent/file-info/versions, cloud file download/upload and folder creation, and in-app parametric modeling (fusion_run_modeling_script). Never-charge: APS calls are capped to the free tier.", "homepage": "https://wiki.adom.inc/adom/fusion-bridge", "author": "Adom Inc.",
dashboard/Cargo.lock+1−1@@ -4,7 +4,7 @@ version = 4 [[package]] name = "fusion-dashboard"-version = "1.9.275"+version = "1.9.276" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.275"+version = "1.9.276" edition = "2021" [dependencies]
install.sh+1−1@@ -21,7 +21,7 @@ echo "Installed fusion-bridge skills: $(ls "$PKG_DIR/skills" 2>/dev/null | tr '\ # binary (the three-artifact pattern: bridge zip -> ab, THIS pkg -> container skills + # this download, page media -> wiki). Per the wiki's PKG_VS_RELEASE policy, binaries are # platform-tagged RELEASE assets, never tarball content - the installer fetches them.-DASH_VERSION="1.9.275"+DASH_VERSION="1.9.276" DASH_URL="https://wiki.adom.inc/download/adom/fusion-bridge/${DASH_VERSION}/fusion-dashboard" DEST="" if [ -w /usr/local/bin ]; then DEST=/usr/local/bin
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.9.275",+ "version": "1.9.276", "type": "app", "description": "This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.", "dependencies": {
page.json+11−8@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.9.275",+ "version": "1.9.276", "type": "app", "description": "This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.", "dependencies": {@@ -11,6 +11,10 @@ "uninstall": "./uninstall.sh" }, "tags": [+ "ab",+ "bridge",+ "fusion",+ "desktop-app", "fusion360", "autodesk", "cad",@@ -75,7 +79,10 @@ "build a basic parts library", "add a 3d model to a component", "make a fusion 360 library with 3d",- "set up the fusion bridge"+ "set up the fusion bridge",+ "fusion dashboard",+ "fusion status page",+ "open the fusion launch page" ], "discovery_pitch": "Use the Adom Bridge Fusion 360 bridge when the user wants to DRIVE Autodesk Fusion 360 from the cloud: open/search their team's Fusion cloud designs, lay out a PCB or do electronics, export STEP/IGES/STL/Gerbers/BOM, or build a component library with real rendering 3D. It runs Fusion on the user's own machine via Adom Bridge. NOT for web/browser/login/form-filling (that's the native-browser extension) and NOT for KiCad (that's the kicad bridge).", "brief": "Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.",@@ -104,9 +111,5 @@ "label": "Part volume", "prompt": "How much material does each printed part in this assembly use?" }- ],- "author": {- "name": "John Lauer",- "email": "[email protected]"- }-}+ ]+}
server.py+50−2@@ -14117,6 +14117,45 @@ def _dispatch_command_inner(command: str, args: dict, caller_identity: dict = No } +_STATUS_CACHE = {"at": 0.0, "running": False, "addin": None, "refreshing": False}+++def _status_probe_cached(installed: bool, ttl: float = 5.0):+ """(running, addin) for /status without ever blocking the request thread.++ Stale by at most `ttl` seconds; a refresh runs on a helper thread when the cache+ is older than that, and never more than one at a time. While a long operation is+ declared (a library import mid-mint) the cache is served without refreshing: the+ add-in cannot answer while Fusion imports a STEP, and a stalled poll here is what+ got the bridge reaped mid-run."""+ import time as _st+ now = _st.time()+ c = _STATUS_CACHE+ if not installed:+ return False, None+ long_op = bool(_LONG_OP.get("name"))+ if (now - c["at"] > ttl) and not c["refreshing"] and not (long_op and c["at"]):+ c["refreshing"] = True++ def _refresh():+ try:+ r = _is_fusion_running()+ a = _probe_addin() if r else None+ c.update(running=r, addin=a, at=_st.time())+ except Exception:+ pass+ finally:+ c["refreshing"] = False+ threading.Thread(target=_refresh, daemon=True, name="status-probe").start()+ if not c["at"]:+ # first ever call: give the probe up to ~1.5s so the very first /status is real+ for _ in range(15):+ _st.sleep(0.1)+ if c["at"]:+ break+ return bool(c["running"]), c["addin"]++ def _build_status() -> dict: """Build the /status payload — the endpoint ab declares as healthEndpoint. @@ -14130,8 +14169,15 @@ def _build_status() -> dict: info = fusion_info or {} installed = bool(info.get("installed"))- running = _is_fusion_running() if installed else False- addin = _probe_addin() if running else None+ # NEVER BLOCK THE HEALTH POLL (2026-08-29, two ten-part imports killed by+ # bridge_restarted_mid_run, both while Fusion was importing the 3.9 MB S10B STEP+ # with the CPU pegged). The crash log showed no traceback and no clean exit for+ # either death: the process was killed from outside, i.e. ab reaped a bridge whose+ # health poll stalled. This handler used to run `tasklist` (seconds under load) and+ # an add-in HTTP probe on EVERY poll. Now the probes run at most every 5s on a+ # helper thread and the handler answers from the cache in microseconds; during a+ # declared long operation the last known state is reported as-is with busy:true.+ running, addin = _status_probe_cached(installed) addin_ok = bool(addin) if platform.system() != "Windows":@@ -14155,6 +14201,8 @@ def _build_status() -> dict: return { "status": "ok",+ "busy": bool(_LONG_OP.get("name")),+ "longOp": _LONG_OP.get("name"), "led": led, "summary": summary, "tooltip": tooltip,