I’m currently working with bend polygons using the following line of code: mycon.bend(angle=-90).put().
I’ve noticed that each bend polygon only has around only 80 vertices, which could cause inhomogeneous bending and unexpected behavior in my case. I’m wondering what might be causing the low number of vertices in these polygons. Are there any limitations or settings that could be responsible for this? Additionally, I’m looking for suggestions on how to achieve a better resolution for the bend polygons, whether that means increasing the vertex count or exploring other approaches.
The discretization depends on the setting of the accuracy of the layer)(s) that you draw on. Setting this to 0.001 (1nm) will be good for optical waveguides. It specifies the maximum deviation from the (mathematical) curve. Using a larger setting can be used to reduce the number of points e.g. for metal routing. An example can be found in this post: https://nazca-design.org/forums/topic/angular-discretization-for-bends/