Skip to content

Instantly share code, notes, and snippets.

View silverlyra's full-sized avatar

Lyra Naeseth silverlyra

View GitHub Profile

4000 0566 5566 5556

Keybase proof

I hereby claim:

  • I am silverlyra on github.
  • I am silverlyra (https://keybase.io/silverlyra) on keybase.
  • I have a public key ASAQV0cZs-R93nvA4TxOrhf_0g-kIwYNlghwC6oq_PwbfAo

To claim this, I am signing this object:

@silverlyra
silverlyra / calc_area.py
Created June 8, 2023 17:52 — forked from g2hollow/calc_area.lym
klayout macro qt area calculator
import pya
class AreaCalculator(pya.QDialog):
"""
This class implements a dialog for calculating area of shapes
in a layout. The calculator adds up shapes in the currently
selected cell and below.
"""
def button_clicked(self, checked):