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 13 file(s)
9 files changed
+64−18
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.181+1.9.182
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.181",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.181/adom-bridge-fusion-v1.9.181.zip",- "sha256": "c90190d581c5261305290d2851677cc43ceb5eeb8028c6746d4ddd7bdc0ec8df",- "size": 485199,+ "version": "1.9.182",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.182/adom-bridge-fusion-v1.9.182.zip",+ "sha256": "848eefe06954117fcb274cfd860b0790abfc76c8401035b563424aac626c7326",+ "size": 485855, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.181",+ "version": "1.9.182", "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.181"+version = "1.9.182" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.181"+version = "1.9.182" 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.181"+DASH_VERSION="1.9.182" 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.181",+ "version": "1.9.182", "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.181",+ "version": "1.9.182", "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+43@@ -9764,6 +9764,40 @@ def _frame_data_url(path: str, max_width: int = 500) -> str: +def _open_doc_names() -> set:+ """Names of every document open in Fusion right now (best-effort, empty on failure)."""+ try:+ st = _proxy_to_addin("document_info", {}, timeout=8)+ return {str(d.get("name") or "") for d in ((st.get("data") or {}).get("openDocuments") or [])+ if d.get("name")}+ except Exception:+ return set()+++def _close_docs_opened_since(before: set) -> list:+ """Close every document that was NOT open when `before` was snapshotted. Used by the+ create_library chain on BOTH success and failure. Everything a chain opens is bridge+ scratch by construction: Create3DPackage's generator design (an 'Untitled(N)' - one in+ bind, another in prove's 3D frame), the mint's saved ADOM-*-3D (already in the cloud),+ the .lbr editor (the file on disk is the truth). John spotted five Untitleds piling up+ by part 3 of a 20-part matrix (2026-08-23): ~2 leaked per chain, and Fusion slows with+ every open doc. Never touches a doc that pre-dates the chain (the user's own work)."""+ closed = []+ try:+ for n in sorted(_open_doc_names() - set(before or ())):+ _note_bridge_doc(n) # so the save-prompt sentinel owns any prompt it raises+ r = _close_bridge_doc_verified(n)+ if r.get("closed"):+ closed.append(n)+ if closed:+ print("[Fusion Bridge] chain hygiene: closed %d scratch doc(s) the chain opened: %s"+ % (len(closed), ", ".join(closed)))+ _bridge_action_ledger("chain_scratch_docs_closed", {"docs": closed})+ except Exception:+ pass+ return closed++ def _close_bridge_doc_verified(name: str, timeout_s: int = 30) -> dict: """Close a BRIDGE-owned scratch document deterministically - no dialog survives this call. @@ -10568,6 +10602,7 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: # ceiling) a non-pumping main thread is WORK, not a hang (#49 mid-mint kills). _LONG_OP["name"] = "create_library:" + run_id _LONG_OP["since"] = __import__("time").time()+ _docs_before = _open_doc_names() # chain hygiene: everything opened after this is ours def _save(): # PER-RUN persistence (issue #47 follow-up, 2026-08-21): a single latest-run # slot meant two concurrent chains OVERWROTE each other - the matrix's poll@@ -10709,6 +10744,14 @@ def _handle_create_library(fusion_info: dict, args: dict) -> dict: _save() except Exception: pass+ # CHAIN HYGIENE: close EVERY doc this chain opened (the Create3DPackage+ # 'Untitled' generators, the saved 3D, anything a frame left behind), not just+ # the library. Pre-existing docs are untouched.+ try:+ state["scratchDocsClosed"] = _close_docs_opened_since(_docs_before)+ _save()+ except Exception:+ pass _th.Thread(target=_chain, daemon=True).start() return {"success": True, "started": True, "runId": run_id,