Count thermal vias in the courtyard against min_via_count.

Skip without courtyard geometry or a numeric count — no pad-radius default. Tests use simple_project plus explicit coordinates as parameters.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 23:39:05 +02:00
co-authored by Cursor
parent 45e820fabc
commit 0fafbbbb06
7 changed files with 188 additions and 85 deletions
+1
View File
@@ -462,6 +462,7 @@ class LayoutFootprint(BaseModel):
y: float
layer: str = ""
pads: list[LayoutPad] = []
courtyard: list[tuple[float, float]] = []
class LayoutSegment(BaseModel):