Home Forums Nazca Low Vertex Count in Bend Polygons

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6945
    lomuc
    Participant

    is based in Eindhoven

    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.

    #6948
    Xaveer
    Moderator

    Dear Lomuc,

    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/

    Xaveer

    #6953
    lomuc
    Participant

    is based in Eindhoven

    Thank you Xaveer. Very helpful!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.