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
Publish 1.11.39
10 files changed
+43−23
.insiders-stage/fusion-bridge/version.json+4−4@@ -1,10 +1,10 @@ { "manifest_version": 1, "name": "fusion360",- "version": "1.11.38",- "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.11.38/adom-bridge-fusion-v1.11.38.zip",- "sha256": "9d4472f5b479ff691ea7860399d73591736f23178892f141652993374932d4b5",- "size": 6571270,+ "version": "1.11.39",+ "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.11.39/adom-bridge-fusion-v1.11.39.zip",+ "sha256": "231b00d4d0bc948a098d8d3c111bf1cba972410a3c560d20c494d3e123c29436",+ "size": 6570895, "verbPrefixes": [ "fusion_" ],
.release-page-head+1−1@@ -1 +1 @@-40b599eee2e5d34bb10c7a305aa2aecac1522f55+0c169f140fc82fadea5311092747c14346d3bea9
install.shpage.json+25−9@@ -11,10 +11,6 @@ "uninstall": "./uninstall.sh" }, "tags": [- "ab",- "bridge",- "fusion",- "desktop-app", "fusion360", "autodesk", "cad",@@ -80,9 +76,6 @@ "add a 3d model to a component", "make a fusion 360 library with 3d", "set up the fusion bridge",- "fusion dashboard",- "fusion status page",- "open the fusion launch page", "aps not configured", "share aps client id across my org", "set up fusion cloud search for my company",@@ -115,5 +108,28 @@ "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.lock+5−5@@ -10,7 +10,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "adom-fusion-bridge"-version = "1.11.38"+version = "1.11.39" dependencies = [ "base64", "chrono",@@ -273,7 +273,7 @@ dependencies = [ [[package]] name = "fusion-core"-version = "1.11.38"+version = "1.11.39" dependencies = [ "serde", "serde_json",@@ -283,7 +283,7 @@ dependencies = [ [[package]] name = "fusion-lbr"-version = "1.11.38"+version = "1.11.39" dependencies = [ "regex", "roxmltree",@@ -295,14 +295,14 @@ dependencies = [ [[package]] name = "fusion-os-mac"-version = "1.11.38"+version = "1.11.39" dependencies = [ "fusion-core", ] [[package]] name = "fusion-os-win"-version = "1.11.38"+version = "1.11.39" dependencies = [ "fusion-core", "windows-sys 0.59.0",
rust/bridge/src/routing_script.py+8−4@@ -807,7 +807,8 @@ def handle(app,args,action): dmin=min((math.hypot(q[0]-pp[0],q[1]-pp[1]) for pp in pad_pts),default=99) if best is None or dmin>best[0]: best=(dmin,q) if best[0]<1.0: fail('unsafe_pick','No outline point of the %s pour is 1 mm clear of a pad; remove it in Fusion by hand'%e['net'])- cmd='LAYER %d; DELETE (%.6fmm %.6fmm);'%(e['layer'],*best[1])+ # Shift-click (S x y) deletes the WHOLE polygon; a plain click deletes one vertex of it+ cmd='LAYER %d; DELETE (S %.6fmm %.6fmm);'%(e['layer'],*best[1]) attempted=True; app.executeTextCommand('Electron.run '+cmd); commands.append(cmd) app.executeTextCommand('Electron.run RATSNEST;') _,after,after_meta=snapshot(app,args)@@ -815,10 +816,13 @@ def handle(app,args,action): if len(after.findall('elements/element'))!=elements_before or copper_signature(ws2+vs2)!=cu_before: for _ in commands: app.executeTextCommand('Electron.run UNDO;') fail('readback_mismatch','Removing pours changed parts or tracks; every DELETE was undone')- left=[e for e in pours(after) if any(e['net']==t['net'] and e['layer']==t['layer'] and same_outline(e['outline'],t['outline']) for t in targets)]+ # by count per net and layer: a pour that lost a vertex instead of going would still be here+ from collections import Counter+ want_gone=Counter((t['net'],t['layer']) for t in targets); before_n=Counter((e['net'],e['layer']) for e in have); after_n=Counter((e['net'],e['layer']) for e in pours(after))+ left=[{'net':k[0],'layer':k[1],'count':after_n[k]-(before_n[k]-n)} for k,n in want_gone.items() if after_n[k]>before_n[k]-n] okp=not left- return {'success':okp,'mutated':True,'verified':okp,'errorCode':None if okp else 'readback_mismatch','removed':len(targets)-len(left),- 'left':[(e['net'],e['layer']) for e in left],'commands':commands,**pour_state(after),**state(after,after_meta)}+ return {'success':okp,'mutated':True,'verified':okp,'errorCode':None if okp else 'readback_mismatch','removed':len(targets)-sum(x['count'] for x in left),+ 'left':left,'commands':commands,**pour_state(after),**state(after,after_meta)} if action=='ripup_nets': # take a net's tracks and vias up so it can be routed again (wider, or another way); # its pours stay. One RIPUP per net, each its own undo step.
tools/check-naming.shtools/check-portable.shtools/promote.shtools/release.sh