Skip to content

Commit 9bcb084

Browse files
committed
Change Gerber names: In1.Cu -> GL2
1 parent 1d9c7ce commit 9bcb084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SparkFunKiCadCAMmer/cammer/cammer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def startCAMmer(self, args, board=None, logger=None):
116116
"B.Silkscreen": "GBO",
117117
"Edge.Cuts": "GKO"
118118
}
119-
for i in range(1,31): # Add 30 internal copper layers
120-
file_ext["In{}.Cu".format(i)] = "GL{}".format(i)
119+
for i in range(1,31): # Add 30 internal copper layers. Convert In1.Cu to GL2 - see #3
120+
file_ext["In{}.Cu".format(i)] = "GL{}".format(i + 1)
121121

122122
# Start plotting: https://gitlab.com/kicad/code/kicad/-/blob/master/demos/python_scripts_examples/plot_board.py
123123

0 commit comments

Comments
 (0)