gplugins.klayout.drc.write_drc.check_enclosing

gplugins.klayout.drc.write_drc.check_enclosing#

gplugins.klayout.drc.write_drc.check_enclosing(value: float | int, layer1: str, layer2: str, angle_limit: float = 90.0) str[source]#

Checks if layer1 encloses (is bigger than) layer2 by value.

Parameters:
  • value – width in um if float, dbu if int (nm).

  • layer1 – layer name.

  • layer2 – layer name.

  • angle_limit – angle limit in degrees.