Drc#
- class pyedb.workflows.drc.drc.Drc(edb: Edb)#
Lightweight, high-accuracy DRC engine that runs inside an open PyEDB session.
The engine is thread-safe and uses an R-tree spatial index for scalable geometry queries. All rule checks are parallelised with concurrent.futures.ThreadPoolExecutor.
- Parameters:
- edb
pyedb.Edb Active EDB session (must already be open).
- edb
Examples
>>> edb = pyedb.Edb("my_board.aedb") >>> rules = Rules.load("rules.json") >>> drc = Drc(edb) >>> violations = drc.check(rules) >>> drc.to_ipc356a("review.ipc")
Methods
Drc.check(rules)Run all rules and return a list of violations.
Drc.to_ipc356a(file_path)Write a complete IPC-D-356A netlist plus DRC comments for fab review.