Skip to content

Instantly share code, notes, and snippets.

View jwt625's full-sized avatar
🐢
Alive

Wentao jwt625

🐢
Alive
  • Flux Photonics
  • Pacifica, CA
  • 04:32 (UTC -07:00)
View GitHub Profile
@jwt625
jwt625 / calc_area.lym
Created March 30, 2023 22:51 — 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):