PCB_StatsOptions parameters

  • format : [string] (default: 'txt') (choices: “txt”, “json”) Output file format.

  • output : [string] (default: '%f-%i%I%v.%x') Name for the generated report file (%i=’statistics’ %x=’txt/json’). 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.

  • exclude_footprints_without_pads : [boolean] (default: false) Exclude footprints without pads.

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

  • subtract_holes_from_board : [boolean] (default: false) Subtract holes from the board area.

  • subtract_holes_from_copper : [boolean] (default: false) Subtract holes from copper areas.

  • units : [string] (default: 'millimeters') (choices: “millimeters”, “inches”) Units used for the values. Affected by global options.

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