Thanks for your comments. This is a photonic circuit layout, so the issue, I suppose, is that the original polygon is a curve (which requires very high density of data points), whereas the resizing is to create fill keepout. And yes, the jogs occu…
A problem with this approach is that I have no idea how to enumerate all of the "not_the_target" layers. This code needs to work when there are an arbitrary number of arbitrarily-numbered "not_the_target" layers.
I feel like th…