Home Forums Nazca Rounded Rectangle has no rounded edges

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6326
    ChristianT
    Participant

    Hello,

    im currently working with nazca and need a rectangle with rounded edges. So i tried to use the geometries function for rounded rectangles but the rectangle has no rounded edges in the *.gds file.
    The code I use looks like this

    import nazca as nd
    
    with nd.Cell() as rr:
    nd.Polygon(layer = 15, points=nd.geometries.rounded_rect(length=350,height=350)).put()
    
    rr.put()
    nd.export_gds()

    The rectangle looks like this

    Image of the Rectangle

    Maybe you can help me.

    Greetings

    Christian

    #6334
    Xaveer
    Moderator

    Hi Christian,

    The rounded rectangle requires the pyclipper module: install with

    pip install pyclipper
    

    You should have seen a warning about “No pyclipper”?

    Xaveer

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