Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Polygon clipping with interconnects #5474
    weiming
    Participant

    Dear Ronald,

    thanks for the detailed example. With that, I managed to obtain the polygon information. However, I could not manage to perform the boolean substration using the pyclipper module and had to use the point addition/substration as suggested in the other thread. This is not the optimum solution for me but does the job for now.

    Many thanks!

    in reply to: Polygon clipping with interconnects #5471
    weiming
    Participant

    Dear Ronald,

    thanks for the reference to the other post. I am still struggling with getting the actual polygons from an interconnect object. In below example, only obj0 has a polygons property, although it is empty.

    
    import nazca as nd
    import nazca.interconnects as IC
    
    ic1 = IC.Interconnect(width=2.0, radius=20)
    ic2 = IC.Interconnect(width=1.0, radius=50)
    
    #use the interconnect objects to create layout:
    obj1 = ic1.strt(length=10).put(0)
    obj2 = ic1.bend(angle=45).put()
    obj0 = ic1.strt(length=10)
    obj3 = ic2.strt(length=20).put(20)
    obj4 = ic2.bend(angle=45).put()
    
    nd.export_gds(filename='testing.gds', clear=True)
    in reply to: GDS handling in nazca #5386
    weiming
    Participant

    Hi Xaveer,

    thanks! That works perfectly.

    Regards,

    Weiming

Viewing 3 posts - 1 through 3 (of 3 total)