To add Xaveer’s answer, there are 5 class objects in Nazca with a put() method. Some of these objects have an equivalent in GDS and most of these put methods have return type None, including the Polygon. See the overview below.
The Pyclipper needs to work on polygon points as Xaveer explained. For the ‘grow’ this has also been implemented as a Polygon class method, which internally operates on the polygon stored in the Polygon object.
import nazca as nd pgon1 = nd.Polygon(points=[(0, 0), (5, 0), (0,5)]) pgon2 = pgon1.grow(grow=1) pgon1.put(0) pgon2.put(10) nd.export_plt()