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 103 file(s)
10 files changed
+56−24
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.331+1.9.332
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.331",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.331/adom-bridge-fusion-v1.9.331.zip",- "sha256": "c2f61596e371c456c1238e47e8b0a589416551ef999cbf476b0c2ec6c2da1fec",- "size": 606218,+ "version": "1.9.332",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.332/adom-bridge-fusion-v1.9.332.zip",+ "sha256": "7267f28a9775d397021d1a853635c6ac55cba18b1b7e6ac503e67685ab9d470b",+ "size": 606792, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.331",+ "version": "1.9.332", "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.331"+version = "1.9.332" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.331"+version = "1.9.332" edition = "2021" [dependencies]
describe.py+3−2@@ -148,8 +148,9 @@ _T = [ ("fusion_managed_library_push", "Push a NEW VERSION of the library in front up to its linked managed library on library.io. Clicking the menu item alone does NOT push: Fusion raises a CEF 'Create New Version' confirmation and THAT is what creates the version, so this verb completes it and fails with confirm_missing rather than reporting a false pass. On a library that is not linked yet, Fusion offers Create Managed Library instead and this reports not_linked_yet - use fusion_managed_library_create. NOTE: Library Manager keeps showing the IMPORTED version number after a push, so the row gains an update-available badge instead of incrementing.", {"onConfirm": "optional str create|cancel (default create)"}, {"success": "bool", "library": "str", "confirmed": "obj", "alerts": "[...]"}, 240, _STATUS, True, {}),- ("fusion_managed_library_pull", "Pull the newest version FROM library.io into the linked library in front. Answers Fusion's force-update prompt with MERGE by default (pull is an explicit request for the managed library's content); pass onUpdatePrompt:'replace' to overwrite local parts entirely, or 'cancel' to back out.",- {"onUpdatePrompt": "optional str merge|replace|cancel (default merge)"}, {"success": "bool", "library": "str", "alerts": "[...]"}, 240, _STATUS, True, {}),+ ("fusion_managed_library_pull", "Pull the newest version FROM library.io into the linked library in front. A pull ends in ONE of two CEF dialogs and BOTH block the add-in until answered: the force-update prompt when content differs (answered MERGE by default, since pull is an explicit request for the managed content - pass onUpdatePrompt:'replace' to overwrite local parts entirely, or 'cancel' to back out), or 'Up to Date' when already current. If neither appears, nothing was pulled and this reports failure rather than a false pass - Fusion greys Pull out on a library that was never linked.",+ {"onUpdatePrompt": "optional str merge|replace|cancel (default merge)"},+ {"success": "bool", "library": "str", "upToDate": "bool", "updatePrompt": "obj?", "alerts": "[...]"}, 240, _STATUS, True, {}), ("fusion_library_manager", "Open Fusion's Library Manager and switch to one of its three tabs. Hub Libraries = libraries saved in the Fusion hub (what our bind chain produces, and what Autodesk recommends for sharing). Private Libraries = library.io managed libraries in folders THIS account belongs to. Public Libraries = library.io's public catalogue. PITFALL: the library TABLE is CEF-drawn and exposes NOTHING to UIA, so libraries[] is normally empty and that is not a failure - screenshot the returned hwnd to read the rows.", {"tab": "optional str hub|public|private (default private)"}, {"success": "bool", "tab": "str", "hwnd": "int", "libraries": "[str] (usually empty - see pitfall)", "tableReadable": "bool"}, 240, _STATUS, True, {"tab": "private"}),
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.331"+DASH_VERSION="1.9.332" 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.331",+ "version": "1.9.332", "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.331",+ "version": "1.9.332", "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+32−4@@ -16179,6 +16179,22 @@ def _click_cef_button(win, x_frac, y_frac, why): return True +def _dismiss_ok_dialog(title_substr, timeout_s=10.0):+ """Dismiss a single-OK CEF result dialog (e.g. "Up to Date": "Your library is up-to-date.").++ These are the RESULT of an action rather than a question, but they still block the add-in+ until answered, so a verb that ignores one reports success while Fusion sits waiting. The+ lone OK sits at the same button row as every other Fusion CEF dialog, rightmost."""+ import time as _t+ win = _wait_for_top_window(title_substr, timeout_s)+ if not win:+ return None+ clicked = _click_cef_button(win, 0.903, 0.824, "dismiss Fusion's %s dialog" % title_substr)+ _t.sleep(1.5)+ gone = _wait_for_top_window_gone(title_substr, 20)+ return {"dialog": title_substr, "clicked": clicked, "dismissed": bool(gone)}++ def _confirm_create_version(choice="create", timeout_s=20.0): """Answer Fusion's "Create New Version" confirmation, which is what actually performs a push. @@ -16283,14 +16299,26 @@ def _handle_managed_library_pull(fusion_info: dict, args: dict) -> dict: "Pull changes from the managed library on library.io", steps) if menu_err: return menu_err+ # A pull ends in ONE of two dialogs, and BOTH block the add-in until answered:+ # content differs -> the force-update prompt; already current -> "Up to Date" with one OK. prompt = _handle_update_prompt(args.get("onUpdatePrompt") or "merge") if prompt: steps.append(prompt)+ up_to_date = None+ if not prompt:+ up_to_date = _dismiss_ok_dialog("Up to Date")+ if up_to_date:+ steps.append(up_to_date) alerts = _alerts_since(mark)- return {"success": not alerts, "library": ctx["doc"], "steps": steps, "alerts": alerts,- "_hint": "Pull requested. Fusion greys this item out on a library that was never "- "linked, so a silent no-op there is expected - link it first." if not alerts- else "Fusion raised an alert - read alerts[] and treat this as failed."}+ answered = bool(prompt) or bool(up_to_date)+ return {"success": answered and not alerts, "library": ctx["doc"], "steps": steps,+ "alerts": alerts, "upToDate": bool(up_to_date), "updatePrompt": prompt,+ "_hint": ("Already current - Fusion answered with Up to Date." if up_to_date else+ "Pulled; the force-update prompt was answered %r."+ % ((prompt or {}).get("choice"))) if answered and not alerts else+ ("Fusion raised an alert - read alerts[]." if alerts else+ "Neither the update prompt nor Up to Date appeared, so NOTHING was pulled. "+ "Fusion greys Pull out on a library that was never linked - link it first.")} def _handle_managed_library_unlink(fusion_info: dict, args: dict) -> dict: