It looks like you're new here. If you want to get involved, click one of these buttons!
Hi folks,
I have a proposal for a new ruler variation to measure the radius of an arc. The method, I think of, would be, to click three points on the curvature of an arc, which then produces an arc ruler, which shows the radius of this arc, maybe with a nice arrow pointing to the mid of the curvature. I already wanted to write a small ruby script myself, but currently I am totally overloaded with other work, so I simply throw my idea in the ring.
So please tell me, what you think about the idea and if you know some better or easier way of determing the radius of an arc in klayout, please tell me. Have a very nice time.
Comments
@floz Nice proposal, thanks.
It will however not be easy to implement as rulers currently have a maximum number of two points. But basically it should be possible to extend annotations to three points as well.
I have created a ticket for this request, but I can't promise a quick implementation: https://github.com/KLayout/klayout/issues/906
Arcs are not common in (usual) chip design, so curved features are not well supported as of now. I wonder if there is a broader interest here. Maybe others want to comment?
Thanks,
Matthias
I confirmed that I have sometimes to follow some design rules with a defined radius ... that is double checked by my subcontractor ... this arc ruler definitly has some application !
Laurent
Hello Matthias,
We use circles to measure the correct radius - an arc ruler is always on top of our designers wish list.
All our BJT and MOS use radius and this is our main working area for klayout.
Best Regards,
Andy
Ok, understood
It's on the issue tracker. Stay tuned.
Matthias
Hi Matthias,
fortunately, I had some time to play around with Python and wrote code to implement the ARC ruler in KLayout. The usage is pretty easy: Choose ARC Ruler from menu, click three points on the arc and get a circle style ruler with center and radius of the arc. Please see code below.
@floz I'm impressed!
Thanks for sharing the code!
The ruler does not have the original points, so you cannot fine adjust it by dragging them. But maybe this solution is already good for a lot of use cases.
Thanks again,
Matthias
Perfect if dragging would be possible - thanks a lot for sharing.