How to do spacing DRC in PCB for arc and any-angle segments?

How to write the scripts for spacing check for any-angle segments, It seems like the script can only compute the manhattan distance.


  • Maybe you can elaborate what you already did? It appears that you already have some script.

    KLayout's DRC can check Euclidian distance between edges of any angle.

    Here is an example:

    report("A space check") l1 = input(1, 0)"Space < 1.2 µm)")

    which gives me this:

    You will find more information about the DRC feature: However, some basic knowledge about the principles of VLSI DRC is required.


Sign In or Register to comment.