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)
11 files changed
+72−27
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.292+1.9.293
addin/AdomBridge/AdomBridge.manifest+1−1@@ -6,7 +6,7 @@ "description": { "": "Adom Desktop Conduit bridge add-in. Exposes a localhost HTTP API for external automation of Fusion 360." },- "version": "1.0.12",+ "version": "1.0.13", "runOnStartup": true, "supportedOS": "windows" }
addin/AdomBridge/commands/activity_palette.py+25−6@@ -168,6 +168,22 @@ def _esc(s): return (str(s or "").replace("&", "&").replace("<", "<").replace(">", ">")) +def _delete_all_palettes(ui) -> int:+ """Remove every palette that is ours (by id or by the 'Adom' name). Never raises."""+ n = 0+ try:+ for i in range(ui.palettes.count - 1, -1, -1):+ try:+ pal = ui.palettes.item(i)+ if pal.id == PALETTE_ID or str(pal.name or "").strip().lower() == "adom":+ pal.deleteMe(); n += 1+ except Exception:+ pass+ except Exception:+ pass+ return n++ def handle_activity_banner(app: adsk.core.Application, args: dict) -> dict: """Show / update / hide the banner. args: {action: show|update|hide, title, detail, percent, etaSec, tone: working|done|failed}. Never raises."""@@ -177,12 +193,12 @@ def handle_activity_banner(app: adsk.core.Application, args: dict) -> dict: ui = app.userInterface if action == "hide": _user_closed[0] = False- if _palette:- try:- _palette.isVisible = False- except Exception:- pass- return {"success": True, "visible": False}+ # DELETE, do not just hide (John, 2026-08-30, two ADOM palettes stacked in one+ # Fusion): a hidden palette was not found by itemById on the next run, so a+ # second one was created under it. Gone means gone; the next run makes a fresh one.+ _removed = _delete_all_palettes(ui)+ _palette = None+ return {"success": True, "visible": False, "removed": _removed} if action == "show": _user_closed[0] = False # a new run starts: the palette is wanted again @@ -194,6 +210,9 @@ def handle_activity_banner(app: adsk.core.Application, args: dict) -> dict: # "InternalValidationError: pArea". Fusion is the source of truth for whether the # palette exists; the module variable is only a hint. _palette = ui.palettes.itemById(PALETTE_ID)+ if _palette is None:+ # never stack: any leftover palette with our name goes before a new one is made+ _delete_all_palettes(ui) created = False if _palette is None: # The first paint carries the real state (John, 2026-08-30: a palette reading
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.292",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.292/adom-bridge-fusion-v1.9.292.zip",- "sha256": "d74cde7c50fc1bef5d0a2ebc138bc6514399d4f84e6826ed72166c5cfad5907d",- "size": 582415,+ "version": "1.9.293",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.293/adom-bridge-fusion-v1.9.293.zip",+ "sha256": "2bb4b2c9eef5116f0cd242053224db451e2d6f21bfb3e3c57f65ed6b8f436614",+ "size": 583014, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.292",+ "version": "1.9.293", "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.292"+version = "1.9.293" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.292"+version = "1.9.293" 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.292"+DASH_VERSION="1.9.293" 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.292",+ "version": "1.9.293", "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.292",+ "version": "1.9.293", "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+25−2@@ -4047,6 +4047,28 @@ def _pad1_xy_mm(lbr_path: str): return None +def _step_story_from_file(model_path: str) -> str:+ """What a STEP carries beyond the chip, read from the FILE before import (John,+ 2026-08-30: the palette must say solder balls / heatsink vias while that STEP is being+ bound, not after). STEP is text; the Adom solid groups appear as PRODUCT names."""+ try:+ groups = []+ with open(model_path.replace("/", os.sep), "r", encoding="latin-1", errors="ignore") as fh:+ head = fh.read(4 * 1024 * 1024)+ for g in ("Adom.HeatsinkVias", "Adom.SolderBalls", "Adom.LaserEtch", "Adom.Board", "Adom.Pads"):+ if g in head:+ groups.append(g)+ words = {"Adom.HeatsinkVias": "the heatsink via barrels under the exposed pad",+ "Adom.SolderBalls": "solder-ball hemispheres on every pad",+ "Adom.LaserEtch": "the laser-etched part number",+ "Adom.Board": "board stock", "Adom.Pads": "rendered pads"}+ if not groups:+ return "chip body only (the baseline model)"+ return "unlike the chip-only model this STEP carries " + " and ".join(words[g] for g in groups) + ", kept visible"+ except Exception:+ return ""++ def _step_layer_story(bodies) -> str: """What makes this STEP different from a chip-only model, for the palette (John, 2026-08-30: "tell them in the palette the nuances of what makes that step unique")."""@@ -4761,9 +4783,10 @@ def _build_library_3d_core(args: dict) -> dict: # build up your bindings of 3d packages you don't make it obvious what the parent # task name is"). try:+ _story = _step_story_from_file(entry.get("modelPath") or "") _banner("update", title="%s: binding 3D, part %d of %d" % (_lib_label(combined), i, total),- detail="%s. Importing its STEP and saving its 3D package"- % _named(entry.get("package") or "part", _descs_sync),+ detail="%s. %s. Importing its STEP and saving its 3D package"+ % (_named(entry.get("package") or "part", _descs_sync), _story), percent=100.0 * i / max(1, total) * 0.4, eta_sec=None) except Exception: pass