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 101 file(s)
9 files changed
+62−23
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.264+1.9.265
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.264",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.264/adom-bridge-fusion-v1.9.264.zip",- "sha256": "bcd6148e63c31ec87e58fc1da5fe2d525efda3113347bfaa27aa282686c9f6f9",- "size": 556647,+ "version": "1.9.265",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.265/adom-bridge-fusion-v1.9.265.zip",+ "sha256": "fe7c15361e4bc547c77ed7af0e7a672064cb76e3dfd3bc7623b1ebe4bb1aa766",+ "size": 557311, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.264",+ "version": "1.9.265", "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.264"+version = "1.9.265" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.264"+version = "1.9.265" 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.264"+DASH_VERSION="1.9.265" 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.264",+ "version": "1.9.265", "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.264",+ "version": "1.9.265", "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+41−5@@ -8421,6 +8421,20 @@ def _show_library_view(name, suffix, lbr_path=None): # that plainly existed, or refused with "Not in Electronics editor". Make the # target library active, verified, before every EDIT. act = _ensure_library_active(lbr_path, timeout_s=30)+ if not act.get("ok"):+ # One honest retry (run 93ccf05278ac, 2026-08-29): between two frames of the same+ # part Fusion reported NO active document for a while (a cloud job settling), the+ # footprint frame was skipped and a good library scored not_proven. If the+ # library is not open at all, reopen it from disk; then give it another 60s.+ import time as _tra+ _tra.sleep(8)+ try:+ _lstem = lbr_path.replace("\\", "/").rsplit("/", 1)[-1].rsplit(".", 1)[0].lower()+ if _lstem not in {n.rstrip("*").strip().lower() for n in _open_doc_names()}:+ _orchestrate_open_lbr({"filePath": lbr_path})+ except Exception:+ pass+ act = _ensure_library_active(lbr_path, timeout_s=60) if not act.get("ok"): return {"success": False, "errorCode": "library_not_active", "error": "Could not make %s the ACTIVE document (active: %r), so EDIT "@@ -12109,14 +12123,36 @@ def _publish_library_to_cloud(lbr_path: str, name: str, folder: str = "Adom Libr stem = lbr_path.replace("\\", "/").rsplit("/", 1)[-1].rsplit(".", 1)[0] name = (name or stem).strip() out["name"] = name+ # NAME THE PROJECT (run 93ccf05278ac, 2026-08-29): the add-in's default is+ # app.data.activeProject, which raises InternalValidationError on this install. Resolve+ # the same project the mint uploads to (the Adom default, else 'Main', else the first+ # healthy one) by NAME, and hand it to every cloud call below.+ project_name = ""+ try:+ pr = _proxy_to_addin("list_cloud_projects", {}, timeout=60)+ _projects = []+ for hub in ((pr.get("data") or {}).get("hubs") or []):+ for pj in (hub.get("projects") or []):+ if isinstance(pj, dict) and pj.get("name"):+ _projects.append(pj)+ for pj in _projects:+ if pj.get("id") == _DEFAULT_UPLOAD_PROJECT:+ project_name = pj["name"]; break+ if not project_name:+ project_name = next((pj["name"] for pj in _projects if pj.get("name") == "Main"),+ _projects[0]["name"] if _projects else "")+ except Exception as e:+ out["projectNote"] = str(e)[:120]+ out["project"] = project_name or None+ _pn = {"projectName": project_name} if project_name else {} try:- r = _proxy_to_addin("create_cloud_folder", {"folderName": folder}, timeout=60)+ r = _proxy_to_addin("create_cloud_folder", dict(_pn, folderName=folder), timeout=60) out["folderCreated"] = bool(r.get("success")) and not bool((r.get("data") or {}).get("existed")) except Exception as e: out["folderNote"] = str(e)[:120] _older = [] try:- lst = _proxy_to_addin("list_cloud_files", {"folderPath": folder}, timeout=60)+ lst = _proxy_to_addin("list_cloud_files", dict(_pn, folderPath=folder), timeout=60) for f in ((lst.get("data") or {}).get("files") or []): if str(f.get("name") or "").lower() == name.lower(): _older.append({"id": f.get("id"), "versionNumber": f.get("versionNumber")})@@ -12156,8 +12192,8 @@ def _publish_library_to_cloud(lbr_path: str, name: str, folder: str = "Adom Libr out["error"] = ("library document %r could not be made active (last seen: %s), so it was not " "saved" % (stem, json.dumps(_seen)[:160])) return out- r = _proxy_to_addin("save_to_cloud", {"name": name, "folderPath": folder,- "description": "Imported by Adom (bound 3D packages)"},+ r = _proxy_to_addin("save_to_cloud", dict(_pn, name=name, folderPath=folder,+ description="Imported by Adom (bound 3D packages)"), timeout=180) d = r.get("data") or {} if not r.get("success"):@@ -12178,7 +12214,7 @@ def _publish_library_to_cloud(lbr_path: str, name: str, folder: str = "Adom Libr if not fid or fid == d.get("fileId"): continue try:- rr = _proxy_to_addin("delete_cloud_file", {"fileId": fid, "folderPath": folder}, timeout=60)+ rr = _proxy_to_addin("delete_cloud_file", dict(_pn, fileId=fid, folderPath=folder), timeout=60) if rr.get("success"): replaced.append(fid) except Exception: