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 73 file(s)
11 files changed
+73−28
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.233+1.9.234
addin/AdomBridge/commands/activity_palette.py+31−11@@ -61,6 +61,21 @@ def _html(title, detail, percent, eta_sec, tone): } +def _write_html(html):+ """Write the banner HTML to a stable temp file; return its path for the palette."""+ import os, tempfile+ d = os.path.join(tempfile.gettempdir(), "adom-fusion-bridge")+ os.makedirs(d, exist_ok=True)+ path = os.path.join(d, "activity_banner.html")+ with open(path, "w", encoding="utf-8") as f:+ f.write(html)+ # A proper file:/// URL. Verified on hardware 2026-08-28: this renders; and the earlier+ # "invisible palette" was never Fusion's fault - palettes are OWNED POPUP windows that a+ # parent-window capture omits by design. Verify a palette via the capture's+ # screenshots[] popup array, never the main frame.+ return "file:///" + path.replace("\\", "/")++ def _esc(s): return (str(s or "").replace("&", "&").replace("<", "<").replace(">", ">")) @@ -82,33 +97,38 @@ def handle_activity_banner(app: adsk.core.Application, args: dict) -> dict: html = _html(args.get("title") or "Working", args.get("detail") or "", args.get("percent"), args.get("etaSec"), args.get("tone") or "working")+ # ALWAYS RE-RESOLVE BY ID. A cached handle outlived a deleted palette on hardware+ # (2026-08-28) and every later call operated on a ghost: add() reported success,+ # Fusion's registry said nothing existed, and the retry failed with+ # "InternalValidationError: pArea". Fusion is the source of truth for whether the+ # palette exists; the module variable is only a hint.+ path = _write_html(html)+ _palette = ui.palettes.itemById(PALETTE_ID) if _palette is None:- existing = ui.palettes.itemById(PALETTE_ID)- if existing:- _palette = existing- if _palette is None:- # Created ONCE. Data-URL HTML: no file on disk to go stale, no server to reach.- import base64 _palette = ui.palettes.add(- PALETTE_ID, "Adom", "data:text/html;base64," + base64.b64encode(html.encode("utf-8")).decode("ascii"),+ PALETTE_ID, "Adom", path, True, # isVisible False, # showCloseButton - the CHAIN hides it; a user closing it mid-run # would just lose the one warning meant for them True, # isResizable 360, 190)+ # Dock AFTER add, and verified on hardware: add() then dockingState=Right+ # reads back as 4 (docked right). Setting it any earlier is the pArea error. try: _palette.dockingState = adsk.core.PaletteDockingStates.PaletteDockStateRight except Exception: pass else: try:- _palette.htmlContent = html+ _palette.htmlFileURL = path except Exception:- import base64- _palette.htmlContent = "data:text/html;base64," + base64.b64encode(html.encode("utf-8")).decode("ascii")+ pass if not _palette.isVisible: _palette.isVisible = True- return {"success": True, "visible": True}+ # Report what FUSION says, not what we intended.+ q = ui.palettes.itemById(PALETTE_ID)+ return {"success": q is not None, "visible": bool(q.isVisible) if q else False,+ "dockingState": int(q.dockingState) if q else None} except Exception as e: # Advisory only: a banner that cannot be drawn must never fail the import. return {"success": False, "error": "activity banner unavailable: %s" % str(e)[:160],
adom-bridge-fusion-manifest.json+3−3@@ -1,9 +1,9 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.233",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.233/adom-bridge-fusion-v1.9.233.zip",- "sha256": "d974d0378a8e5cfa7b6c383153a3ae5ced7e7a2152cca358a953df7bf19a430d",+ "version": "1.9.234",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.234/adom-bridge-fusion-v1.9.234.zip",+ "sha256": "b38fc3f23b52e3ecdd4c80cdd8493d1f8a9f40d1618fe0ca88ee451f971eadef", "size": 527233, "verbPrefixes": [ "fusion_"
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.233",+ "version": "1.9.234", "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.233"+version = "1.9.234" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.233"+version = "1.9.234" 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.233"+DASH_VERSION="1.9.234" 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.233",+ "version": "1.9.234", "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.233",+ "version": "1.9.234", "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]"- }-}+ ]+}
skills/fusion-driving/SKILL.md+13@@ -239,3 +239,16 @@ add-in was installed while Fusion was already open. Its payload carries `userMes For a costed plan before any of it, `fusion_plan_library_import` reports state and timings without doing work.++## Verifying a palette: read the POPUP array, never the main frame++Hard-won on 2026-08-28. Fusion draws every palette (including its own Text Commands panel+and the Adom activity banner) as an OWNED POPUP WINDOW. A capture of the main Fusion hwnd+omits them by design, so a palette that Fusion reports as visible, docked and sized will be+absent from the main frame - and it is not lying. I spent an hour concluding "no HTML palette+renders in this build" from main-frame screenshots while the palette was painting perfectly+the whole time. The evidence was in `screenshots[]` (ownedPopupCount > 0) all along.++Rule: to verify anything a palette shows, call `desktop_screenshot_window {hwnd}` and read+`screenshots[]`. Also: the hwnd CHANGES on every Fusion restart - re-read it from+`fusion_window_info` or the capture returns "Window is not visible".
skills/fusion-web-control/SKILL.md+9@@ -178,3 +178,12 @@ per component rather than showing one undifferentiated pile: **The library is proven only if EVERY part is.** One good part does not vouch for nine unchecked ones — `prove.partsProven` vs `prove.partsTotal` is the real score, and `stage: "done"` still only means the chain finished.++## The in-Fusion banner (what the user sees at Fusion during an import)++While a chain runs, a docked "ADOM IS DRIVING FUSION" palette shows the same stageLabel,+percent and ETA the wiki sees, plus a "please do not click, type or close documents"+advisory. It resolves green ("Library imported, N of N parts proven") or red with the error,+lingers ~20s, and hides. Drive it directly with `fusion_activity_banner {action, title,+detail, percent, etaSec, tone}` if you orchestrate the steps yourself. It is an ADVISORY:+Fusion has no read-only mode, so a determined click still lands. Verified on hardware.