It looks like you're new here. If you want to get involved, click one of these buttons!
I am new to python script and klayout.
I have a gds file named "8th.gds", which contains 8th of the whole layout.
Now I want to copy it eight times, rotating and mirroring the duplication at the same time.
How to realize it with python script? Like "pya.CellInstArray(cell_index,pya.Trans(pya.Point(0,0)))" ?
Thanks a lot.
here is some sample code which places a cell called "F" 8 times. It creates a new top cell called "TOP" for this purpose:
It produces this layout from a single "inverse F" cell with with 2x2µm dimension (1nm DBU):