BoMLabelsOptions parameters

  • bom : [string] (default: '') BoM output used for the labels.

  • output : [string] (default: '%f-%i%I%v.%x') Name for the generated PDF (%i=bom_labels %x=pdf). Affected by global options.

  • 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.

  • font : [string] (default: 'Helvetica-Bold') Font used for the labels.

  • font_size_header : [number] (default: 6) Default size of the header font, will be reduced to fit the text.

  • font_size_rest : [number] (default: 4) Default size of the normal font, will be reduced to fit the text.

  • header_sep : [number] (default: 3) Distance from header to first line in mm.

  • height : [number] (default: 10) Label height in mm.

  • line_height : [number] (default: 1.5) Regular line height in mm.

  • margin_top : [number] (default: 3) Top margin in mm.

  • margin_x : [number] (default: 2) X margin in mm.

  • 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.

  • rows : [number] (default: 3) How many rows we print, including the header.

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

  • width : [number] (default: 20) Label width in mm.