Skip to content

Commit 65d188c

Browse files
committed
Add silkscreen check - also resolves #14
1 parent 001e4d8 commit 65d188c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SparkFunKiCadPanelizer/panelizer/panelizer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,9 @@ def startPanelizer(self, args, board=None, ordering=None, logger=None):
601601
lines = txt.splitlines()
602602
for line in lines:
603603
if "mask" in line or "Mask" in line or "MASK" in line:
604-
solderMask = line
604+
solderMask = line # This will override the possibleLogos mask color
605+
if "silkscreen" in line or "Silkscreen" in line or "SILKSCREEN" in line:
606+
silkscreen = line # This will override the possibleLogos silk color
605607
if "layers" in line or "Layers" in line or "LAYERS" in line:
606608
if copperLayers is None: # Should we trust the instructions or the tracks?!
607609
copperLayers = line

0 commit comments

Comments
 (0)