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 163 file(s)
15 files changed
+46−41
BRIDGE_VERSION+1−1bridge.json+1−1dashboard/Cargo.lock+1−1dashboard/Cargo.toml+1−1install.sh+1−1package.json+1−1page.json+11−27rust/Cargo.toml+1−1rust/bridge/src/orchestrations.rs+9−5rust/bridge/src/testproject.rs+1−1rust/core/src/windows_facts.rs+18−1tools/check-naming.shtools/check-portable.shtools/promote.shtools/release.shBRIDGE_VERSION+1−1@@ -1 +1 @@-1.10.25+1.10.26
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.10.25",+ "version": "1.10.26", "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.10.25"+version = "1.10.26" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.10.25"+version = "1.10.26" 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.10.25"+DASH_VERSION="1.10.26" 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.10.25",+ "version": "1.10.26", "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−27@@ -1,6 +1,6 @@ { "slug": "fusion-bridge",- "version": "1.10.25",+ "version": "1.10.26", "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,28 +111,5 @@ "label": "Part volume", "prompt": "How much material does each printed part in this assembly use?" }- ],- "agent_permissions": {- "allow_bash": [],- "allow": [- "adom-desktop-fusion-bridge read-only verbs (via the adom-bridge CLI): fusion_readiness, fusion_get_app_state, fusion_addin_status, fusion_check_dialogs - state queries; they change nothing.",- "adom-desktop-fusion-bridge read-only verbs: fusion_alerts (reads Fusion's own log for toasts), fusion_document_info, fusion_window_info, fusion_board_info, fusion_library_parts - inspect only.",- "adom-desktop-fusion-bridge read-only verbs: fusion_prove_result (a persisted run report), fusion_plan_library_import (report-only preflight), fusion_list_cloud_projects, fusion_describe.",- "adom-desktop-fusion-bridge evidence captures fusion_screenshot_fusion and fusion_capture_library_views read pixels and write local image files only."- ],- "soft_deny": [- "adom-desktop-fusion-bridge lifecycle verbs fusion_stop, fusion_kill, fusion_restart_for_addin close or kill the Fusion application - keep the human prompt.",- "adom-desktop-fusion-bridge fusion_install_fusion silently installs Autodesk Fusion on the user's machine.",- "adom-desktop-fusion-bridge fusion_cleanup_cloud_files deletes files from the user's Autodesk cloud hub.",- "adom-desktop-fusion-bridge managed-library verbs (fusion_managed_library_push/pull/create/link/unlink) publish to or overwrite the user's library.io libraries."- ],- "environment": [- "adom-desktop-fusion-bridge is the Fusion 360 bridge for Adom Bridge; its fusion_* verbs are invoked through the adom-bridge CLI and drive Autodesk Fusion on the user's own desktop.",- "adom-desktop-fusion-bridge desktop actions also pass Adom Bridge's own human-approval gate (caller identity, per-call reason, Activity Log) - a container approval is the first of two gates."- ]- },- "author": {- "name": "John Lauer",- "email": "[email protected]"- }-}+ ]+}
rust/Cargo.toml+1−1@@ -4,7 +4,7 @@ members = ["core", "lbr", "os-win", "os-mac", "bridge"] # One version for the whole bridge, in lockstep with BRIDGE_VERSION (tools/release.sh bumps both). [workspace.package]-version = "1.10.25"+version = "1.10.26" edition = "2021" license = "MIT"
rust/bridge/src/orchestrations.rs+9−5@@ -967,9 +967,12 @@ pub fn show_attributes(ctx: &Ctx, args: &Value, pass: &dyn Fn(&str, Value) -> Va if ds.is_empty() { return json!({"success": false, "errorCode": "deviceset_required", "error": "deviceset is required (the component's name in the library).", "_hint": "fusion_library_parts {libraryPath} lists the devicesets of a library."}); } let mut attributes = Value::Null; if !lbr.is_empty() {- let rep = part_metadata_report(&lbr);- attributes = rep["components"].as_array().and_then(|a| a.iter().find(|c| c["deviceset"].as_str().map(|n| n.eq_ignore_ascii_case(&ds)).unwrap_or(false)).cloned()).unwrap_or(Value::Null);- if attributes.is_null() { return json!({"success": false, "errorCode": "deviceset_not_in_library", "deviceset": ds, "available": rep["components"].as_array().map(|a| a.iter().map(|c| c["deviceset"].clone()).collect::<Vec<_>>()), "error": format!("{ds} is not in {lbr}")}); }+ let xml = match std::fs::read_to_string(&lbr) { Ok(x) => x, Err(e) => return json!({"success": false, "errorCode": "library_unreadable", "error": format!("could not read {lbr}: {e}")}) };+ let md = match fusion_lbr::library_part_metadata(&xml) { Ok(m) => m, Err(e) => return json!({"success": false, "errorCode": "library_unreadable", "error": e.to_string()}) };+ let Some(dsm) = md.devicesets.iter().find(|d| d.name.eq_ignore_ascii_case(&ds)) else {+ return json!({"success": false, "errorCode": "deviceset_not_in_library", "deviceset": ds, "available": md.devicesets.iter().map(|d| d.name.clone()).collect::<Vec<_>>(), "error": format!("{ds} is not in {lbr}")});+ };+ attributes = json!({"deviceset": dsm.name, "variants": dsm.variants.iter().map(|v| json!({"variant": v.full_name, "attributes": v.attributes})).collect::<Vec<_>>()}); let op = open_lbr(ctx, &json!({"filePath": lbr}), pass); if op["success"].as_bool() != Some(true) { return json!({"success": false, "errorCode": "open_lbr_failed", "error": op["error"], "attributes": attributes}); } std::thread::sleep(Duration::from_secs(1));@@ -1091,8 +1094,9 @@ pub fn new_electronics_from_eagle(ctx: &Ctx, args: &Value, pass: &dyn Fn(&str, V if ready { let bi = pass("board_info", json!({})); let d = if bi["data"].is_object() { bi["data"].clone() } else { bi.clone() };- placed = d["componentCount"].as_u64().map(|n| n as usize).or_else(|| d["components"].as_array().map(|a| a.len())).unwrap_or(0);- placed_names = d["components"].as_array().cloned().unwrap_or_default().iter().take(40).map(|c| c["name"].clone()).collect();+ let sm = if d["summary"].is_object() { d["summary"].clone() } else { d.clone() };+ placed = sm["componentCount"].as_u64().map(|n| n as usize).or_else(|| sm["components"].as_array().map(|a| a.len())).unwrap_or(0);+ placed_names = sm["components"].as_array().cloned().unwrap_or_default().iter().take(40).map(|c| c["name"].clone()).collect(); } let instantiated = expected == 0 || placed > 0; if let Some(rid) = args["_runId"].as_str() {
rust/bridge/src/testproject.rs+1−1@@ -279,7 +279,7 @@ pub fn make_showcase_project(ctx: &Ctx, args: &Value, pass: &dyn Fn(&str, Value) } crate::chains::note_bridge_doc_pub(&ctx.state_dir, &sch_doc); crate::chains::note_bridge_doc_pub(&ctx.state_dir, &brd_doc); let placed = pass("board_info", json!({}));- let bd = if placed["data"].is_object() { placed["data"].clone() } else { placed.clone() };+ let bd = if placed["data"]["summary"].is_object() { placed["data"]["summary"].clone() } else if placed["data"].is_object() { placed["data"].clone() } else { placed.clone() }; json!({"success": true, "documentName": brd_doc, "boardDocument": brd_doc, "schematicDocument": sch_doc, "libraryPath": lbr_path, "schPath": sch_path, "brdPath": brd_path, "parts": refs, "partsExpected": extracts.len(), "partsPlaced": bd["componentCount"], "boardMm": {"width": bw, "height": bh}, "steps": steps, "_hint": format!("Showcase opened as two local documents, dialog-free: {brd_doc} (the board with the placed parts, ACTIVE now) and {sch_doc} (the sheet with the symbols). NEXT: fusion_show_3d_board {{capture:true}} then fusion_view {{action:\"orbit\", degrees:45}} / {{action:\"iso\"}} to turn the board (the bound 3D bodies render where the library carries package3d urns); fusion_show_2d_board for copper; fusion_activate_document {{name:\"{sch_doc}\"}} then fusion_schematic {{action:\"show\", capture:true}} for the sheet; fusion_save_to_cloud {{name}} to keep either. No nets were drawn: this is a display, not a circuit.")}) }
rust/core/src/windows_facts.rs+18−1@@ -41,7 +41,14 @@ pub fn facts_from_rows(rows: &[Value]) -> WindowFacts { FAMILY_IMAGES.iter().any(|f| f.eq_ignore_ascii_case(img)) && !w["minimized"].as_bool().unwrap_or(false) || FAMILY_IMAGES.iter().any(|f| f.eq_ignore_ascii_case(img)) && w["kind"].as_str() == Some("normal") }).cloned().collect(); let mut out = WindowFacts { family: family.clone(), ..Default::default() };- let Some(main) = family.iter().max_by_key(|w| area(w)) else { return out };+ // The main window is the one Fusion titles "... - Autodesk Fusion". Largest-area alone picked+ // the bridge's own activity palette ("Adom", 570x615) whenever the real window was minimized+ // (its rect collapses to a sliver), and every capture then photographed the palette+ // (AdomLapper gate, 2026-09-20).+ let is_palette = |w: &Value| w["title"].as_str().map(|t| t.trim().eq_ignore_ascii_case(crate::dialogs::BRIDGE_PALETTE_TITLE)).unwrap_or(false);+ let titled: Vec<&Value> = family.iter().filter(|w| w["title"].as_str().map(|t| t.contains("Autodesk Fusion")).unwrap_or(false)).collect();+ let main_opt = if !titled.is_empty() { titled.into_iter().max_by_key(|w| area(w)) } else { family.iter().filter(|w| !is_palette(w)).max_by_key(|w| area(w)) };+ let Some(main) = main_opt else { return out }; out.main_hwnd = main["hwnd"].as_i64(); out.main_title = main["title"].as_str().map(str::to_string); let t = out.main_title.clone().unwrap_or_default().to_lowercase();@@ -110,4 +117,14 @@ mod tests { let f = facts_from_rows(&[row(1, 0, "Home - Autodesk Fusion", 1300, 820, "normal")]); assert!(f.licensing_dialog.is_none()); }++ #[test]+ fn palette_is_never_the_main_window() {+ let rows = vec![+ serde_json::json!({"hwnd": 1, "image": "Fusion360.exe", "title": "gate-tof-brd* - Autodesk Fusion", "kind": "normal", "minimized": true, "owner": 0, "rect": {"left": -32000, "top": -32000, "width": 237, "height": 39}}),+ serde_json::json!({"hwnd": 2, "image": "Fusion360.exe", "title": "ADOM", "kind": "normal", "minimized": false, "owner": 1, "rect": {"left": 100, "top": 100, "width": 570, "height": 615}}),+ ];+ let f = facts_from_rows(&rows);+ assert_eq!(f.main_hwnd, Some(1));+ } }
tools/check-naming.shtools/check-portable.shtools/promote.shtools/release.sh