It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Matthias, we're in the process of migrating our existing Ruby scripts to the latest KLayout version.
I just came across something that I didn't expect and wanted to check with you whether that's intentional or a bug:
While I don't care so much about the type of the resulting object, I would've expected the resulting coordinates to be the same.
Reading the API documentation, I realise Trans.disp was changed to return a Vector instead of a Point and also support for Vector inputs was added to the Trans.trans method.
I find the 0.25.8 result particularly puzzling as it appears to be simply (a copy of?) the 2nd Trans instance at 780,-3670.
Ideally, I'd like the scripts to be compatible with both KLayout versions, is there an alternative way to code what version 0.24.10 does, so it works the same in 0.25.8?