298 lines
7.3 KiB
YAML
298 lines
7.3 KiB
YAML
# This is a working example.
|
|
# For a more complete reference use `--example`
|
|
kibot:
|
|
version: 1
|
|
|
|
global:
|
|
filters:
|
|
- number: 1007
|
|
- number: 1015
|
|
- number: 58
|
|
- number: 107
|
|
|
|
import:
|
|
- file: JLCPCB
|
|
definitions:
|
|
_KIBOT_MANF_DIR: Manufacturers/JLCPCB
|
|
_KIBOT_POS_PRE_TRANSFORM: "['_kicost_rename', '_rot_footprint']"
|
|
|
|
preflight:
|
|
drc:
|
|
dont_stop: true
|
|
format: HTML,RPT,JSON,CSV
|
|
erc:
|
|
dont_stop: true
|
|
format: HTML,RPT,JSON,CSV
|
|
|
|
outputs:
|
|
- name: generic_bom_html
|
|
comment: Generic Bill of Materials in HTML format
|
|
type: bom
|
|
dir: BoM/Generic
|
|
options:
|
|
format: HTML
|
|
group_fields: &id001
|
|
- part
|
|
- part lib
|
|
- value
|
|
- footprint
|
|
- footprint lib
|
|
- voltage
|
|
- tolerance
|
|
- current
|
|
- power
|
|
- mpn
|
|
count_smd_tht: true
|
|
- name: generic_bom_csv
|
|
comment: Generic Bill of Materials in CSV format
|
|
type: bom
|
|
dir: BoM/Generic
|
|
options:
|
|
format: CSV
|
|
group_fields: *id001
|
|
count_smd_tht: true
|
|
- name: positional_bom_html
|
|
comment: Positional Bill of Materials in HTML format
|
|
type: bom
|
|
dir: BoM/Positional
|
|
options:
|
|
format: HTML
|
|
group_fields: *id001
|
|
columns: &id002
|
|
- Row
|
|
- Description
|
|
- Part
|
|
- Part Lib
|
|
- References
|
|
- Value
|
|
- Footprint
|
|
- Footprint Lib
|
|
- Quantity Per PCB
|
|
- Build Quantity
|
|
- Status
|
|
- Datasheet
|
|
- Sheetpath
|
|
- Source BoM
|
|
- Footprint X
|
|
- Footprint Y
|
|
- Footprint Rot
|
|
- Footprint Side
|
|
- Footprint Type
|
|
- Footprint Type NV
|
|
- Footprint Populate
|
|
- Footprint X-Size
|
|
- Footprint Y-Size
|
|
- Net Name
|
|
- Net Class
|
|
count_smd_tht: true
|
|
html:
|
|
style: modern-red
|
|
- name: basic_download_datasheets
|
|
comment: Download the datasheets
|
|
type: download_datasheets
|
|
dir: Datasheets
|
|
- name: basic_excellon
|
|
comment: Drill files in EXCELLON format
|
|
type: excellon
|
|
dir: Gerbers_and_Drill
|
|
options:
|
|
map: pdf
|
|
- name: basic_gerb_drill
|
|
comment: Drill files in GERB_DRILL format
|
|
type: gerb_drill
|
|
dir: Gerbers_and_Drill
|
|
options:
|
|
map: gerber
|
|
- name: gerber_modern
|
|
comment: Gerbers in modern format, recommended by the standard
|
|
type: gerber
|
|
dir: Gerbers_and_Drill
|
|
layers:
|
|
- layer: F.Cu
|
|
suffix: F_Cu
|
|
description: Front copper
|
|
- layer: B.Cu
|
|
suffix: B_Cu
|
|
description: Bottom copper
|
|
- layer: F.Adhesive
|
|
suffix: F_Adhesive
|
|
description: Front adhesive (glue)
|
|
- layer: F.Paste
|
|
suffix: F_Paste
|
|
description: Front solder paste
|
|
- layer: F.Silkscreen
|
|
suffix: F_Silkscreen
|
|
description: Front silkscreen (artwork)
|
|
- layer: B.Silkscreen
|
|
suffix: B_Silkscreen
|
|
description: Bottom silkscreen (artwork)
|
|
- layer: B.Mask
|
|
suffix: B_Mask
|
|
description: Bottom soldermask (negative)
|
|
- layer: F.Mask
|
|
suffix: F_Mask
|
|
description: Front soldermask (negative)
|
|
- layer: Edge.Cuts
|
|
suffix: Edge_Cuts
|
|
description: Board shape
|
|
- layer: F.Courtyard
|
|
suffix: F_Courtyard
|
|
description: Front courtyard area
|
|
- layer: F.Fab
|
|
suffix: F_Fab
|
|
description: Front documentation
|
|
- layer: User.2
|
|
suffix: User_2
|
|
description: User layer 2
|
|
- name: basic_ibom
|
|
comment: Interactive HTML BoM
|
|
type: ibom
|
|
dir: Assembly
|
|
- name: basic_info
|
|
comment: Information about the run
|
|
type: info
|
|
dir: .
|
|
- name: basic_kicanvas
|
|
comment: Web page to browse the schematic and/or PCB
|
|
type: kicanvas
|
|
dir: Browse
|
|
options:
|
|
source:
|
|
- schematic
|
|
- pcb
|
|
- name: classic_netlist
|
|
comment: Schematic netlist in KiCad format
|
|
type: netlist
|
|
dir: Export
|
|
- name: ipc_netlist
|
|
comment: IPC-D-356 netlist for testing
|
|
type: netlist
|
|
dir: Export
|
|
options:
|
|
format: ipc
|
|
- name: basic_pcb_print_pdf
|
|
comment: PCB
|
|
type: pcb_print
|
|
dir: PCB/PDF
|
|
options:
|
|
format: PDF
|
|
pages:
|
|
- layers:
|
|
- layer: F.Cu
|
|
- layer: F.Mask
|
|
color: "#14332440"
|
|
- layer: F.Paste
|
|
- layer: F.Silkscreen
|
|
- layer: Edge.Cuts
|
|
- layer: User.2
|
|
sheet: Front copper
|
|
- layers:
|
|
- layer: B.Cu
|
|
- layer: B.Mask
|
|
color: "#14332440"
|
|
- layer: B.Silkscreen
|
|
- layer: Edge.Cuts
|
|
- layer: User.2
|
|
mirror: true
|
|
sheet: Bottom copper
|
|
- layers:
|
|
- layer: F.Courtyard
|
|
- layer: Edge.Cuts
|
|
- layer: User.2
|
|
sheet: Front courtyard area
|
|
- layers:
|
|
- layer: F.Fab
|
|
- layer: Edge.Cuts
|
|
- layer: User.2
|
|
sheet: Front documentation
|
|
keep_temporal_files: true
|
|
- name: basic_pdf
|
|
comment: Individual layers in PDF format
|
|
type: pdf
|
|
dir: Individual_Layers/PDF
|
|
layers:
|
|
- layer: F.Cu
|
|
suffix: F_Cu
|
|
description: Front copper
|
|
- layer: B.Cu
|
|
suffix: B_Cu
|
|
description: Bottom copper
|
|
- layer: F.Adhesive
|
|
suffix: F_Adhesive
|
|
description: Front adhesive (glue)
|
|
- layer: F.Paste
|
|
suffix: F_Paste
|
|
description: Front solder paste
|
|
- layer: F.Silkscreen
|
|
suffix: F_Silkscreen
|
|
description: Front silkscreen (artwork)
|
|
- layer: B.Silkscreen
|
|
suffix: B_Silkscreen
|
|
description: Bottom silkscreen (artwork)
|
|
- layer: B.Mask
|
|
suffix: B_Mask
|
|
description: Bottom soldermask (negative)
|
|
- layer: F.Mask
|
|
suffix: F_Mask
|
|
description: Front soldermask (negative)
|
|
- layer: Edge.Cuts
|
|
suffix: Edge_Cuts
|
|
description: Board shape
|
|
- layer: F.Courtyard
|
|
suffix: F_Courtyard
|
|
description: Front courtyard area
|
|
- layer: F.Fab
|
|
suffix: F_Fab
|
|
description: Front documentation
|
|
- layer: User.2
|
|
suffix: User_2
|
|
description: User layer 2
|
|
- name: basic_pdf_sch_print
|
|
comment: Schematic in PDF format
|
|
type: pdf_sch_print
|
|
dir: Schematic
|
|
- name: basic_position_ASCII
|
|
comment: Components position for Pick & Place
|
|
type: position
|
|
dir: Position
|
|
options:
|
|
format: ASCII
|
|
only_smd: false
|
|
separate_files_for_front_and_back: false
|
|
- name: basic_position_CSV
|
|
comment: Components position for Pick & Place
|
|
type: position
|
|
dir: Position
|
|
options:
|
|
format: CSV
|
|
only_smd: false
|
|
separate_files_for_front_and_back: false
|
|
- name: report_simple
|
|
comment: Simple design report
|
|
type: report
|
|
output_id: _simple
|
|
options:
|
|
template: simple_ASCII
|
|
do_convert: true
|
|
- name: report_full
|
|
comment: Full design report
|
|
type: report
|
|
options:
|
|
template: full_SVG
|
|
do_convert: true
|
|
- name: basic_stencil_3d
|
|
comment: 3D self-registering stencil
|
|
type: stencil_3d
|
|
dir: Assembly
|
|
- name: basic_stencil_for_jig
|
|
comment: Steel stencil for alignment jig
|
|
type: stencil_for_jig
|
|
dir: Assembly
|
|
options:
|
|
jigwidth: 100
|
|
jigheight: 100
|
|
- name: export_3d
|
|
comment: 3D model in STEP format
|
|
type: export_3d
|
|
dir: 3D
|