PanelizeOptions parameters

  • configs : [PanelizeConfig parameters] [list(dict) | list(string) | string] (default: []) One or more configurations used to create the panel. Use a string to include an external configuration, i.e. myDefault.json.
    You can also include a preset using :name, i.e. :vcuts.
    Use a dict to specify the options using the KiBot YAML file.

  • output : [string] (default: '%f-%i%I%v.%x') Filename for the output (%i=panel, %x=kicad_pcb). Affected by global options.

  • copy_lib_tables : [boolean] (default: false) If the target directory is different than the one containing the PCB copy the symbol and footprint lib tables.

  • copy_vias_on_mask : [string] (default: 'auto') (choices: “auto”, “yes”, “no”) Copy the GUI option to plot vias on the mask layers from the original PCB to the panel.
    This option is a workaround to KiCad 8 not allowing to choose to plot (or not to plot) vias on the mask layers using the Python API. So you have to set it in the GUI, but this option is lost during panelization.
    Setting this option to auto will copy the value for faulty KiCad 8 versions, but won’t waste time for working KiCad versions.

  • create_preview : [boolean] (default: false) Use PcbDraw to create a preview of the panel.

  • default_angles : [string] (default: 'deg') (choices: “deg”, “°”, “rad”) Angles used when omitted.

  • dnf_filter : [string | list(string)] (default: '_null') Name of the filter to mark components as not fitted. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • exclude_filter : [string | list(string)] (default: '_null') Name of the filter to exclude components from processing. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • pre_transform : [string | list(string)] (default: '_null') Name of the filter to transform fields before applying other filters. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • title : [string] (default: '') Text used to replace the sheet title. %VALUE expansions are allowed. If it starts with + the text is concatenated.

  • units : [string] (default: 'mm') (choices: “millimeters”, “inches”, “mils”, “mm”, “cm”, “dm”, “m”, “mil”, “inch”, “in”) Units used when omitted.

  • variant : [string] (default: '') Board variant to apply.

Used dicts