ODBOptions parameters

  • compression : [string] (default: 'zip') (choices: “zip”, “tgz”, “none”) For zip files the structure is at the root. tgz is gzip compressed tarball, usually smaller than a zip file.
    In this case data is inside a directory named odb, not the root.
    When using none you get a directory containing all the data.

  • output : [string] (default: '%f-%i%I%v.%x') Filename for the output (%i=odb, %x=zip/tgz/none) The extension depends on the compression option.
    Note that for none we get a directory, not a file. 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.

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

  • precision : [number] (default: 6) Number of decimals used to represent the values.

  • units : [string] (default: 'millimeters') (choices: “millimeters”, “inches”) Units used for the positions. Affected by global options. Note that when using mils as global units this option becomes inches.

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