FIX: variant handling, kintree cli syntax, and PCB image handling

This commit is contained in:
andrewc
2025-07-29 12:05:52 +10:00
parent 82611b2951
commit c3aa9c6b28
8 changed files with 68 additions and 30 deletions

View File

@@ -42,14 +42,14 @@ outputs:
type: pdf_sch_print
dir: .
options:
output: "%f%v_%r_%i.%x"
output: "%f_%r%v_%i.%x"
- name: 'print_pcb'
comment: "Print Top and Bottom Copper+Silk"
type: pcb_print
dir: .
options:
output: "%f%v_%r_PCB.%x"
output: "%f_%r%v_PCB.%x"
pages:
- layers:
- layer: F.Cu
@@ -81,15 +81,32 @@ outputs:
- field: References
name: refs
exclude_filter: ""
output: "%f%v_%r_%i.%x"
output: "%f_%r%v_%i.%x"
expand_text_vars: true
- name: 'bom_csv'
type: bom
dir: .
extends: "_bom"
disable_run_by_default: _bom
options:
columns:
- field: Value
name: value
- field: Quantity Per PCB
name: qty
- field: Footprint
name: footprint
- field: Datasheet
name: datasheet
- mpn
- manf
- rev
- conn_manf
- conn_mpn
- field: References
name: refs
exclude_filter: ""
output: "%f_%r%v_%i.%x"
expand_text_vars: true
csv:
separator: ';'
hide_pcb_info: true
@@ -99,9 +116,26 @@ outputs:
- name: 'bom_xlsx'
type: bom
dir: .
extends: '_bom'
disable_run_by_default: _bom
options:
columns:
- field: Value
name: value
- field: Quantity Per PCB
name: qty
- field: Footprint
name: footprint
- field: Datasheet
name: datasheet
- mpn
- manf
- rev
- conn_manf
- conn_mpn
- field: References
name: refs
exclude_filter: ""
output: "%f_%r%v_%i.%x"
expand_text_vars: true
xlsx:
hide_pcb_info: true
hide_stats_info: true
@@ -118,7 +152,7 @@ outputs:
type: step
dir: .
options:
output: '%f%v_%r.%x'
output: '%f_%r%v.%x'
download: false
subst_models: true
@@ -134,7 +168,7 @@ outputs:
download: false
download_lcsc: false
orthographic: true
output: 'PCB_%f%v_%r.%x'
output: 'PCB_%f_%r%v.%x'
show_components: 'none'
- name: 'pcba_render'
@@ -149,14 +183,14 @@ outputs:
zoom: -1
download_lcsc: false
orthographic: true
output: 'PCBA_%f%v_%r.%x'
output: 'PCBA_%f_%r%v.%x'
show_components: 'all'
- name: 'neo_position'
comment: "Pick and place"
type: position
options:
output: '%f%v_%r_cpl.%x'
output: '%f_%r%v_cpl.%x'
format: CSV
units: millimeters
separate_files_for_front_and_back: false
@@ -167,7 +201,7 @@ outputs:
type: stencil_3d
dir: '3D_Stencil'
options:
output: '%f%v_%r_%i.%x'
output: '%f_%r%v_%i.%x'
- name: 'diff_pcb'
comment: "Diff for visual comparison"
@@ -191,7 +225,7 @@ outputs:
type: ibom
dir: .
options:
output: '%f%v_%r_%i.%x'
output: '%f_%r%v_%i.%x'
dark_mode: true
- name: 'JLCPCB_gerbers'
@@ -244,7 +278,7 @@ outputs:
metric_units: true
map: gerber
route_mode_for_oval_holes: false
output: "%f%v_%r_%i.%x"
output: "%f_%r%v_%i.%x"
- name: 'JLCPCB_compress'
comment: ZIP file for JLCPCB
@@ -255,7 +289,7 @@ outputs:
dest: /
- from_output: JLCPCB_drill
dest: /
output: '%f%v_%r_JLC.%x'
output: '%f_%r%v_JLC.%x'
groups:
- name: mech
outputs:
@@ -272,7 +306,6 @@ groups:
- name: pcb_main
outputs:
- JLCPCB_compress
- neo_position
- print_pcb
- stencil
- interactive_bom
@@ -280,7 +313,6 @@ groups:
- name: panel
outputs:
- JLCPCB_compress
- neo_position
- print_pcb
- step
- interactive_bom