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)
9 files changed
+50−30
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.274+1.9.275
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.274",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.274/adom-bridge-fusion-v1.9.274.zip",- "sha256": "a88915ea37ebff3bfb470238bcfa10ec16d2e9af3173b2e1c0846f40acf918c3",- "size": 567405,+ "version": "1.9.275",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.275/adom-bridge-fusion-v1.9.275.zip",+ "sha256": "0ca8657bd03b23c9e420fee4f40956c87e3c0209df93d463a8b5fff7ddd01acd",+ "size": 567711, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.274",+ "version": "1.9.275", "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.274"+version = "1.9.275" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.274"+version = "1.9.275" edition = "2021" [dependencies]
fusion_detect.py+29−12@@ -944,15 +944,19 @@ def _envelope_watch(seconds: float, minimize: bool): # last 2s, the foreground change is HIS - stand down for that beat. class _LII(ctypes.Structure): _fields_ = [("cbSize", ctypes.wintypes.UINT), ("dwTime", ctypes.wintypes.DWORD)]- def _user_active_recently():+ def _last_input_tick(): try: lii = _LII(); lii.cbSize = ctypes.sizeof(_LII) if ctypes.windll.user32.GetLastInputInfo(ctypes.byref(lii)):- idle = ctypes.windll.kernel32.GetTickCount() - lii.dwTime- return idle < 2000+ return int(lii.dwTime) except Exception: pass- return False+ return None+ def _user_active_recently(window_ms=5000):+ t = _last_input_tick()+ if t is None:+ return False+ return (ctypes.windll.kernel32.GetTickCount() - t) < window_ms end = time.time() + seconds pids, last_refresh = set(), 0.0 # ⭐ THE USER-IS-WATCHING LATCH (John, 2026-08-23: "if I want to watch it do its@@ -964,6 +968,8 @@ def _envelope_watch(seconds: float, minimize: bool): # fights Fusion's OWN self-activation (a transition with no user input behind it). _prev_was_fusion = False _fg_pid = ctypes.wintypes.DWORD(0)+ _away_since = [None] # when a non-Fusion window took the front+ _away_input_tick = [None] # GetLastInputInfo tick at that moment # ⭐ FUSION ALREADY IN FRONT WHEN THIS ENVELOPE STARTS IS THE USER'S DOING (John, # 2026-08-29: "when you're running your verbs and I click the taskbar icon to # bring Fusion to the foreground, you end up pushing it to the background on me").@@ -996,9 +1002,9 @@ def _envelope_watch(seconds: float, minimize: bool): user32.GetWindowThreadProcessId(fg, ctypes.byref(_fg_pid)) fg_is_fusion = _fg_pid.value in pids if fg_is_fusion:- # User deliberately brought Fusion up -> latch and stand down. The input- # window is 2s; a taskbar click IS input, so a raise with input behind- # it is his even when the click landed a beat before this tick.+ _away_since[0] = None+ # User deliberately brought Fusion up -> latch and stand down. A taskbar+ # click IS input, so a raise with input in the last 5s is his. if (not _prev_was_fusion) and _user_active_recently(): _USER_WATCHING[0] = True if not _USER_WATCHING[0]:@@ -1008,9 +1014,20 @@ def _envelope_watch(seconds: float, minimize: bool): else: user32.SetWindowPos(fg, HWND_BOTTOM, 0, 0, 0, 0, SWP_FLAGS) elif fg:- # Foreground is something else - the user is not watching Fusion now,- # so resume guarding against Fusion's next self-grab.- _USER_WATCHING[0] = False+ # Foreground is something else. That is the user MOVING ON only when it+ # is his doing and it lasts: input since the switch AND the other window+ # has held the front for 3s. A toast or a tool window flashing in front+ # for a moment with no input behind it (1.9.274 hole, John 2026-08-29:+ # "I tried to bring Fusion to the fg manually and you kept sending it+ # to the bg") must NOT drop the latch, or Fusion's return two seconds+ # later reads as a self-grab and gets demoted.+ if _away_since[0] is None:+ _away_since[0] = now+ _away_input_tick[0] = _last_input_tick()+ elif _USER_WATCHING[0] and now - _away_since[0] >= 3.0:+ t = _last_input_tick()+ if t is not None and _away_input_tick[0] is not None and t != _away_input_tick[0]:+ _USER_WATCHING[0] = False _prev_was_fusion = fg_is_fusion except Exception: pass@@ -1117,8 +1134,8 @@ def _focus_guard(seconds: float = 150.0, restore_fg_lock=None, restore_min_anim= else: # minimize the focus-stealing family window, no activation user32.ShowWindowAsync(fg, _SW_SHOWMINNOACTIVE)- elif _USER_WATCHING[0]:- _USER_WATCHING[0] = False # the user moved on; guard again+ elif _USER_WATCHING[0] and _envelope_user_active_recently(3000):+ _USER_WATCHING[0] = False # the user moved on (input behind it); guard again except Exception: pass time.sleep(0.1)
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.274"+DASH_VERSION="1.9.275" 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.274",+ "version": "1.9.275", "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.274",+ "version": "1.9.275", "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]"- }-}+ ]+}