Files
feeder_mk2/.github/workflows/scripts/kibot/config-4layer.kibot.yaml
Stephen Hawes a6fbf5ec31 more bugfix
2023-03-24 16:45:18 -04:00

176 lines
3.7 KiB
YAML

# Example KiPlot config file
kibot:
version: 1
filters:
- name: only_jlc_parts
comment: 'Only parts with JLC code'
type: 'generic'
include_only:
- column: 'JLCPCB'
regex: '^C\d+'
- name: fix_rotation
comment: 'Adjust rotation for JLC'
type: rot_footprint
rotations:
- ["^TI_SO-", 270.0]
- ["^SO-", 270.0]
- ["^HTSSOP-", 270.0]
- ["^SSOP-", 270.0]
- ["^MSOP-", 270.0]
- ["^USB_C_Receptacle_Palconn", 180.0]
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
- name: jlcpcb
comment: 'JLCPCB requires some rotational transforms'
type: kibom
variant: jlcpcb
pre_transform: fix_rotation
preflight:
run_erc: true
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'ibom'
comment: 'Interactive Bill of Materials'
type: ibom
dir: ibom
- name: 'bom'
comment: 'Bill of Materials'
type: bom
dir: .
options:
csv:
hide_pcb_info: true
hide_stats_info: true
format: CSV
- name: 'html_bom'
comment: 'HTML BOM'
type: bom
dir: .
options:
html:
datasheet_as_link: Datasheet
digikey_link: Digikey
title: 'Index MOBO Bill of Materials'
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
# removing to prevent ci from hanging from long export time
# - name: 'print_front'
# comment: "Print F.Cu+Dwgs.User"
# type: pdf_pcb_print
# dir: .
# options:
# output_name: PCB.pdf
# separated: true
# layers:
# - layer: F.Cu
# description: 'Front Copper'
# - layer: In1.Cu
# description: 'Layer 2'
# - layer: In2.Cu
# description: 'Layer 3'
# - layer: B.Cu
# description: 'Back Copper'
# - layer: F.SilkS
# description: 'Front Silk'
# - layer: B.SilkS
# description: 'Rear Silk'
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: In1.Cu
suffix: G2L
- layer: In2.Cu
suffix: G3L
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .