It looks like you're new here. If you want to get involved, click one of these buttons!
ln_wg = input(1, 0)
min_cont_w = 350.nm
delta = 2*2**0.5.dbu
r_cont_w = ln_wg.raw.width(projection, min_cont_w - delta, angle_limit(89.5))
but the above code cannot detect sloped rectangle, the fake error is that whatever the angle is, there will exist an error in the edge pair, even if the width is satisfied. The output is show in the following figure, Could anyone help me a little bit? Thanks.