From 439296e54563d5cf488ec24effa38330e5da2805 Mon Sep 17 00:00:00 2001 From: Julian Daube Date: Thu, 22 Apr 2021 21:30:54 +0000 Subject: [PATCH] add kibot configration --- config.kibot.yaml | 79 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 config.kibot.yaml diff --git a/config.kibot.yaml b/config.kibot.yaml new file mode 100644 index 0000000..93f85ba --- /dev/null +++ b/config.kibot.yaml @@ -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: / +