It looks like you're new here. If you want to get involved, click one of these buttons!
First of all, thanks for the effort you put in this great software!
Secondly, I have a small issue while using the DRC engine, probably I'm doing something wrong here, but I can't figure out what
I have a gds file with some paths on a layer, and I wanted to copy that layer (with the paths) into another gds file.
It seems to work, however, when I inspect the file those paths have been converted to polygons?
I have some small examples to demonstrate my issue:
input_gds = "test_path.gds" # simple file with just 1 path output_gds = "test_path_copy.gds" # new file, which should contain the path source(input_gds) target(output_gds) paths = input(1, 0) paths.output(1, 0)
output_gds = "test_path.gds" target(output_gds) test_path = path([p(0, -10.um), p(20.um, -10.um)], 2.um) pl = polygon_layer.insert(test_path) pl.output(2, 0)
Both examples result in a gds file with polygons instead of paths.
Is there a way to preserve the paths?