It looks like you're new here. If you want to get involved, click one of these buttons!
I have written a short DRC script to check that 45 degrees chopping was done correctly.
The DRC script collects the 45 (and 135) degrees edges, and then checks that they are indeed in the range of 0.282 and 0.283um.
Any edge outside of this range should trigger a violation.
report ("testing") ACTIVE=input(9,0) AA_45=(ACTIVE.edges.with_angle(45.degree) + ACTIVE.edges.with_angle(135.degree)) AA_45.without_length(0.282.um,0.283.um).output("45 degrees AA not between 0.282um and 0.283um")
Strangely, the DRC alerts of all polygons that are ~0.2828um.
Am I missing anything?
PS: also attached a GDS test case. I am using Klayout version 0.26.3