It looks like you're new here. If you want to get involved, click one of these buttons!
I am using python to draw my layout, and for some reason I do not manage to use the round corners function. Please help!
At first I was using Box but it appears that it does not inherit the Round Corners from Polygon, so I changed it..
Here's the relevant code I'm using, an example for a single box-polygon:
layout = pya.Layout()
top = layout.create_cell("TOP")
Layer1 = layout.layer(1, 0)
BL = pya.Point(x1,y1)
BR = pya.Point(x2,y1)
TR = pya.Point(x2,y2)
TL = pya.Point(x1,y2)
rec = CreateRect (-30,-30,30,30)
When I run this code, I get the same result as if I just use insert(rec), without the round corners. Note that in the GUI, after that is done, I can go edit>selection>Round Corners> 10 / 1 / 100 and it works perfectly. Any chance you know why this doesn't work through python?