87 lines
2.8 KiB
YAML
87 lines
2.8 KiB
YAML
# MIT License
|
|
|
|
# Copyright (c) 2021 Neil Enns
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
# The above copyright notice and this permission notice shall be included in all
|
|
# copies or substantial portions of the Software.
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
# SOFTWARE.
|
|
|
|
# This KiBot script generates gerbers, drill, bom, and position files for submitting
|
|
# two layer boards to PCBWay.
|
|
outputs:
|
|
- name: PCBWay_gerbers
|
|
comment: "Gerbers - PCBWay"
|
|
type: gerber
|
|
dir: PCBWay
|
|
options: &gerber_options
|
|
exclude_edge_layer: true
|
|
exclude_pads_from_silkscreen: true
|
|
plot_sheet_reference: false
|
|
plot_footprint_refs: true
|
|
plot_footprint_values: true
|
|
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:
|
|
- copper
|
|
- F.SilkS
|
|
- B.SilkS
|
|
- F.Mask
|
|
- B.Mask
|
|
- F.Paste
|
|
- B.Paste
|
|
- Edge.Cuts
|
|
|
|
- name: PCBWay_drill
|
|
comment: "Drill - PCBWay"
|
|
type: excellon
|
|
dir: PCBWay
|
|
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
|
|
comment: "Gerber and drill zip - PCBWay"
|
|
type: compress
|
|
dir: PCBWay
|
|
options:
|
|
format: ZIP
|
|
files:
|
|
- from_output: PCBWay_gerbers
|
|
dest: /
|
|
- from_output: PCBWay_drill
|
|
dest: / |