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.

Comments

  • 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) l1.space(1.2.um).output("Space < 1.2 µm)")

    which gives me this:

    You will find more information about the DRC feature: https://www.klayout.de/doc-qt5/manual/drc.html. However, some basic knowledge about the principles of VLSI DRC is required.

    Matthias

Sign In or Register to comment.