From b704c2ab41a48bd0bde13cc5d85acae217cba469 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 6 Sep 2022 08:54:00 -0300 Subject: [PATCH] [DOCs] `pcb_print` added all extensions for %i reference --- README.md | 2 +- docs/samples/generic_plot.kibot.yaml | 2 +- kibot/out_pcb_print.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4420e5b2..94d9ed85 100644 --- a/README.md +++ b/README.md @@ -2187,7 +2187,7 @@ Notes: - **`force_edge_cuts`**: [boolean=false] Add the `Edge.Cuts` to all the pages. - **`format`**: [string='PDF'] [PDF,SVG,PNG,EPS,PS] Format for the output file/s. Note that for PS you need `ghostscript` which isn't part of the default docker images. - - **`output`**: [string='%f-%i%I%v.%x'] Filename for the output (%i=assembly, %x=pdf)/(%i=assembly_page_NN, %x=svg). Affected by global options. + - **`output`**: [string='%f-%i%I%v.%x'] Filename for the output (%i=assembly, %x=pdf/ps)/(%i=assembly_page_NN, %x=svg/png/eps). Affected by global options. - *output_name*: Alias for output. - **`pages`**: [list(dict)] List of pages to include in the output document. Each page contains one or more layers of the PCB. diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index 0029e6fd..040b260a 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -1108,7 +1108,7 @@ outputs: keep_temporal_files: false # [string=''] Color used for micro `colored_vias` micro_via_color: '' - # [string='%f-%i%I%v.%x'] Filename for the output (%i=assembly, %x=pdf)/(%i=assembly_page_NN, %x=svg). Affected by global options + # [string='%f-%i%I%v.%x'] Filename for the output (%i=assembly, %x=pdf/ps)/(%i=assembly_page_NN, %x=svg/png/eps). Affected by global options output: '%f-%i%I%v.%x' # `output_name` is an alias for `output` # [string=''] Color used for `colored_pads` diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index b0735545..e19f5cf0 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -217,7 +217,7 @@ class PCB_PrintOptions(VariantOptions): self.output_name = None """ {output} """ self.output = GS.def_global_output - """ *Filename for the output (%i=assembly, %x=pdf)/(%i=assembly_page_NN, %x=svg)""" + """ *Filename for the output (%i=assembly, %x=pdf/ps)/(%i=assembly_page_NN, %x=svg/png/eps)""" self.hide_excluded = False """ Hide components in the Fab layer that are marked as excluded by a variant """ self.color_theme = '_builtin_classic'