Added user layers to jlc gerbers

This commit is contained in:
ac
2024-09-09 09:31:49 +10:00
parent 19003424bd
commit 80765e324f

View File

@@ -2,9 +2,6 @@
kibot: kibot:
version: 1 version: 1
import:
- file: JLCPCB
preflight: preflight:
run_erc: true run_erc: true
update_xml: true update_xml: true
@@ -146,14 +143,69 @@ outputs:
only_different: true only_different: true
pcb: false pcb: false
old: KIBOT_TAG-0 old: KIBOT_TAG-0
- name: 'JLCPCB_compress'
type: compress
extends: _JLCPCB_compress
options:
output: '%f_JLC.%x'
- name: JLCPCB_gerbers
comment: Gerbers compatible with JLCPCB
type: gerber
dir: JLCPCB
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: true
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
inner_extension_pattern: '.g%n'
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
- In3.Cu
- In4.Cu
- In5.Cu
- In6.Cu
- F.SilkS
- B.SilkS
- F.Mask
- B.Mask
- Edge.Cuts
- user
- name: JLCPCB_drill
comment: Drill files compatible with JLCPCB
type: excellon
dir: JLCPCB
options:
pth_and_npth_single_file: false
pth_id: '-PTH'
npth_id: '-NPTH'
metric_units: true
map: gerber
route_mode_for_oval_holes: false
output: "%f%i.%x"
- name: 'JLCPCB_compress'
comment: ZIP file for JLCPCB
type: compress
options:
files:
- from_output: JLCPCB_gerbers
dest: /
- from_output: JLCPCB_drill
dest: /
output: '%f_JLC.%x'
groups: groups:
- name: pcb - name: pcb
outputs: outputs: