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 74 file(s)
9 files changed
+82−22
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.254+1.9.255
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.254",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.254/adom-bridge-fusion-v1.9.254.zip",- "sha256": "ecf8826f87625f5631db8a0725c2fb2bda2cf09d0c6a17956497233b230d6887",- "size": 548913,+ "version": "1.9.255",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.255/adom-bridge-fusion-v1.9.255.zip",+ "sha256": "34ec5b871505618fc58d7b72aa344de6c7ce60126bf8dde2ee6598c632c31162",+ "size": 550007, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.254",+ "version": "1.9.255", "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.254"+version = "1.9.255" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.254"+version = "1.9.255" 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.254"+DASH_VERSION="1.9.255" 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.254",+ "version": "1.9.255", "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.254",+ "version": "1.9.255", "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+61−4@@ -3061,7 +3061,17 @@ def _confirmed_hung() -> dict: def _handle_addin_status() -> dict: """Bridge-level handler for addin_status — wraps /status in standard format."""- status = _check_addin_status(timeout=3.0) or {"busy": False}+ status = _check_addin_status(timeout=3.0)+ if status is None:+ # (2026-08-29) With the add-in's server stopped this verb answered status:"ok"+ # because the None was swapped for {"busy": False}. A probe that got no answer+ # must say so.+ return {"success": False, "status": "unreachable", "errorCode": "addin_not_answering",+ "error": "The Adom add-in did not answer on port %s. Fusion is %srunning."+ % (ADDIN_PORT, "" if _is_fusion_running() else "NOT "),+ "_hint": "If Fusion is running, the add-in was installed or updated after launch "+ "(or its server stopped): fusion_restart_for_addin {save:true} asks "+ "and restarts. If Fusion is not running, fusion_start."} stale = _addin_staleness(status.get("version")) status = {**status, **stale} result = {"success": True, "output": json.dumps(status), **status}@@ -12208,14 +12218,53 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: # lie about the reason, and the user cannot reconcile it with the Fusion # window in front of them. Name the real condition; the wiki renders `stage`. if _is_fusion_running():+ # ⛔ ASK, NEVER JUST RESTART (John, 2026-08-28: "why do you not give me a+ # choice?", and again 2026-08-29 when the restart-ask test showed this+ # stage fired no toast at all and _handle_launch killed Fusion after a+ # 30s gate). The two-button notice is the user's decision point; this+ # chain records the payload for the page, fires the toast, and WAITS. _enter("Fusion is open but its Adom add-in is not answering - "- "restarting Fusion so the add-in loads")+ "asking you whether to save and restart it") state["stageReason"] = "addin_not_answering"+ _ri = _addin_restart_info(fire_toast=True)+ state.update(errorCode="addin_restart_required",+ userMessage=_ri.get("userMessage"),+ documentsKnown=_ri.get("documentsKnown"),+ openDocuments=_ri.get("openDocuments"),+ unsavedDocuments=_ri.get("unsavedDocuments"),+ remedyVerb="fusion_restart_for_addin",+ notificationId=(_ri.get("toast") or {}).get("id"))+ _save()+ _nid = (_ri.get("toast") or {}).get("id")+ if _nid:+ _watch_restart_choice(_nid)+ _ask_deadline = _tc.time() + 1800+ _chosen = None+ while _tc.time() < _ask_deadline:+ if _addin_round_trip_ready(tries=1):+ _chosen = "restarted"; break # restarted (by them or by the remedy)+ if _user_restart_hold_active():+ _chosen = "hold"; break+ _tc.sleep(4)+ if _chosen == "hold":+ state.update(stage="failed", success=False, errorCode="user_owns_restart",+ error="You chose 'I'll handle it' on the restart notice, so "+ "this import stopped without touching Fusion. Restart "+ "Fusion yourself, then start the import again.")+ _save(); return+ if _chosen != "restarted":+ state.update(stage="failed", success=False, errorCode="awaiting_user_restart",+ error="Fusion's add-in stayed silent for 30 minutes and nobody "+ "answered the restart notice. Nothing was restarted. "+ "Save and restart Fusion, then start the import again.")+ _save(); return+ state.pop("errorCode", None); state["restartChoice"] = "restart"+ _save() else: _enter("launching Fusion (add-in loads at start)") state["stageReason"] = "fusion_not_running"- _save()- dispatch_command("start", {})+ _save()+ dispatch_command("start", {}) _deadline = _tc.time() + 240 while _tc.time() < _deadline and not _addin_round_trip_ready(tries=1): _tc.sleep(5)@@ -13914,6 +13963,14 @@ def _handle_restart_for_addin(fusion_info: dict, args: dict) -> dict: save:false skips saving (an AI on an unattended box that knows the docs are scratch). """+ if args.get("decline"):+ # The page's "I'll handle it" button: record the hold exactly as the toast's button+ # would, so no automatic path restarts Fusion until the user does.+ _set_user_restart_hold(args.get("notificationId") or "page")+ _bridge_action_ledger("restart_choice", {"choice": "declined-from-page"})+ return {"success": True, "declined": True, "hold": True,+ "_hint": "Recorded: the user owns the restart. Any chain waiting on the "+ "notice stops with user_owns_restart; nothing restarts Fusion."} import time as _t save = args.get("save", True) t0 = _t.time()