Skip to content

Commit 6bc2ed4

Browse files
HylianEdward Shin
authored andcommitted
Add JLCPCB fab config and fix DirtyPCB config
Adds a configuration for JLCPCB gerber extension conventions. Also, fix generation of DirtyPCB files due to typo.
1 parent 6bbb90f commit 6bc2ed4

2 files changed

Lines changed: 77 additions & 36 deletions

File tree

CONTRIBUTE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ If you agree add your full name and email address that you'd use for your contri
1010

1111
## Those who agreed:
1212
full name, email address
13-
13+
Edward Shin, contact@edwardsh.in

pcbmode/pcbmode_config.json

Lines changed: 76 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"solderpaste": {"ext": "ger"}
127127
},
128128
"other":
129-
{
129+
{
130130
"documentation": {"ext": "ger"},
131131
"outline": {"ext": "ger"}
132132
}
@@ -137,7 +137,7 @@
137137
"non-plated": {"ext": "txt"}
138138
},
139139
"text":
140-
{
140+
{
141141
"readme": {"ext": "txt"}
142142
}
143143
}
@@ -167,7 +167,7 @@
167167
"solderpaste": {"ext": "GBP"}
168168
},
169169
"other":
170-
{
170+
{
171171
"documentation": {"ext": "GBR"},
172172
"outline": {"ext": "GKO"}
173173
}
@@ -178,7 +178,7 @@
178178
"non-plated": {"end": "_NPTH", "ext": "drl"}
179179
},
180180
"text":
181-
{
181+
{
182182
"readme": {"ext": "txt"}
183183
}
184184
}
@@ -187,41 +187,82 @@
187187
{
188188
"filenames":
189189
{
190-
"gerbers":
191-
{
192-
"top":
193-
{
194-
"copper": {"ext": "gtl"},
195-
"soldermask": {"ext": "gts"},
196-
"silkscreen": {"ext": "gto"},
197-
"solderpaste": {"ext": "gtp"}
198-
},
190+
"gerbers":
191+
{
192+
"top":
193+
{
194+
"conductor": {"ext": "gtl"},
195+
"soldermask": {"ext": "gts"},
196+
"silkscreen": {"ext": "gto"},
197+
"solderpaste": {"ext": "gtp"}
198+
},
199199
"internal":
200200
{
201201
"conductor": {"ext": "ger"}
202202
},
203-
"bottom":
204-
{
205-
"copper": {"ext": "gbl"},
206-
"soldermask": {"ext": "gbs"},
207-
"silkscreen": {"ext": "gbo"},
208-
"solderpaste": {"ext": "gbp"}
209-
},
210-
"other":
211-
{
212-
"documentation": {"ext": "ger"},
213-
"outline": {"ext": "gbr"}
214-
}
215-
},
216-
"drills":
217-
{
218-
"plated": {"ext": "txt"},
219-
"non-plated": {"ext": "txt"}
220-
},
221-
"text":
222-
{
223-
"readme": {"ext": "txt"}
224-
}
203+
"bottom":
204+
{
205+
"conductor": {"ext": "gbl"},
206+
"soldermask": {"ext": "gbs"},
207+
"silkscreen": {"ext": "gbo"},
208+
"solderpaste": {"ext": "gbp"}
209+
},
210+
"other":
211+
{
212+
"documentation": {"ext": "ger"},
213+
"outline": {"ext": "gbr"}
214+
}
215+
},
216+
"drills":
217+
{
218+
"plated": {"ext": "txt"},
219+
"non-plated": {"ext": "txt"}
220+
},
221+
"text":
222+
{
223+
"readme": {"ext": "txt"}
224+
}
225+
}
226+
},
227+
"jlcpcb":
228+
{
229+
"filenames":
230+
{
231+
"gerbers":
232+
{
233+
"top":
234+
{
235+
"conductor": {"ext": "GTL"},
236+
"soldermask": {"ext": "GTS"},
237+
"silkscreen": {"ext": "GTO"},
238+
"solderpaste": {"ext": "GTP"}
239+
},
240+
"internal":
241+
{
242+
"conductor": {"ext": "GER"}
243+
},
244+
"bottom":
245+
{
246+
"conductor": {"ext": "GBL"},
247+
"soldermask": {"ext": "GBS"},
248+
"silkscreen": {"ext": "GBO"},
249+
"solderpaste": {"ext": "GBP"}
250+
},
251+
"other":
252+
{
253+
"documentation": {"ext": "GER"},
254+
"outline": {"ext": "GML"}
255+
}
256+
},
257+
"drills":
258+
{
259+
"plated": {"ext": "TXT"},
260+
"non-plated": {"ext": "TXT"}
261+
},
262+
"text":
263+
{
264+
"readme": {"ext": "TXT"}
265+
}
225266
}
226267
}
227268
}

0 commit comments

Comments
 (0)