Metadata-Version: 2.1
Name: masque
Version: 1.3
Summary: Lithography mask library
Home-page: https://mpxd.net/code/jan/masque
Author: Jan Petykiewicz
Author-email: anewusername@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Manufacturing
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Classifier: Topic :: Scientific/Engineering :: Visualization
Description-Content-Type: text/markdown
Requires-Dist: numpy
Provides-Extra: gdsii
Requires-Dist: python-gdsii ; extra == 'gdsii'
Provides-Extra: svg
Requires-Dist: svgwrite ; extra == 'svg'
Provides-Extra: text
Requires-Dist: freetype-py ; extra == 'text'
Requires-Dist: matplotlib ; extra == 'text'
Provides-Extra: visualization
Requires-Dist: matplotlib ; extra == 'visualization'

# 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.

- [Source repository](https://mpxd.net/code/jan/masque)
- [PyPi](https://pypi.org/project/masque)


## Installation

Requirements:
* python >= 3.5 (written and tested with 3.6)
* numpy
* 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:
```bash
pip3 install 'masque[visualization,gdsii,svg,text]'
```

Alternatively, install from git
```bash
pip3 install git+https://mpxd.net/code/jan/masque.git@release
```

## TODO

* Polygon de-embedding
* Construct from bitmap
* Boolean operations on polygons (using pyclipper)
* Output to OASIS (using fatamorgana)


