It looks like you're new here. If you want to get involved, click one of these buttons!
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) 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
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:
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