Skip to content

Commit b633c18

Browse files
committed
so: Set min_copper_clearance to 0.15mm for small pitch
1 parent 866d30d commit b633c18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generate_so.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
FootprintPad,
5555
LetterSpacing,
5656
LineSpacing,
57+
MinCopperClearance,
5758
Mirror,
5859
Package,
5960
Package3DModel,
@@ -230,6 +231,7 @@ def _uuid(identifier: str) -> str:
230231
generated_by=GeneratedBy(''),
231232
categories=[Category(pkgcat)],
232233
assembly_type=AssemblyType.SMT,
234+
min_copper_clearance=(MinCopperClearance(0.15) if (pitch < 0.5) else None),
233235
)
234236

235237
for p in range(1, pin_count + 1):

0 commit comments

Comments
 (0)