Added more pc_print test cases

This commit is contained in:
Salvador E. Tropea 2022-06-10 07:55:07 -03:00
parent 38b1202e86
commit b57a29ddee
2 changed files with 43 additions and 0 deletions

View File

@ -104,3 +104,5 @@ def test_pcb_print_simple_1(test_dir):
ctx.run()
ctx.expect_out_file(prj+'-assembly_page_01.png')
ctx.expect_out_file(prj+'-assembly_page_02.png')
ctx.expect_out_file(prj+'-assembly_page_01.eps')
ctx.expect_out_file(prj+'-assembly_page_01.svg')

View File

@ -33,3 +33,44 @@ outputs:
color: '#14332440'
- layer: Edge.Cuts
color: "#004040"
- name: 'print_bottom'
comment: "Experiment"
type: pcb_print
options:
plot_sheet_reference: true
dnf_filter: _mechanical
format: 'EPS'
scaling: 0
sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
# frame_plot_mechanism: gui slow
# frame_plot_mechanism: plot only k6
drill_marks: small
force_edge_cuts: true
pages:
- layers:
- layer: B.Cu
- layer: B.Mask
color: '#14332440'
sort_layers: true
monochrome: true
mirror: true
sheet_reference_color: "#A02020"
- name: 'print_bottom_2'
comment: "Experiment"
type: pcb_print
options:
plot_sheet_reference: true
dnf_filter: _mechanical
format: 'SVG'
# frame_plot_mechanism: gui slow
# frame_plot_mechanism: plot only k6
drill_marks: none
force_edge_cuts: true
pages:
- layers:
- layer: B.Cu
- layer: B.Mask
color: '#14332440'
sheet_reference_color: "#A02020"