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 74 file(s)
10 files changed
+69−23
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.246+1.9.247
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.246",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.246/adom-bridge-fusion-v1.9.246.zip",- "sha256": "f2d56a288f2fab8f4ab73bfcfcd131113b75a9025f9271a0e7ebe5db3a12c1f9",- "size": 546509,+ "version": "1.9.247",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.247/adom-bridge-fusion-v1.9.247.zip",+ "sha256": "8920c94f2b94ab85ead26fdc7c8102afac8df8cf1ff6aa2ed6a3ca928022eb59",+ "size": 547269, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.246",+ "version": "1.9.247", "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.246"+version = "1.9.247" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.246"+version = "1.9.247" 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.246"+DASH_VERSION="1.9.247" 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.246",+ "version": "1.9.247", "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.246",+ "version": "1.9.247", "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+39−5@@ -3374,6 +3374,35 @@ def _diagnose_addin_timeout(command: str, original_result: dict) -> dict: } ++def _fusion_text_path(path: str) -> str:+ """A path that survives Fusion's executeTextCommand, which is SPACE-DELIMITED.++ Bug (first live run of fusion_install_library_bundle, 2026-08-29): the bridge built+ "Document.newDesignFromLocal C:/Users/john/Documents/Adom Libraries/x/part.lbr" raw, so+ Fusion opened ".../Adom" and said "3 : Filename not found". The add-in's #196 fix (quote,+ then 8.3 short path) never ran, because the bridge-side orchestration bypasses it with+ its own execute_text_command. Measured inside Fusion's Python on AdomLapper: the QUOTED+ form fails with error 3, the 8.3 short path with forward slashes opens first try. Any+ user whose profile folder has a space ("C:/Users/John Doe") hits this on EVERY import,+ so every bridge-side text command that embeds a path goes through here.+ """+ p = (path or "").replace("\\", "/")+ if " " not in p or os.name != "nt":+ return p+ try:+ import ctypes+ from ctypes import wintypes+ _gsp = ctypes.windll.kernel32.GetShortPathNameW+ _gsp.argtypes = [wintypes.LPCWSTR, wintypes.LPWSTR, wintypes.DWORD]+ _gsp.restype = wintypes.DWORD+ buf = ctypes.create_unicode_buffer(1024)+ if _gsp(p, buf, 1024) and buf.value and " " not in buf.value:+ return buf.value.replace("\\", "/")+ except Exception:+ pass+ return p+ def _orchestrate_open_lbr(args: dict) -> dict: """Open an EAGLE .lbr library file in Fusion 360 Electronics. @@ -3480,7 +3509,7 @@ def _orchestrate_open_lbr(args: dict) -> dict: # poll get_app_state for the expected document name - the doc actually being open # outranks whatever the synchronous return claimed. open_result = _proxy_to_addin("execute_text_command", {- "command": f"Document.newDesignFromLocal {file_path}",+ "command": f"Document.newDesignFromLocal {_fusion_text_path(file_path)}", }, timeout=120) if not open_result.get("success"):@@ -4932,7 +4961,7 @@ def _orchestrate_save_lbr(args: dict) -> dict: # Execute Document.CopyToDesktop via the add-in result = _proxy_to_addin("execute_text_command", {- "command": f"Document.CopyToDesktop {output_path}",+ "command": f"Document.CopyToDesktop {_fusion_text_path(output_path)}", }, timeout=30) if not result.get("success"):@@ -9651,7 +9680,7 @@ def _test_project_activate(kind): path = _TEST_PROJECT.get(kind) if not path: return False- _proxy_to_addin("execute_text_command", {"command": "Document.newDesignFromLocal %s" % path}, timeout=60)+ _proxy_to_addin("execute_text_command", {"command": "Document.newDesignFromLocal %s" % _fusion_text_path(path)}, timeout=60) for _ in range(6): _t.sleep(2) st = _proxy_to_addin("get_app_state", {}, timeout=10)@@ -9711,7 +9740,7 @@ def _orchestrate_make_test_project(args: dict) -> dict: steps = [] for label, fpath in (("board", brd_path), ("schematic", sch_path)): r = _proxy_to_addin("execute_text_command",- {"command": "Document.newDesignFromLocal %s" % fpath}, timeout=120)+ {"command": "Document.newDesignFromLocal %s" % _fusion_text_path(fpath)}, timeout=120) okd = bool(r.get("success")) if not okd: expected = fpath.rsplit("/", 1)[-1].rsplit(".", 1)[0].lower()@@ -12465,8 +12494,13 @@ def _handle_install_library_bundle(fusion_info: dict, args: dict) -> dict: meta = _library_part_metadata(lbr_found) pairing = _lb.pair_parts(lbr_found, models, meta) # Stable install folder: the library must outlive the temp dir the chain reads from.+ # NO SPACES anywhere in it (first live run, 2026-08-29: "Adom Libraries/<name>/part.lbr"+ # failed inside Fusion with "Filename not found" - executeTextCommand is space-+ # delimited and the add-in's quote + 8.3 fallbacks did not save it). The user's home+ # may still carry a space ("C:/Users/John Doe"); that is the add-in's problem to+ # solve, this folder must never add one. home = os.path.expanduser("~")- dest = os.path.join(home, "Documents", "Adom Libraries", lib_name)+ dest = os.path.join(home, "Documents", "AdomLibraries", re.sub(r"\s+", "_", lib_name)) placed = _lb.place_library(lbr_found, models, dest) lbr_path = placed["lbrPath"] parts = [{"package": p["package"], "lbrPath": lbr_path,
skills/fusion-web-control/SKILL.md+9@@ -149,6 +149,15 @@ refusal that names the cause. have to guess our spelling. Paths must be **Windows-local** (`C:/...`): the bridge runs on the user's machine, and a container path means nothing to it. +**Paths with spaces (fixed 1.9.247).** Fusion's `executeTextCommand` is space-delimited. The+bridge used to build `Document.newDesignFromLocal C:/Users/john/Documents/Adom Libraries/...`+raw, so Fusion opened `.../Adom` and answered `3 : Filename not found`; the add-in's own+quote-then-8.3 fallback never ran because the bridge bypasses it. Measured inside Fusion's+Python: the quoted form ALSO fails with error 3; the Windows 8.3 short path with forward+slashes (`C:/Users/john/DOCUME~1/ADOMLI~1/RAY-DA~1/part.lbr`) opens first try. Every+bridge-side text command that embeds a path now goes through `_fusion_text_path()`. A user+whose profile folder has a space (`C:/Users/John Doe`) hits this on every import otherwise.+ ## 6. Never let Fusion draw a dialog A modal freezes the add-in's single main thread, so the bridge stops answering and every