Gerb_DrillOptions parameters

  • output : [string] (default: '%f-%i%I%v.%x') name for the drill file, KiCad defaults if empty (%i=’PTH_drill’). 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.

  • generate_drill_files : [boolean] (default: true) Generate drill files. Set to False and choose map format if only map is to be generated.

  • map : [DrillMap parameters] [dict | string] (default: 'None') (choices: “hpgl”, “ps”, “gerber”, “dxf”, “svg”, “pdf”, “None”) Format for a graphical drill map. Not generated unless a format is specified.
    KiCad 10 doesn’t support HPGL.

  • npth_id : [string] Force this replacement for %i when generating NPTH files.

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

  • pth_id : [string] Force this replacement for %i when generating PTH and unified files.

  • report : [DrillReport parameters] [dict | string] (default: '') Name of the drill report. Not generated unless a name is specified.

  • table : [DrillTable parameters] [dict | string] (default: '') Name of the drill table. Not generated unless a name is specified.

  • use_aux_axis_as_origin : [boolean] (default: false) Use the auxiliary axis as origin for coordinates.

  • variant : [string] (default: '') Board variant to apply. Used for sub-PCBs.

Used dicts