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
+73−17
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.110+1.9.111
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.110",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.125/adom-bridge-fusion-v1.9.110.zip",- "sha256": "8ee9ee59bb7d37393e339ef596164f1cd8b8b6571f933e9cad1251684bc4f553",- "size": 444977,+ "version": "1.9.111",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.126/adom-bridge-fusion-v1.9.111.zip",+ "sha256": "055ff64ef3f55074163772f5ec1e82ec2f6a83a3912a51603ff0643df07f8eaf",+ "size": 445756, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.110",+ "version": "1.9.111", "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.125"+version = "1.9.126" 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.125"+DASH_VERSION="1.9.126" 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.125",+ "version": "1.9.126", "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.125",+ "version": "1.9.126", "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+54−1@@ -9022,6 +9022,46 @@ def _close_bridge_doc_verified(name: str, timeout_s: int = 30) -> dict: return {"closed": False, "why": "document still open after %ds" % timeout_s} ++def _count_3d_bodies() -> dict:+ """How many REAL bodies are in the active 3D design - a STATE check, not a screenshot.++ John, 2026-08-21: "giving back a screenshot of the 3d viewer ... is not a success if you+ don't have a 3d file in the viewer." The .lbr declaring a <package3d> is necessary but+ not sufficient: the bound urn can fail to download and the viewer renders an EMPTY+ viewport that still photographs as a plausible frame. Fusion itself knows the truth -+ ask it. Returns {bodies, bboxMm3} or {-1} when unanswerable.+ """+ script = (+ "import adsk.core, adsk.fusion\n"+ "d = app.activeProduct\n"+ "n = 0; vol = 0.0\n"+ "try:\n"+ " root = d.rootComponent\n"+ " for occ in [None] + list(root.allOccurrences):\n"+ " comp = root if occ is None else occ.component\n"+ " for b in comp.bRepBodies:\n"+ " n += 1\n"+ " bb = b.boundingBox\n"+ " dx = (bb.maxPoint.x - bb.minPoint.x) * 10\n"+ " dy = (bb.maxPoint.y - bb.minPoint.y) * 10\n"+ " dz = (bb.maxPoint.z - bb.minPoint.z) * 10\n"+ " vol += abs(dx * dy * dz)\n"+ "except Exception:\n"+ " n = -1\n"+ "result = {'bodies': n, 'bboxMm3': round(vol, 2)}\n"+ )+ try:+ r = _proxy_to_addin("run_modeling_script", {"script": script}, timeout=30)+ data = (r.get("data") or {}).get("result") or (r.get("data") or {})+ if r.get("success") and isinstance(data, dict) and "bodies" in data:+ return {"bodies": int(data.get("bodies", -1)),+ "bboxMm3": float(data.get("bboxMm3") or 0)}+ except Exception:+ pass+ return {"bodies": -1, "bboxMm3": 0}++ def _handle_prove_library(fusion_info: dict, args: dict) -> dict: """PROVE a .lbr with the FOUR evidence images John specified (2026-08-21): @@ -9074,7 +9114,20 @@ def _handle_prove_library(fusion_info: dict, args: dict) -> dict: if artifacts["package3d"]["present"]: cp = _create_3d_package(lbr, timeout=90) if cp.get("success"):- evidence.append(_prove_capture("package3d", "3d-editor"))+ e3 = _prove_capture("package3d", "3d-editor")+ # A frame of an EMPTY 3D viewport is not evidence (John, 2026-08-21). Require a+ # real body IN the design - Fusion's own count, deterministic, no image analysis.+ chk = _count_3d_bodies()+ e3["bodies"] = chk["bodies"]+ e3["bboxMm3"] = chk["bboxMm3"]+ if chk["bodies"] == 0:+ e3["ok"] = False+ e3["error"] = ("The 3D editor is open but contains NO bodies - the bound "+ "package3d did not load a model, so this frame shows an empty "+ "viewport and is not evidence of a 3D chip.")+ elif chk["bodies"] < 0:+ e3["bodiesUnverified"] = True+ evidence.append(e3) else: evidence.append({"step": "package3d", "view": "3d-editor", "ok": False, "error": "Create3DPackage failed: " + str(cp.get("error"))[:120]})