Python package for EDA / lithography mask design.
Go to file
jan d5a255a9d7 Add mirror() to shapes
Might need to fix ordering on Text.to_polygons()
2018-04-14 15:27:56 -07:00
examples Test writing to gds in ellip_grating 2017-11-04 12:18:58 -07:00
masque Add mirror() to shapes 2018-04-14 15:27:56 -07:00
.gitignore Add all files to repository 2016-03-15 19:12:39 -07:00
LICENSE.md Add license 2016-04-13 03:51:25 -07:00
README.md move code to new location 2018-01-15 22:35:12 -08:00
setup.py move code to new location 2018-01-15 22:35:12 -08:00

Masque README

Masque is a Python module for designing lithography masks.

The general idea is to implement something resembling the GDSII file-format, but with some vectorized element types (eg. circles, not just polygons), better support for E-beam doses, and the ability to output to multiple formats.

Installation

Requirements:

  • python >= 3.5 (written and tested with 3.6)
  • numpy
  • pyclipper
  • matplotlib (optional, used for visualization functions and text)
  • python-gdsii (optional, used for gdsii i/o)
  • svgwrite (optional, used for svg output)
  • freetype (optional, used for text)

Install with pip, via git:

pip install git+https://mpxd.net/code/jan/masque.git@release

TODO

  • Mirroring
  • Polygon de-embedding

Maybe

  • Construct from bitmap
  • Boolean operations on polygons (using pyclipper)
  • Output to OASIS (using fatamorgana)