by adom
Let an AI (Claude, ChatGPT, Codex or any agent) run Altium Designer for you: create symbols and footprints, place parts (also from Altium 365), wire and annotate schematics, Update PCB, set the stack-up and rules, route, pour copper, add mounting holes and stitching vias, run ERC and DRC, and make Gerbers, BOMs and STEP. Free in Hydrogen; bring your own AI and Altium licence.
set_design_rules: the created 'Adom edge' rule covers silkscreen, so Altium's DRC flags every frame near the board edge
Seen on: the TPS54202 AI Flow run (bridge 0.2.53, AD 26.11.1, DESKTOP-BAR6S0F). Altium's own DRC on the delivered board shows about 120 Board Outline Clearance hits on silkscreen frames near the edge. AI Flow's check counts only copper, so it passed.
Cause: CmdSetRules in src/agent/AdomAgent.pas.tmpl. When the board has no rule of a kind, it creates one named 'Adom ' + Kind with Scope1Expression := 'All'. For edgeClearance that makes an eRule_BoardOutlineClearance rule over every object, silkscreen included, while the fab value passed in is a copper-to-edge value.
Fix to try: scope the created edge rule to copper (measure which Altium query keyword works on AD 26.11.1 and Develop, e.g. a copper-object query, rather than guess). Leave existing user rules and their scopes alone, as now.
Proof wanted: on a board with silkscreen frames touching the edge, plus one track 0.1 mm from the edge, set_design_rules {edgeClearance:0.3} then run_drc. Expect the track to be flagged and the silkscreen not. Record the before and after counts. An earlier attempt was reverted because its test was muddied, so do this on a clean board.