Hi Matthias,
Very clear. I thought the program will just calculate the external angles of polygons.
This new command does what I expected:
ep.merged.corners(-91.0 .. 91.0).output("Select external polygon corners of 90-270 degree.")
Than…
Hi Matthias,
I tried to upload gds directly here but it did not work.
Please try this link to get the gds:
https://drive.google.com/file/d/1RM_WDWZ461xJuIk7trEdIj-J9zkp000M/view?usp=sharing
Command with correct output:
ep.merged.corners(89.0 ..…
Hi,
Did you save the script as "testing.lydrc"? I think it should be "testing.drc".
However, for your objective, I think it is more straight forward to use "Basic scripts" in macro development (first section in the li…
I tried Keil's code with Mathias's correction, but ran into a different problem.
Line:
ly.write("my_layout.gds")
Error:
"Internal error: /usr/src/packages/BUILD/klayout-0.24.9/src/dbLayout.cc:1289 topological_sort () was not true in…