89 lines
2.5 KiB
YAML
89 lines
2.5 KiB
YAML
# Gerber and drill files for PCBWay, with stencil (solder paste)
|
|
# URL: https://www.pcbway.com
|
|
# Based on setting used by Gerber Zipper (https://github.com/g200kg/kicad-gerberzipper)
|
|
kibot:
|
|
version: 1
|
|
|
|
groups:
|
|
- name: _PCBWay@_KIBOT_IMPORT_ID@
|
|
outputs:
|
|
- _PCBWay_gerbers@_KIBOT_IMPORT_ID@
|
|
- _PCBWay_drill@_KIBOT_IMPORT_ID@
|
|
|
|
outputs:
|
|
- name: _PCBWay_gerbers@_KIBOT_IMPORT_ID@
|
|
comment: Gerbers compatible with PCBWay
|
|
type: gerber
|
|
dir: @_KIBOT_MANF_DIR@
|
|
options: &gerber_options
|
|
exclude_edge_layer: true
|
|
exclude_pads_from_silkscreen: true
|
|
plot_sheet_reference: false
|
|
plot_footprint_refs: @_KIBOT_PLOT_FOOTPRINT_REFS@
|
|
plot_footprint_values: @_KIBOT_PLOT_FOOTPRINT_VALUES@
|
|
force_plot_invisible_refs_vals: false
|
|
tent_vias: true
|
|
use_protel_extensions: true
|
|
create_gerber_job_file: false
|
|
output: "%f.%x"
|
|
gerber_precision: 4.6
|
|
use_gerber_x2_attributes: false
|
|
use_gerber_net_attributes: false
|
|
disable_aperture_macros: true
|
|
line_width: 0.1
|
|
subtract_mask_from_silk: false
|
|
inner_extension_pattern: '.gl%N'
|
|
layers:
|
|
@_KIBOT_GERBER_LAYERS@
|
|
@_KIBOT_F_PASTE@
|
|
@_KIBOT_B_PASTE@
|
|
|
|
- name: _PCBWay_drill@_KIBOT_IMPORT_ID@
|
|
comment: Drill files compatible with PCBWay
|
|
type: excellon
|
|
dir: @_KIBOT_MANF_DIR@
|
|
options:
|
|
metric_units: false
|
|
minimal_header: true
|
|
zeros_format: SUPPRESS_LEADING
|
|
# left_digits: 3
|
|
# right_digits: 3
|
|
# See https://github.com/INTI-CMNB/kicad-ci-test-spora/issues/1
|
|
# and https://docs.oshpark.com/design-tools/gerbv/fix-drill-format/
|
|
left_digits: 2
|
|
right_digits: 4
|
|
pth_and_npth_single_file: false
|
|
pth_id: ''
|
|
npth_id: '-NPTH'
|
|
output: "%f%i.drl"
|
|
|
|
- name: _PCBWay_compress@_KIBOT_IMPORT_ID@
|
|
comment: ZIP file for PCBWay
|
|
type: compress
|
|
dir: @_KIBOT_MANF_DIR_COMP@
|
|
options:
|
|
format: ZIP
|
|
files:
|
|
- from_output: _PCBWay_gerbers@_KIBOT_IMPORT_ID@
|
|
dest: /
|
|
- from_output: _PCBWay_drill@_KIBOT_IMPORT_ID@
|
|
dest: /
|
|
|
|
...
|
|
definitions:
|
|
_KIBOT_F_PASTE: ''
|
|
_KIBOT_B_PASTE: ''
|
|
_KIBOT_IMPORT_ID: ''
|
|
_KIBOT_IMPORT_DIR: 'PCBWay'
|
|
_KIBOT_MANF_DIR: '@_KIBOT_IMPORT_DIR@'
|
|
_KIBOT_MANF_DIR_COMP: '@_KIBOT_IMPORT_DIR@'
|
|
_KIBOT_PLOT_FOOTPRINT_REFS: true
|
|
_KIBOT_PLOT_FOOTPRINT_VALUES: true
|
|
_KIBOT_GERBER_LAYERS: |
|
|
- copper
|
|
- F.SilkS
|
|
- B.SilkS
|
|
- F.Mask
|
|
- B.Mask
|
|
- Edge.Cuts
|