Updated the names of most outputs to include the project name, and

revision.
Added xlsx bom output.
This commit is contained in:
andrewc
2023-10-20 10:58:53 +10:00
parent 1e23a32622
commit c05f45bffb

View File

@@ -7,6 +7,7 @@ import:
definitions: definitions:
_KIBOT_POS_ENABLED: false _KIBOT_POS_ENABLED: false
_KIBOT_BOM_ENABLED: false _KIBOT_BOM_ENABLED: false
_KIBOT_MANF_DIR_COMP: "%f-%r"
preflight: preflight:
run_erc: true run_erc: true
@@ -34,14 +35,14 @@ outputs:
type: pdf_sch_print type: pdf_sch_print
dir: . dir: .
options: options:
output: Schematic.pdf output: "%f_%r_%i.%x"
- name: 'print_pcb' - name: 'print_pcb'
comment: "Print Top and Bottom Copper+Silk" comment: "Print Top and Bottom Copper+Silk"
type: pcb_print type: pcb_print
dir: . dir: .
options: options:
output_name: PCB.pdf output: "%f_%r_%i.%x"
pages: pages:
- layers: - layers:
- layer: F.Cu - layer: F.Cu
@@ -52,8 +53,7 @@ outputs:
- layer: B.SilkS - layer: B.SilkS
- layer: Edge.Cuts - layer: Edge.Cuts
- name: 'bom' - name: '_bom'
comment: "BOM in csv format"
type: bom type: bom
dir: . dir: .
options: options:
@@ -68,18 +68,37 @@ outputs:
- manf - manf
- field: References - field: References
name: refs name: refs
exclude_filter: ""
disable_run_by_default: true
- name: 'bom_csv'
type: bom
dir: .
extends: "_bom"
options:
csv: csv:
separator: ';' separator: ';'
hide_pcb_info: true hide_pcb_info: true
hide_stats_info: true hide_stats_info: true
format: "CSV" format: "CSV"
exclude_filter: "" output: "%f_%r_%i.%x"
- name: 'drill' - name: 'bom_xlsx'
comment: "excellon drill files" type: bom
type: excellon dir: .
dir: Gerbers extends: '_bom'
# options: options:
xlsx:
logo: "${CI_PROJECT_DIR}/.gitlab/micromelon_default/meta/icon.png"
hide_pcb_info: true
hide_stats_info: true
format: "xlsx"
# - name: 'drill'
# comment: "excellon drill files"
# type: excellon
# dir: Gerbers
# # options:
- name: 'step' - name: 'step'
comment: "Step file of pcb" comment: "Step file of pcb"
@@ -94,7 +113,7 @@ outputs:
comment: "Pick and place" comment: "Pick and place"
type: position type: position
options: options:
output: '%f_cpl.%x' output: '%f_%r_cpl.%x'
format: CSV format: CSV
units: millimeters units: millimeters
separate_files_for_front_and_back: false separate_files_for_front_and_back: false
@@ -104,6 +123,8 @@ outputs:
comment: '3D printable stencil for when you forgot to order it' comment: '3D printable stencil for when you forgot to order it'
type: stencil_3d type: stencil_3d
dir: '3D Stencil' dir: '3D Stencil'
options:
output: '%f_%r_%i.%x'
- name: 'diff_pcb' - name: 'diff_pcb'
comment: "Diff for visual comparison" comment: "Diff for visual comparison"
@@ -132,5 +153,6 @@ groups:
- name: sch - name: sch
outputs: outputs:
- bom - bom_csv
- bom_xlsx
- print_sch - print_sch