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 9 file(s)
9 files changed
+70−29
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.118+1.9.119
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.118",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.133/adom-bridge-fusion-v1.9.118.zip",- "sha256": "d38b614af6e09960c7448bd55d5190cb4cdeb983929e4a15d13be647d7744f1a",- "size": 454897,+ "version": "1.9.119",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.134/adom-bridge-fusion-v1.9.119.zip",+ "sha256": "79cee73bcd49277214eed1bfcf08b746930914da92269ff620e30afe4b4a00ab",+ "size": 455574, "verbPrefixes": [ "fusion_" ],
aps.py+17−5@@ -1455,16 +1455,28 @@ def thumbnail_state(project_id: str, folder_id: str, wip_urn: str = "", file_nam # join tip versions to items; match by version urn or display name hit_item = None hit_version = None+ def _vf_token(u):+ # namespaces differ between what the mint writes (urn:adsk.wipprod:fs.file:vf.X)+ # and what the listing returns - the vf.<id> token is the stable join key+ u = str(u or "").split("?", 1)[0]+ return u.rsplit("vf.", 1)[-1] if "vf." in u else u+ want_tok = _vf_token(want_urn)+ fn = str(file_name or "").lower() for v in included:- vid = str(v.get("id") or "").split("?", 1)[0]- vname = str((v.get("attributes") or {}).get("displayName") or "")- if (want_urn and vid == want_urn) or (file_name and vname.lower().startswith(file_name.lower())):+ vid_tok = _vf_token(v.get("id"))+ vname = str((v.get("attributes") or {}).get("displayName") or "").lower()+ # names match EITHER direction: the f3d is uploaded as ADOM-<part>-3D, so the+ # part name is a substring of the file, not a prefix (caught live: not_found on a+ # file that was sitting right there)+ name_hit = fn and (vname.startswith(fn) or fn in vname)+ if (want_tok and vid_tok == want_tok) or name_hit: hit_version = v break if hit_version is None and file_name:+ fn2 = str(file_name).lower() for it in items:- nm = str((it.get("attributes") or {}).get("displayName") or "")- if nm.lower().startswith(file_name.lower()):+ nm = str((it.get("attributes") or {}).get("displayName") or "").lower()+ if nm.startswith(fn2) or fn2 in nm: hit_item = it break src = hit_version or hit_item
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.118",+ "version": "1.9.119", "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.133"+version = "1.9.134" 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.133"+DASH_VERSION="1.9.134" 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.133",+ "version": "1.9.134", "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.133",+ "version": "1.9.134", "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+34−8@@ -9266,30 +9266,56 @@ def _handle_prove_library(fusion_info: dict, args: dict) -> dict: # 3: the 3D editor. Only reachable when a real package3d is bound - with none, Fusion # shows its Placeholder, which is exactly the false pass this verb exists to prevent. if artifacts["package3d"]["present"]:- cp = _create_3d_package(lbr, timeout=90)- if cp.get("success"):+ # THE BOUND MODEL, NOT THE GENERATOR (caught by the bodies gate, run be27c38d034e:+ # Create3DPackage opens the empty Package3D GENERATOR for an already-bound library -+ # bodies=0, a frame of nothing). The evidence is the f3d the package3d urn points+ # at: open THAT document, which loads the real geometry the Library Manager shows.+ _p3d_urn = ""+ try:+ import xml.etree.ElementTree as _ET3+ for _p3 in _ET3.parse(lbr).getroot().iter("package3d"):+ _p3d_urn = (_p3.get("urn") or "").strip() or _p3d_urn+ except Exception:+ pass+ opened3d = None+ if _p3d_urn:+ opened3d = dispatch_command("open_by_urn", {"urn": _p3d_urn})+ if opened3d and opened3d.get("success"): 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.")+ e3["error"] = ("The bound f3d opened but contains NO bodies - an empty "+ "viewport is not evidence of a 3D chip.") elif chk["bodies"] < 0: e3["bodiesUnverified"] = True evidence.append(e3)+ # HAND THE APP BACK (deterministic-close rule): the f3d doc is render scratch+ # here; close it verified so stage 4 is not stranded in the wrong workspace.+ try:+ _doc_name = _p3d_urn # close the ACTIVE doc by script - name is urn-derived+ _proxy_to_addin("run_modeling_script",+ {"script": "app.activeDocument.close(False)\nresult={}"},+ timeout=20)+ except Exception:+ pass else: evidence.append({"step": "package3d", "view": "3d-editor", "ok": False,- "error": "Create3DPackage failed: " + str(cp.get("error"))[:120]})+ "error": "Could not open the bound f3d (%s): %s" % (+ _p3d_urn[-30:] if _p3d_urn else "no urn",+ str((opened3d or {}).get("error"))[:100])}) else: evidence.append({"step": "package3d", "view": "3d-editor", "ok": False, "error": "No package3d bound - the 3D editor would only show Fusion's " "grey Placeholder, which is not evidence."}) # 4: the ganged Library Manager view - symbol, footprint, 3D and pin connections at once.+ # Stage 3 left the app in a DIFFERENT document/workspace, so re-enter the library first,+ # verified - EDIT fails with "Not in Electronics editor" otherwise (run be27c38d034e).+ _reopen = _orchestrate_open_lbr({"filePath": lbr})+ if _reopen.get("success"):+ _ensure_library_active(lbr, timeout_s=45) r = _show_library_view(want, "dev", lbr) if r.get("success"): evidence.append(_prove_capture("ganged", "library-manager"))