add_min_clearance#

Rules.add_min_clearance(name: str, value: str, net1: str, net2: str) Rules#

Append a minimum-clearance rule between two nets (wild-cards allowed).

Parameters:
namestr

Rule identifier.

valuestr

Minimum clearance with unit, e.g. "4mil".

net1str

First net name or wild-card ("*").

net2str

Second net name or wild-card ("*").

Returns:
Rules

Self to enable method chaining.