2021-07-12 15:32:53 +00:00
|
|
|
# Example KiPlot config file
|
|
|
|
kiplot:
|
|
|
|
version: 1
|
|
|
|
|
|
|
|
preflight:
|
|
|
|
run_erc: true
|
|
|
|
update_xml: true
|
|
|
|
run_drc: true
|
|
|
|
check_zone_fills: false
|
|
|
|
ignore_unconnected: false
|
2022-05-22 23:17:00 +00:00
|
|
|
filters:
|
|
|
|
- error: 'courtyards_overlap'
|
|
|
|
regex: '((?s)J4(.*)J13)|((?s)J13(.*)J21)|((?s)J2(.*)J15)|((?s)J2(.*)J4)'
|
|
|
|
- error: 'courtyards_overlap'
|
|
|
|
regex: '(?s)J3(.*)J12'
|
|
|
|
- error: 'clearance'
|
|
|
|
regex: '(.*)no net(.*) of J1'
|
|
|
|
|
|
|
|
global:
|
|
|
|
filters:
|
|
|
|
- error: 'courtyards_overlap'
|
|
|
|
regex: '((?s)J4(.*)J13)|((?s)J13(.*)J21)|((?s)J2(.*)J15)|((?s)J2(.*)J4)'
|
|
|
|
- error: 'courtyards_overlap'
|
|
|
|
regex: '(?s)J3(.*)J12'
|
|
|
|
- error: 'clearance'
|
|
|
|
regex: '(.*)no net(.*) of J1'
|
|
|
|
- error: 'silk_overlap'
|
2021-07-12 15:32:53 +00:00
|
|
|
|
|
|
|
# global:
|
|
|
|
# kiauto_wait_start: 60
|
|
|
|
# kiauto_time_out_scale: 2
|
|
|
|
|
2021-07-12 18:51:38 +00:00
|
|
|
filters:
|
|
|
|
- name: fix_rotation
|
|
|
|
comment: 'Adjust rotation for JLC'
|
|
|
|
type: rot_footprint
|
|
|
|
|
|
|
|
- name: only_jlc_parts
|
|
|
|
comment: 'Only parts with JLC code'
|
|
|
|
type: generic
|
|
|
|
include_only:
|
|
|
|
- column: 'LCSC#'
|
|
|
|
regex: '^C\d+'
|
|
|
|
|
|
|
|
variants:
|
|
|
|
- name: rotated
|
|
|
|
comment: 'Just a place holder for the rotation filter'
|
|
|
|
type: kibom
|
|
|
|
variant: rotated
|
|
|
|
pre_transform: fix_rotation
|
|
|
|
|
2021-07-12 15:32:53 +00:00
|
|
|
outputs:
|
|
|
|
- name: 'print_sch'
|
|
|
|
comment: "Print schematic (PDF)"
|
|
|
|
type: pdf_sch_print
|
|
|
|
dir: .
|
|
|
|
options:
|
2021-07-12 18:51:38 +00:00
|
|
|
output: fiatlux.pdf
|
2021-07-12 15:32:53 +00:00
|
|
|
|
|
|
|
- name: 'print_front'
|
|
|
|
comment: "Print F.Cu+Dwgs.User"
|
|
|
|
type: pdf_pcb_print
|
|
|
|
dir: .
|
|
|
|
options:
|
2021-07-12 18:51:38 +00:00
|
|
|
output_name: fiatlux-top.pdf
|
2021-07-12 15:32:53 +00:00
|
|
|
layers:
|
|
|
|
- layer: B.Cu
|
|
|
|
- layer: F.SilkS
|
|
|
|
|
|
|
|
- name: 'gerbers'
|
|
|
|
comment: "Gerbers for the board house"
|
|
|
|
type: gerber
|
2021-07-12 18:51:38 +00:00
|
|
|
dir: fab
|
2021-07-12 15:32:53 +00:00
|
|
|
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: true
|
|
|
|
use_gerber_net_attributes: true
|
|
|
|
|
|
|
|
layers:
|
2021-07-12 18:51:38 +00:00
|
|
|
- layer: F.Cu
|
|
|
|
suffix: F_Cu
|
2021-07-12 15:32:53 +00:00
|
|
|
- layer: B.Cu
|
|
|
|
suffix: B_Cu
|
|
|
|
- layer: F.SilkS
|
|
|
|
suffix: F_SilkS
|
2021-07-12 18:51:38 +00:00
|
|
|
- layer: B.SilkS
|
|
|
|
suffix: B_SilkS
|
|
|
|
- layer: F.Paste
|
|
|
|
suffix: F_Paste
|
|
|
|
- layer: B.Paste
|
|
|
|
suffix: B_Paste
|
|
|
|
- layer: F.Mask
|
|
|
|
suffix: F_Mask
|
|
|
|
- layer: B.Mask
|
|
|
|
suffix: B_Mask
|
2021-07-12 15:32:53 +00:00
|
|
|
- layer: Edge.Cuts
|
|
|
|
suffix: Edge_Cuts
|
|
|
|
|
2021-07-12 18:51:38 +00:00
|
|
|
- name: 'position'
|
|
|
|
comment: "Pick and place file, JLC style"
|
|
|
|
type: position
|
|
|
|
options:
|
|
|
|
variant: rotated
|
|
|
|
output: '%f-top-pos.%x'
|
|
|
|
format: CSV
|
|
|
|
units: millimeters
|
|
|
|
separate_files_for_front_and_back: false
|
|
|
|
only_smd: true
|
|
|
|
columns:
|
|
|
|
- id: Ref
|
|
|
|
name: Designator
|
|
|
|
- Val
|
|
|
|
- Package
|
|
|
|
- id: PosX
|
|
|
|
name: "Mid X"
|
|
|
|
- id: PosY
|
|
|
|
name: "Mid Y"
|
|
|
|
- id: Rot
|
|
|
|
name: Rotation
|
|
|
|
- id: Side
|
|
|
|
name: Layer
|
2021-07-12 15:32:53 +00:00
|
|
|
|
2021-07-12 18:51:38 +00:00
|
|
|
- name: 'bom'
|
|
|
|
comment: "BoM for JLC"
|
|
|
|
type: bom
|
|
|
|
options:
|
|
|
|
output: '%f.%x'
|
|
|
|
exclude_filter: 'only_jlc_parts'
|
|
|
|
ref_separator: ','
|
|
|
|
columns:
|
|
|
|
- field: Value
|
|
|
|
name: Comment
|
|
|
|
- field: References
|
|
|
|
name: Designator
|
|
|
|
- Footprint
|
|
|
|
- field: 'LCSC#'
|
|
|
|
name: 'LCSC Part #'
|
|
|
|
csv:
|
|
|
|
hide_pcb_info: true
|
|
|
|
hide_stats_info: true
|
|
|
|
quote_all: true
|