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
+77−21
BRIDGE_VERSION+1−1@@ -1 +1 @@-1.9.248+1.9.249
adom-bridge-fusion-manifest.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.9.248",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.248/adom-bridge-fusion-v1.9.248.zip",- "sha256": "eb02cf39e99c48cd7a9f34fafd0128f1bce052921090df39ea8841bddb8263e1",- "size": 547390,+ "version": "1.9.249",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.249/adom-bridge-fusion-v1.9.249.zip",+ "sha256": "ef77126ad10a1ed49e27a660161c629a084413e94274658d91780432d0cce224",+ "size": 548049, "verbPrefixes": [ "fusion_" ],
bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "fusion360", "displayName": "Autodesk Fusion 360",- "version": "1.9.248",+ "version": "1.9.249", "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.248"+version = "1.9.249" dependencies = [ "serde_json", ]
dashboard/Cargo.toml+1−1@@ -1,6 +1,6 @@ [package] name = "fusion-dashboard"-version = "1.9.248"+version = "1.9.249" 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.248"+DASH_VERSION="1.9.249" 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.248",+ "version": "1.9.249", "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.248",+ "version": "1.9.249", "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+45−2@@ -10822,9 +10822,27 @@ def _prove_capture(label: str, view: str) -> dict: p = shot.get("savedTo") or shot.get("localSafePath") if shot.get("success") and p: out["screenshot"] = p- w, h = shot.get("width"), shot.get("height")+ # MEASURE, NEVER ASSUME (2026-08-29, run 9bf511091a96): the shot reports its size+ # as fullWidth/fullHeight (or not at all), so `width`/`height` were None and the+ # old `not (w and h) or ...` gate PASSED a 237x39 title-bar sliver and a 570x615+ # stray window as proof frames. Missing dimensions are read from the file itself;+ # a frame that cannot be measured is not evidence.+ w, h = shot.get("width") or shot.get("fullWidth"), shot.get("height") or shot.get("fullHeight")+ if not (w and h):+ try:+ w, h = _image_dimensions(shot.get("savedTo") or p)+ except Exception:+ w, h = None, None out["width"], out["height"] = w, h- out["ok"] = not (w and h) or (int(w) >= 400 and int(h) >= 300)+ if not (w and h):+ out["ok"] = False+ out["error"] = "frame could not be measured - not accepted as evidence"+ elif int(w) < 400 or int(h) < 300:+ out["ok"] = False+ out["error"] = ("wrong_window_captured: %dx%d is not the Fusion editor "+ "(a title-bar sliver or a stray dialog)" % (int(w), int(h)))+ else:+ out["ok"] = True # INLINE COPY FOR BROWSER CALLERS (issue #47): the path is unreadable from # wiki.adom.inc web control - it cannot open C:/tmp. A ~500px data URI per # frame keeps the whole four-frame set renderable straight from the poll@@ -10838,6 +10856,31 @@ def _prove_capture(label: str, view: str) -> dict: return out ++def _image_dimensions(path: str):+ """(width, height) of a PNG or WebP file from its header, no PIL (Fusion boxes have none)."""+ import struct+ with open(path, "rb") as f:+ head = f.read(64)+ if head[:8] == b"\x89PNG\r\n\x1a\n":+ w, h = struct.unpack(">II", head[16:24])+ return int(w), int(h)+ if head[:4] == b"RIFF" and head[8:12] == b"WEBP":+ chunk = head[12:16]+ if chunk == b"VP8 ":+ w, h = struct.unpack("<HH", head[26:30])+ return int(w) & 0x3FFF, int(h) & 0x3FFF+ if chunk == b"VP8L":+ b = head[21:25]+ w = 1 + (((b[1] & 0x3F) << 8) | b[0])+ h = 1 + (((b[3] & 0xF) << 10) | (b[2] << 2) | ((b[1] & 0xC0) >> 6))+ return int(w), int(h)+ if chunk == b"VP8X":+ w = 1 + int.from_bytes(head[24:27], "little")+ h = 1 + int.from_bytes(head[27:30], "little")+ return int(w), int(h)+ return None, None+ def _frame_data_url(path: str, max_width: int = 500) -> str: """Downscale an on-disk frame to a data: URI (best effort, PIL-free: Fusion boxes have no PIL, so serve the file bytes as-is when small enough, else skip the inline copy)."""
skills/fusion-ralph-test-via-wiki/SKILL.md+11−1@@ -131,9 +131,19 @@ failure died in `except: pass`. As of 1.9.245 status and frames carry `captured` frame. The drainer prints that line. Rule: a feed is live when `captured` climbs, never when `tick` does. Read `healthy` before you tell anyone they have a video. +## A proof frame is evidence only if it is measured (fixed 1.9.249)++Run 9bf511091a96 scored `proven` with a 237x39 symbol frame (a title-bar sliver) and a+570x615 footprint frame (a stray window). The capture gate read `width`/`height` that the+screenshot never reports (it reports `fullWidth`/`fullHeight`) and defaulted to PASS when+they were missing. Now every frame's size comes from the file header when the shot does not+say, a frame under 400x300 is `wrong_window_captured`, and an unmeasurable frame is refused.+Rule: when you check evidence, pull one frame and look at its pixels; `ok:true` on a frame+nobody measured is the same false pass as `stage:done` with zero frames.+ ## Dev checklist before saying "it works" -- [ ] Ran the loop above on a real box, not a stub, and read the frames.+- [ ] Ran the loop above on a real box, not a stub, and read the frames (their pixel SIZE too: a 237x39 frame is a title bar, not a symbol). - [ ] Accepted the trust modal (and looked for one whenever a press "did nothing"). - [ ] The verb sequence the page sent matches the documented lane. - [ ] `fusion_prove_result` reached `done` with `verdict: proven` and `partsProven == partsTotal`.