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
1.9.143: #49 long-op-aware hang gate (no mid-mint kills)
6 files changed
+40−14
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.142+1.9.143
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.142",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.142/adom-bridge-fusion-v1.9.142.zip",- "sha256": "cf25ddf03ec26d76c5e307efae3ab6d4c9fe460a8bdc3a16d7fb9dc52d6ca829",- "size": 476504,+ "version": "1.9.143",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.143/adom-bridge-fusion-v1.9.143.zip",+ "sha256": "30f0804b30fd31e7aabce8e7e392289d0134e32446483e14fef62f5a531c176c",+ "size": 477125, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.142",+ "version": "1.9.143", "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.",
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.9.162",+ "version": "1.9.163", "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+10−7@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.9.162",+ "version": "1.9.163", "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",@@ -70,7 +74,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.",@@ -99,9 +106,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+23@@ -2722,6 +2722,16 @@ def _check_addin_status(timeout: float = 3.0) -> dict | None: _HUNG_SINCE = [0.0] # first time is_fusion_hung() reported hung; 0 = not currently hung +# LONG-OP REGISTRY (#49 follow-up, 2026-08-22, from the ab matrix run's timing table): the+# bridge KNOWS when its own create_library chain is mid-flight, and a mint's cloud saveAs on+# a fresh account blocks Fusion's main thread without pumping for MINUTES - which is exactly+# what kill-grade hang "evidence" looks like (IsHungAppWindow true + 20s probe refused ++# 180s persistence). Parts died at ~400s with "no frames, bind null": the hang gate killed a+# WORKING Fusion mid-mint when a concurrent dismiss/status call hit the dispatch preamble.+# While this registry shows an op in flight (younger than the 900s ceiling), a non-pumping+# main thread is EXPECTED and _confirmed_hung must answer not-hung.+_LONG_OP = {"name": None, "since": 0.0}+ def _confirmed_hung() -> dict: """A kill-grade hang verdict. IsHungAppWindow ALONE must never authorize a kill.@@ -2740,6 +2750,12 @@ def _confirmed_hung() -> dict: less returns hung:false with a `phase` explaining what to do (wait). """ import time as _t+ # A bridge-dispatched long op (create_library mint/bind) legitimately wedges the main+ # thread for minutes - never declare hung while one is in flight and under its ceiling.+ if _LONG_OP["since"] and (_t.time() - _LONG_OP["since"]) < 900:+ return {"hung": False, "phase": "long-op-in-flight",+ "longOp": _LONG_OP["name"],+ "longOpElapsedSec": round(_t.time() - _LONG_OP["since"], 1)} try: from handlers.fusion_ui import is_fusion_hung _h = is_fusion_hung()@@ -10257,6 +10273,10 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: def _chain(): state = {"stage": "starting", "success": None, "libraryPath": lbr_p or None, "runId": run_id}+ # Register with the hang gate: while this chain runs (and is under the 900s+ # ceiling) a non-pumping main thread is WORK, not a hang (#49 mid-mint kills).+ _LONG_OP["name"] = "create_library:" + run_id+ _LONG_OP["since"] = __import__("time").time() def _save(): # PER-RUN persistence (issue #47 follow-up, 2026-08-21): a single latest-run # slot meant two concurrent chains OVERWROTE each other - the matrix's poll@@ -10360,6 +10380,9 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: state.update(stage="failed", success=False, verdict="not_proven", error=str(e)[:400]); _save() finally:+ if _LONG_OP.get("name") == "create_library:" + run_id:+ _LONG_OP["name"] = None+ _LONG_OP["since"] = 0.0 # A BATCH MUST NOT NEED THE CALLER TO SWEEP BETWEEN PARTS (page issue #47, # failure mode 5: unsaved library docs accumulated until the add-in stopped # responding and one part's mess failed every part after it). Close THIS