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
+65−19
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.116+1.9.117
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.116",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.131/adom-bridge-fusion-v1.9.116.zip",- "sha256": "b15490d4ee74cf370d36aeb175ebe89774557d295cd0aca9372019249f9ddeab",- "size": 452994,+ "version": "1.9.117",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.132/adom-bridge-fusion-v1.9.117.zip",+ "sha256": "715c53998a0cb71336e7ab812044c5759e77f617b0267270de59120ded0be6af",+ "size": 453796, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.116",+ "version": "1.9.117", "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.131"+version = "1.9.132" 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.131"+DASH_VERSION="1.9.132" 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.131",+ "version": "1.9.132", "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.131",+ "version": "1.9.132", "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+46−3@@ -2942,6 +2942,19 @@ def _orchestrate_open_lbr(args: dict) -> dict: import time file_path = args.get("filePath", "")+ # PRE-CLOSE a stale dirty copy of this same library (deterministic-close rule): opening+ # over an unsaved same-name document is how duplicate docs piled up (15 at peak) and how+ # later closes rained Save-As prompts. If a dirty copy is open, resolve it NOW - it is+ # bridge scratch; the .lbr on disk is the source of truth.+ try:+ _stem0 = file_path.replace("\\", "/").rsplit("/", 1)[-1].rsplit(".", 1)[0]+ _di0 = _proxy_to_addin("document_info", {}, timeout=6)+ for _d0 in ((_di0.get("data") or {}).get("openDocuments") or []):+ _n0 = str(_d0.get("name") or "").rstrip("*").strip()+ if _n0.lower() == _stem0.lower() and not _d0.get("isSaved") and _is_bridge_doc_text(_n0):+ _close_bridge_doc_verified(_n0)+ except Exception:+ pass symbol_name = args.get("symbolName", "") verify = args.get("verify", False) @@ -7244,7 +7257,7 @@ def _orchestrate_show_3d_package(args: dict) -> dict: except Exception: pass out["_hint"] = ("You are in the Package3DEnvironment. To leave WITHOUT saving, run "- "fusion_execute_text_command with Package3DStop and dismiss the Save dialog "+ "fusion_execute_text_command with Package3DStop; the bridge answers the FINISH Save dialog itself (never you) " "(fusion_dismiss_blocking_dialogs). To BIND a real 3D model here, re-call with stepPath.") return out @@ -9548,6 +9561,15 @@ def _handle_prove_result(fusion_info: dict, args: dict) -> dict: "error": "No fusion_prove_library run has completed on this box yet.", "_hint": "Run fusion_prove_library {libraryPath}; if the relay times out, the " "bridge keeps working - poll this verb until the result appears."}+ want = str(args.get("runId") or "")+ if want and str(res.get("runId") or "") != want:+ return {"success": False, "errorCode": "run_not_found",+ "error": "The stored result is from a DIFFERENT run (%s, wanted %s)." % (+ res.get("runId"), want),+ "_hint": "Your run has not persisted a result yet - keep polling with the "+ "runId that fusion_create_library returned. Without runId filtering "+ "a stale result from a prior run can masquerade as yours (caught "+ "live, 2026-08-21)."} return {"success": True, "result": res, "_hint": "The last completed prove run (survives relay timeouts and respawns)."} @@ -9588,8 +9610,12 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: "kicadFootprintPath, stepPath, pinMap?}. stepPath is required for " "a PROVEN library - without it there is no real 3D body."} + import uuid as _uuid+ run_id = _uuid.uuid4().hex[:12]+ def _chain():- state = {"stage": "starting", "success": None, "libraryPath": lbr_p or None}+ state = {"stage": "starting", "success": None, "libraryPath": lbr_p or None,+ "runId": run_id} def _save(): try: _PROVE_LAST[0] = dict(state)@@ -9629,7 +9655,7 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: state.update(stage="failed", success=False, error=str(e)[:200]); _save() _th.Thread(target=_chain, daemon=True).start()- return {"success": True, "started": True,+ return {"success": True, "started": True, "runId": run_id, "statusVerb": "fusion_prove_result", "shape": "A (.lbr direct)" if (lbr_p and not (sym_p or mod_p)) else "B (KiCad sources)", "_hint": ("The chain runs in the background (it outlives the relay window by "@@ -9737,6 +9763,23 @@ def dispatch_command(command: str, args: dict, caller_identity: dict = None) -> res["shot"] = {"title": command, "image": None, "error": str(_e)[:160]} except Exception: pass+ try:+ # FULL-PASS GUARANTEE (John, 2026-08-21: a Save-As sat on screen again and blocked+ # every web-control call behind it). Instead of auditing each of ~20 paths and+ # missing the 21st, ONE structural rule at the dispatch chokepoint - the same move+ # that fixed Create3DPackage: after ANY window-raising verb, if a Save/Save-As+ # prompt is standing and attributable to a bridge document, it is answered HERE,+ # before the verb returns. A modal we caused must never outlive the call.+ _cmd_sw = command[7:] if command.startswith("fusion_") else command+ if _cmd_sw in _WINDOW_RAISING:+ try:+ _sw = _dismiss_save_prompt_if_bridge_doc()+ if _sw.get("handled") and isinstance(res, dict):+ res["savePromptCleared"] = _sw.get("why")+ except Exception:+ pass+ except Exception:+ pass try: cmd = command[7:] if command.startswith("fusion_") else command # windowEtiquette is an ENUM, not a boolean in disguise (SDK canonicalization,