Hi,
I would like to draw some ellipse in my layout, but I have not found any way to do so with the Nazca modules. Do you have any suggestions how to do this?
You can just define the points of the ellipse yourself in a loop, or you could use the Nazca circle() and transform the points. Here is an example:
import nazca as nd
circle = nd.geometries.circle(radius=5, N=20)
ellipse = [(x * 0.5, y) for x, y in circle]
nd.Polygon(points=ellipse, layer=1).put()
nd.export_gds()