← Commit history
.insiders-stage/fusion-bridge/version.json+4−4
@@ -1,10 +1,10 @@ {   "manifest_version": 1,   "name": "fusion360",-  "version": "1.11.15",-  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.11.15/adom-bridge-fusion-v1.11.15.zip",-  "sha256": "724a1927a43186a407a5f171ddd717d4f538686a3af5ea28d97a8931890776ae",-  "size": 6554643,+  "version": "1.11.16",+  "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.11.16/adom-bridge-fusion-v1.11.16.zip",+  "sha256": "ff1fc341231bd8395a2a6b9b73d4d6c756539df88ffd184f5f3830db2f988db6",+  "size": 6555000,   "verbPrefixes": [     "fusion_"   ],
.release-page-head+1−1
@@ -1 +1 @@-5cf9a185ec6ac0425f8aff705750a940c93828a3\ No newline at end of file+fe302efbcec3f93e8d4acc930812b0ec1365e4c6\ No newline at end of file
install.sh

  
page.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]"+  }+}\ No newline at end of file
rust/Cargo.lock+5−5
@@ -10,7 +10,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"  [[package]] name = "adom-fusion-bridge"-version = "1.11.15"+version = "1.11.16" dependencies = [  "base64",  "chrono",@@ -273,7 +273,7 @@ dependencies = [  [[package]] name = "fusion-core"-version = "1.11.15"+version = "1.11.16" dependencies = [  "serde",  "serde_json",@@ -283,7 +283,7 @@ dependencies = [  [[package]] name = "fusion-lbr"-version = "1.11.15"+version = "1.11.16" dependencies = [  "regex",  "roxmltree",@@ -295,14 +295,14 @@ dependencies = [  [[package]] name = "fusion-os-mac"-version = "1.11.15"+version = "1.11.16" dependencies = [  "fusion-core", ]  [[package]] name = "fusion-os-win"-version = "1.11.15"+version = "1.11.16" dependencies = [  "fusion-core",  "windows-sys 0.59.0",
rust/bridge/src/routing_planner.py+1−1
@@ -41,7 +41,7 @@ def automatic_plan(board,args):     layers=[1,16] if allow else sorted(set(ends[0]['layers'])&set(ends[1]['layers']))     if not layers:fail('no_route','Endpoints need a via but allowVias is false')     obstacles=[]-    for other,c,d,r,ls in ctx['obstacles']:+    for other,c,d,r,ls,*_ in ctx['obstacles']:         if other==net:continue         obstacles.append((c,d,r,set(ls),(min(c[0],d[0])-r-clearance,max(c[0],d[0])+r+clearance,min(c[1],d[1])-r-clearance,max(c[1],d[1])+r+clearance)))     cache={}
rust/bridge/src/routing_script.py+28−7
@@ -90,6 +90,7 @@ def objects(board):             if mirrored: x = -x             x, y = x+float(el.get('x')), y+float(el.get('y'))             key = el.get('name')+'.'+pad.get('name')+            poly = None             if pad.tag == 'pad':                 # Outer bounding circle for non-round shapes; conservative for clearance.                 diameter = float(pad.get('diameter', '0'))@@ -98,10 +99,21 @@ def objects(board):                 layers = [1,16]             else:                 radius = math.hypot(float(pad.get('dx')), float(pad.get('dy'))) / 2+                # The exact rectangle (roundness ignored, so still conservative): a circle of+                # the half diagonal refused legal traces running past a pad's flat edge.+                hx, hy = float(pad.get('dx'))/2, float(pad.get('dy'))/2+                pr = math.radians(float((re.search(r'R(-?[\d.]+)', pad.get('rot', 'R0')) or [0, 0])[1]))+                poly = []+                for cx, cy in ((-hx,-hy),(hx,-hy),(hx,hy),(-hx,hy)):+                    cx, cy = cx*math.cos(pr)-cy*math.sin(pr), cx*math.sin(pr)+cy*math.cos(pr)+                    cx, cy = cx+float(pad.get('x')), cy+float(pad.get('y'))+                    cx, cy = cx*math.cos(angle)-cy*math.sin(angle), cx*math.sin(angle)+cy*math.cos(angle)+                    if mirrored: cx = -cx+                    poly.append([cx+float(el.get('x')), cy+float(el.get('y'))])                 layer = int(pad.get('layer'))                 layers = [17-layer if mirrored else layer]             pads[key] = {'name':key, 'net':contacts.get((el.get('name'),pad.get('name'))),-                         'at':[round(x,6),round(y,6)], 'radius':radius, 'layers':layers}+                         'at':[round(x,6),round(y,6)], 'radius':radius, 'layers':layers, 'poly':poly}     for name,s in nets.items():         for w in s.findall('wire'):             if int(w.get('layer')) == 19: continue@@ -207,6 +219,15 @@ def distance(a,b,c,d):     return min(point_distance(a,c,d),point_distance(b,c,d),point_distance(c,a,b),point_distance(d,a,b))  +def poly_distance(a,b,poly):+    # Segment to convex polygon: 0 when the segment touches or enters it.+    def inside(p):+        sides=[(q[0]-p0[0])*(p[1]-p0[1])-(q[1]-p0[1])*(p[0]-p0[0]) for p0,q in zip(poly,poly[1:]+poly[:1])]+        return all(v>=0 for v in sides) or all(v<=0 for v in sides)+    if inside(a) or inside(b): return 0+    return min(distance(a,b,p0,q) for p0,q in zip(poly,poly[1:]+poly[:1]))++ def plan(board,args):     nets,pads,wires,vias=objects(board)     net=identifier(args.get('net'))@@ -261,9 +282,9 @@ def plan(board,args):         margin=ctx['edgeClearance']+radius         if any(not(xmin+margin<=p[0]<=xmax-margin and ymin+margin<=p[1]<=ymax-margin) for p in (a,b)):             fail('clearance_violation','Candidate copper violates the board-edge margin')-        for other,c,d,r,ls in obstacles:+        for other,c,d,r,ls,poly in obstacles:             if other==net or not set(layers).intersection(ls): continue-            gap=distance(a,b,c,d)-radius-r+            gap=(poly_distance(a,b,poly) if poly else distance(a,b,c,d)-r)-radius             if gap<clearance-1e-6: fail('clearance_violation','Candidate copper approaches another net or hole closer than %.3f mm'%clearance)     return {'net':net,'items':planned,'clearance':clearance,'preflight':'Conservative geometry only; run native Autodesk DRC after edits'} @@ -305,11 +326,11 @@ def routing_context(board,args,net,width,drill):     expected={tuple(sorted(e)) for e in [((xmin,ymin),(xmax,ymin)),((xmax,ymin),(xmax,ymax)),((xmax,ymax),(xmin,ymax)),((xmin,ymax),(xmin,ymin))]}     if {tuple(sorted(map(tuple,e))) for e in edges}!=expected: fail('unsupported_board','Outline is not a closed rectangle')     obstacles=[]-    for p in pads.values(): obstacles.append((p['net'],p['at'],p['at'],p['radius'],p['layers']))-    for w in wires: obstacles.append((w['net'],w['start'],w['end'],w['width']/2,[w['layer']]))-    for v in vias: obstacles.append((v['net'],v['at'],v['at'],max(v['diameter'],v['drill']*2+0.6)/2,[1,16]))+    for p in pads.values(): obstacles.append((p['net'],p['at'],p['at'],p['radius'],p['layers'],p.get('poly')))+    for w in wires: obstacles.append((w['net'],w['start'],w['end'],w['width']/2,[w['layer']],None))+    for v in vias: obstacles.append((v['net'],v['at'],v['at'],max(v['diameter'],v['drill']*2+0.6)/2,[1,16],None))     for h in board.findall('plain/hole'):-        xy=[float(h.get('x')),float(h.get('y'))]; obstacles.append((None,xy,xy,float(h.get('drill'))/2,[1,16]))+        xy=[float(h.get('x')),float(h.get('y'))]; obstacles.append((None,xy,xy,float(h.get('drill'))/2,[1,16],None))     if board.findall('libraries/library/packages/package/hole'):         fail('unsupported_board','Footprint mounting holes require transformed obstacle support')     return {'clearance':clearance,'edgeClearance':rule('mdCopperDimension',0.5),'bounds':(xmin,xmax,ymin,ymax),'obstacles':obstacles,'pads':pads}
tools/check-naming.sh

  
tools/check-portable.sh

  
tools/promote.sh

  
tools/release.sh