Skip to content

Commit 8eb25ab

Browse files
authored
Merge pull request #18 from sparkfun/release_candidate
Add silkscreen check - also resolves #14
2 parents 00b865d + 65d188c commit 8eb25ab

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)