|
|
@@ -0,0 +1,79 @@ |
|
|
|
# Gerber and drill files for JLCPCB, without stencil |
|
|
|
# URL: https://jlcpcb.com/ |
|
|
|
# Based on setting used by Gerber Zipper (https://github.com/g200kg/kicad-gerberzipper) |
|
|
|
kibot: |
|
|
|
version: 1 |
|
|
|
|
|
|
|
preflight: |
|
|
|
run_erc: true |
|
|
|
update_xml: true |
|
|
|
run_drc: true |
|
|
|
check_zone_fills: true |
|
|
|
ignore_unconnected: false |
|
|
|
filters: |
|
|
|
- filter: 'Ignore courtyards' |
|
|
|
error: '45' |
|
|
|
regex: '.*' |
|
|
|
- filter: 'Ignore USBC pads' |
|
|
|
error: '19' |
|
|
|
regex: 'J1' |
|
|
|
- filter: 'Ignore USBC ground not shorted' |
|
|
|
error: '2' |
|
|
|
regex: 'J1' |
|
|
|
|
|
|
|
outputs: |
|
|
|
- name: JLCPCB_gerbers |
|
|
|
comment: Gerbers compatible with JLCPCB |
|
|
|
type: gerber |
|
|
|
dir: Gerber |
|
|
|
options: &gerber_options |
|
|
|
exclude_edge_layer: true |
|
|
|
exclude_pads_from_silkscreen: true |
|
|
|
plot_sheet_reference: false |
|
|
|
plot_footprint_refs: true |
|
|
|
plot_footprint_values: false |
|
|
|
force_plot_invisible_refs_vals: false |
|
|
|
tent_vias: true |
|
|
|
use_protel_extensions: false |
|
|
|
create_gerber_job_file: false |
|
|
|
disable_aperture_macros: true |
|
|
|
gerber_precision: 4.6 |
|
|
|
use_gerber_x2_attributes: false |
|
|
|
use_gerber_net_attributes: false |
|
|
|
line_width: 0.1 |
|
|
|
subtract_mask_from_silk: true |
|
|
|
layers: |
|
|
|
# Note: a more generic approach is to use 'copper' but then the filenames |
|
|
|
# are slightly different. |
|
|
|
- F.Cu |
|
|
|
- B.Cu |
|
|
|
- In1.Cu |
|
|
|
- In2.Cu |
|
|
|
- F.SilkS |
|
|
|
- B.SilkS |
|
|
|
- F.Mask |
|
|
|
- B.Mask |
|
|
|
- Edge.Cuts |
|
|
|
|
|
|
|
- name: JLCPCB_drill |
|
|
|
comment: Drill files compatible with JLCPCB |
|
|
|
type: excellon |
|
|
|
dir: Gerber |
|
|
|
options: |
|
|
|
pth_and_npth_single_file: false |
|
|
|
pth_id: '-PTH' |
|
|
|
npth_id: '-NPTH' |
|
|
|
metric_units: false |
|
|
|
output: "%f%i.%x" |
|
|
|
|
|
|
|
- name: JLCPCB |
|
|
|
comment: ZIP file for JLCPCB |
|
|
|
type: compress |
|
|
|
dir: Gerber |
|
|
|
options: |
|
|
|
files: |
|
|
|
- from_output: JLCPCB_gerbers |
|
|
|
dest: / |
|
|
|
- from_output: JLCPCB_drill |
|
|
|
dest: / |
|
|
|
|