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 8 file(s)
8 files changed
+80−18
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.96+1.9.97
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.96",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.111/adom-bridge-fusion-v1.9.96.zip",- "sha256": "1c6c1897c34fd53b4d0b5a1454d3208bd40f5f15e8691b58d59e7aca8b1defe3",- "size": 432038,+ "version": "1.9.97",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.112/adom-bridge-fusion-v1.9.97.zip",+ "sha256": "872e8f2f98c868821fe2775ca1d64cb3ce283b2fedc0a78e26da9d6fa5f7aece",+ "size": 433006, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.96",+ "version": "1.9.97", "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.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.111"+version = "1.9.112" 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.111"+DASH_VERSION="1.9.112" 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.111",+ "version": "1.9.112", "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.111",+ "version": "1.9.112", "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+61−2@@ -5798,6 +5798,17 @@ def _seat_sweep_tick(): _close_idle_bridge_docs() except Exception: pass+ # A Create-new prompt from ANY route (not just our own EDIT) blocks the main thread.+ # Answer No: it means a name did not exist, and inventing an empty artifact would hide+ # that. Self-contained, like every other section in this sweep.+ try:+ for _d in (classify_blocking_dialogs() or []):+ if _d.get("category") == "create_confirm":+ _unwrap(_ad_call("desktop_ui_click", {"hwnd": _d.get("hwnd"), "name": "No"}, timeout=12))+ print("[Fusion Bridge] janitor: declined a stray Create-new prompt (%s)"+ % _d.get("matchedOn", "title"))+ except Exception:+ pass def _seat_resolve_section():@@ -6816,6 +6827,32 @@ def _show_library_view(name, suffix, lbr_path=None): % (name, resolved)) name = resolved edit = _proxy_to_addin("electron_run", {"command": "EDIT %s.%s" % (name, suffix)}, timeout=15)+ # WE MAY NOT HAVE BEEN ABLE TO PRE-CHECK (no libraryPath, nothing remembered, or the+ # library was opened by another route). If Fusion prompted anyway, answer it HERE - a+ # modal we caused must never outlive the call that caused it, and it is holding the main+ # thread hostage while it sits there (John saw this dialog twice, 2026-08-21).+ try:+ _pending = [d for d in (classify_blocking_dialogs() or [])+ if d.get("category") == "create_confirm"]+ if _pending:+ for _d in _pending:+ _unwrap(_ad_call("desktop_ui_click", {"hwnd": _d.get("hwnd"), "name": "No"}, timeout=12))+ print("[Fusion Bridge] declined a Create-new prompt for %r - the name is not in the "+ "library (answering Yes would fabricate an empty artifact)" % name)+ return {+ "success": False,+ "error": "No %s named %r in the open library. Fusion offered to CREATE it; the "+ "bridge declined." % ({"sym": "symbol", "pac": "footprint",+ "dev": "device"}.get(suffix, suffix), name),+ "errorCode": "artifact_not_in_library",+ "promptDeclined": True,+ "_hint": ("The prompt was answered (No) inside this call, so nothing is left "+ "blocking Fusion's main thread. Answering Yes would have created an "+ "EMPTY artifact and made this look like it worked. Pass libraryPath so "+ "the bridge can verify names up front and never raise the prompt at all."),+ }+ except Exception:+ pass if not edit.get("success"): return {"success": False, "error": "EDIT %s.%s failed: %s" % (name, suffix, edit.get("error")), "_hint": ("The name must match the deviceset/artifact inside the OPEN library exactly "@@ -6836,6 +6873,19 @@ def _show_library_view(name, suffix, lbr_path=None): return out +def _last_library() -> str:+ """The .lbr we most recently opened, across respawns."""+ if _LAST_LIBRARY[0]:+ return _LAST_LIBRARY[0]+ try:+ return _get_bridge_pref("lastLibraryPath", "") or ""+ except Exception:+ return ""+++_LAST_LIBRARY = [""] # the .lbr most recently opened by this bridge++ def _show_prepare_library(args, symbol_xml=None, package_xml=None, name=""): """Open the target library: explicit path, generated wrapper, or already-open. @@ -6856,6 +6906,15 @@ def _show_prepare_library(args, symbol_xml=None, package_xml=None, name=""): if not opened.get("success"): return {"success": False, "error": "open_lbr failed: " + str(opened.get("error")), "data": {"libraryPath": library_path, "wrapped": bool(wrapped)}}, None+ # REMEMBER IT. The name-only call path ("the library is already open") had no .lbr to+ # check against, so the Create-new guard silently did nothing and the blind EDIT went+ # out anyway - which is why John saw the dialog AGAIN after the first fix. Whatever we+ # last opened IS the library those calls mean.+ _LAST_LIBRARY[0] = library_path+ try:+ _set_bridge_pref("lastLibraryPath", library_path) # survives a bridge respawn+ except Exception:+ pass return None, wrapped @@ -6874,7 +6933,7 @@ def _orchestrate_show_symbol(args: dict) -> dict: err, wrapped = _show_prepare_library(args, symbol_xml=symbol_xml, name=name) if err: return err- out = _show_library_view(name, "sym", wrapped or (args.get("libraryPath") or "").replace("\\", "/"))+ out = _show_library_view(name, "sym", wrapped or (args.get("libraryPath") or "").replace("\\", "/") or _last_library()) if wrapped and out.get("success"): out["wrappedLibrary"] = wrapped out["_hint"] = ("Bare symbol was wrapped in a generated library at %s (a deviceset with one "@@ -6895,7 +6954,7 @@ def _orchestrate_show_footprint(args: dict) -> dict: err, wrapped = _show_prepare_library(args, package_xml=package_xml, name=name) if err: return err- out = _show_library_view(name, "pac", wrapped or (args.get("libraryPath") or "").replace("\\", "/"))+ out = _show_library_view(name, "pac", wrapped or (args.get("libraryPath") or "").replace("\\", "/") or _last_library()) if wrapped and out.get("success"): out["wrappedLibrary"] = wrapped out["_hint"] = "Bare footprint was wrapped in a generated library at " + wrapped + "."