Home › Forums › Nazca › Questions and Answers › Calibre DRC crashes: Failure to read input file stdin.gds at record offset 282. › Reply To: Calibre DRC crashes: Failure to read input file stdin.gds at record offset 282.
That’s quite a class structure for drawing a waveguide, but I guess you have bigger plans with that.
The question is if those extra structures are changing anything in the gds that you are generating, but I don’t see how that would be possible.
I can view both gds cases you describe without a problem in KLayout, so the gds files seem okay from that perspective.
I am aware there have been crashes in Calibre several years ago due extensive use of curved waveguide structures as they may occur in photonics, e.g. in AWGs. That was fixed in Calibre. In this case I don’t see immediately how the 180 degree would change anything significant.
A way forward is to export the gds in ascii format and see if it provides hints:
A second thing to try is to replace
WaveguideInClass(L=100, ic=ic).put() by
demofab.deep.strt(lenght=100).put(), which should give you the same gds, and check whether Calibre thinks the same.