It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Matthias,
"Auto measure" is a handy feature of KLayout!
I wonder if this can be "doubly automated" by Ruby/Python.
Given: A layout design and a list of distinct points, each of which represents a single mouse click point in "auto measure."
Output: A set of annotations (rulers) inserted into the layout design.
Please refer to the attachment that contains a sample OASIS data, AutoMeasure-01-Points.oas and two image files.
In Fig-01.png, yellow rectangles (their center points) correspond to the mouse click points to draw "auto measures."
The result should be as shown in Fig-02.png.
In the sample data, there are such 1871 "sampling points."
To gain speed and to enable a precise click on each sampling point, automation is essential.
Those generated "cut vectors" are further used to control a machine to measure the width and the cross-sectional profile of the fabricated trace.
Is this functionality achievable with existing functions?
If not, I'll appreciate if you take this as a future enhancement request.
With best regards,
Kazzz
Comments
Hi Kazzz,
thanks for this hint. The feature isn't available currently as a script function. That's possible of course. If have created a ticket for this: https://www.klayout.de/forum/discussion/1310/ruby-python-automation-of-auto-measure#latest
The algorithm can basically be emulated by script, but it will be a big chunk of code. I'll try to include the automation function in the next release.
Best regards,
Matthias
Hi Matthias,
Thank a lot for your positive response!
I have created a ticket for this: https://github.com/KLayout/klayout/issues/333
With warm regards,
Kazzz
Thanks ... now we have two tickets: I had pasted the wrong URL :-(
I will close mine.
Matthias
For the update, please visit:
https://github.com/KLayout/klayout/issues/333#issuecomment-526828518
Thanks a lot!
Kazzz