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
+101−16
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.108+1.9.109
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.108",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.123/adom-bridge-fusion-v1.9.108.zip",- "sha256": "0efe6f9e5c005b275fedd8d7cb7438918a65ad9c4f5c19c611218ab5a8174a54",- "size": 443094,+ "version": "1.9.109",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.124/adom-bridge-fusion-v1.9.109.zip",+ "sha256": "3da88d4f9a2a32ef53f6a0f8cde3f3cef041721e0da2f0a65098e5f5078fe13d",+ "size": 444132, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.108",+ "version": "1.9.109", "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.123"+version = "1.9.124" 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.123"+DASH_VERSION="1.9.124" 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.123",+ "version": "1.9.124", "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.123",+ "version": "1.9.124", "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+82@@ -9051,6 +9051,13 @@ def _handle_prove_library(fusion_info: dict, args: dict) -> dict: out = {"success": proven, "proven": proven, "libraryPath": lbr, "deviceset": want, "artifacts": artifacts, "missing": missing, "evidence": evidence, "imagesCaptured": len(captured), "imagesRequired": 4}+ try:+ _PROVE_LAST[0] = dict(out)+ import tempfile as _tf+ open(os.path.join(_tf.gettempdir(), "fusion-prove-last.json"), "w",+ encoding="utf-8").write(json.dumps(out))+ except Exception:+ pass if proven: out["_hint"] = ("PROVEN: all three artifacts exist and all FOUR evidence frames were " "captured app-sized - symbol editor, footprint editor, 3D editor, and "@@ -9089,6 +9096,46 @@ def _find_adom_lbr() -> str: return "" ++def _install_adom_lbr_windows() -> str:+ """SELF-INSTALL adom-lbr on this box (doctrine: never hand the user an install step).++ Probes the wiki for a windows release asset (requested in adom-lbr#6) and caches it+ under %LOCALAPPDATA%\\Programs\\adom-lbr. Returns the exe path, or "" while no+ windows asset exists yet - at which point the caller's error says conversion is+ container-side for now. The moment Ray ships the asset, this verb starts working on+ fresh boxes with no code change.+ """+ import urllib.request as _u+ la = os.environ.get("LOCALAPPDATA", "")+ if not la:+ return ""+ dest_dir = os.path.join(la, "Programs", "adom-lbr")+ dest = os.path.join(dest_dir, "adom-lbr.exe")+ if os.path.exists(dest):+ return dest+ try:+ req = _u.Request("https://wiki.adom.inc/api/v1/pages/adom-lbr/releases")+ rels = json.loads(_u.urlopen(req, timeout=15).read()).get("releases") or []+ ver = rels[0].get("version") if rels else None+ if not ver:+ return ""+ url = "https://wiki.adom.inc/download/adom/adom-lbr/%s/adom-lbr.exe" % ver+ os.makedirs(dest_dir, exist_ok=True)+ tmp = dest + ".tmp"+ with _u.urlopen(url, timeout=60) as r, open(tmp, "wb") as f:+ f.write(r.read())+ os.replace(tmp, dest)+ print("[Fusion Bridge] self-installed adom-lbr %s -> %s" % (ver, dest))+ return dest+ except Exception:+ try:+ os.remove(dest + ".tmp")+ except Exception:+ pass+ return ""++ def _handle_import_kicad(fusion_info: dict, args: dict) -> dict: """Ingest KiCad symbol/footprint files and produce a valid .lbr (issue #43) - by DELEGATING to adom-lbr, the ecosystem's canonical converter.@@ -9110,6 +9157,8 @@ def _handle_import_kicad(fusion_info: dict, args: dict) -> dict: return {"success": False, "errorCode": "kicad_source_required", "error": "Pass kicadSymbolPath and/or kicadFootprintPath."} tool = _find_adom_lbr()+ if not tool:+ tool = _install_adom_lbr_windows() if not tool: return {"success": False, "errorCode": "adom_lbr_unavailable", "error": "adom-lbr (the canonical KiCad->EAGLE converter) is not installed "@@ -9158,6 +9207,39 @@ def _handle_import_kicad(fusion_info: dict, args: dict) -> dict: COMMAND_HANDLERS["import_kicad"] = _handle_import_kicad ++_PROVE_LAST = [None]+++def _handle_prove_result(fusion_info: dict, args: dict) -> dict:+ """Fetch the LAST completed fusion_prove_library run.++ prove_library drives four editor views with settle loops and routinely outlives ab's+ relay window - and since it returned its evidence IN the response, a timeout LOST the+ result while the work had succeeded (caught live on the CR0603 chain, 2026-08-21). The+ run now persists its outcome, and this verb hands it back: fire prove_library, and on a+ relay timeout poll THIS until it reports the run you started.+ """+ res = _PROVE_LAST[0]+ if res is None:+ try:+ import tempfile as _tf+ res = json.loads(open(os.path.join(_tf.gettempdir(), "fusion-prove-last.json"),+ encoding="utf-8").read())+ except Exception:+ res = None+ if res is None:+ return {"success": False, "errorCode": "no_prove_run",+ "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."}+ return {"success": True, "result": res,+ "_hint": "The last completed prove run (survives relay timeouts and respawns)."}+++COMMAND_HANDLERS["prove_result"] = _handle_prove_result++ def dispatch_command(command: str, args: dict, caller_identity: dict = None) -> dict: """Thin wrapper: run the verb, then guarantee the windowEtiquette annotation lands on EVERY backgrounded window-raising result - the inner dispatcher's closure only covered