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 102 file(s)
9 files changed
+65−24
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.311+1.9.312
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.311",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.311/adom-bridge-fusion-v1.9.311.zip",- "sha256": "2ee03b92df6bb2a3435b212d36d050455df1fcd5f830463aef1ba6e4fb984496",- "size": 592623,+ "version": "1.9.312",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.312/adom-bridge-fusion-v1.9.312.zip",+ "sha256": "0f2d7c82e56cb13747053d3dab492cf6c1d8ba7c11f57dce2b552359c35f1e2d",+ "size": 593101, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.311",+ "version": "1.9.312", "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.311"+version = "1.9.312" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.311"+version = "1.9.312" 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.311"+DASH_VERSION="1.9.312" 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.311",+ "version": "1.9.312", "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.311",+ "version": "1.9.312", "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+44−6@@ -15633,6 +15633,49 @@ _RIBBON_DIP = { # measured on ConfRoomROG, Fusion 2026; DIP so it port } +def _find_key(obj, key, depth=0):+ """First value for `key` anywhere in a nested ab response (the shape varies by verb)."""+ if depth > 6:+ return None+ if isinstance(obj, dict):+ if key in obj:+ return obj[key]+ for v in obj.values():+ r = _find_key(v, key, depth + 1)+ if r is not None:+ return r+ elif isinstance(obj, list):+ for v in obj[:20]:+ r = _find_key(v, key, depth + 1)+ if r is not None:+ return r+ elif isinstance(obj, str) and obj.strip().startswith("{") and key in obj:+ try:+ return _find_key(json.loads(obj), key, depth + 1)+ except Exception:+ return None+ return None+++def _dpi_scale_of(win_row: dict) -> float:+ """Physical px per DIP for the Fusion window. Read from a screenshot's coordMap (its shape+ moves around, hence the recursive lookup); falls back to the screen/……ratio, then 1.0.+ A wrong scale is why the first managed-library run clicked at (283,51) instead of (592,129)."""+ try:+ sc = _ad_call("desktop_screenshot_screen", {}, timeout=40) or {}+ v = _find_key(sc, "dpiScale")+ if v:+ return float(v)+ img = _find_key(sc, "image") or {}+ rect = _find_key(sc, "screenRect") or {}+ if img.get("w") and rect.get("w"):+ # not the DPI itself, but the capture's own downscale - better than assuming 1.0+ return max(1.0, round(float(rect["w"]) / float(img["w"]), 3))+ except Exception:+ pass+ return 1.0++ def _dip_to_screen(dip_xy, info): """DIP (device-independent px) -> physical screen px for the Fusion window.""" scale = float(info.get("dpiScale") or 1.0) or 1.0@@ -15651,12 +15694,7 @@ def _fusion_main_window(): t = str(w.get("title") or "") if "Autodesk Fusion" in t and w.get("kind") == "normal": rect = w.get("rect") or {}- dpi = 1.0- try:- sc = _ad_call("desktop_screenshot_screen", {}, timeout=30) or {}- dpi = float(((sc.get("coordMap") or {}).get("dpiScale")) or 1.0)- except Exception:- pass+ dpi = _dpi_scale_of(w) return {"hwnd": w.get("hwnd"), "rect": rect, "dpiScale": dpi, "title": t} except Exception: pass