It looks like you're new here. If you want to get involved, click one of these buttons!
I'm trying to split rectilinear polygons in rectangles in the DRC environment. Not sure if the code below is the way to go: it produces some shifts for some of the structures and I can't figure out why... Any idea what the issue might be?
Very amazed by the power of KLayout!!!
Layer01 = input(1,0)
Layer01A = Layer01.rectilinear
Layer01B = polygon_layer
trapezoids = polygon.to_itype.decompose_trapezoids