Open Aypac opened 6 years ago
The discussion at heitzmann/gdspy#51 has resulted in a negative reply (I agree that it does not make sense to implement it there). The reason for this is ofc to reduce the number of polygons and therefore filesize greatly.
Find a way to detect simple circles and replace those polygons with the according TikZ command.
If the gds is created directly by gdspy commands one can detect the use of the Round class and use the original creation parameters ( see https://github.com/heitzmann/gdspy/pull/51 ).
from the gdspy docs:
(From discussions with Marc)
If loaded from a file, one can test each polygon if it is a circle, arc, pie slice, ring or ring slice:
Some more thoughts: