You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
masque/README.md

55 lines
1.5 KiB
Markdown

# 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) and the ability
to output to multiple formats.
- [Source repository](https://mpxd.net/code/jan/masque)
4 years ago
- [PyPI](https://pypi.org/project/masque)
## Installation
Requirements:
1 year ago
* python >= 3.11
* numpy
* klamath (optional, used for `gdsii` i/o)
* matplotlib (optional, used for `visualization` functions and `text`)
* ezdxf (optional, used for `dxf` i/o)
* fatamorgana (optional, used for `oasis` i/o)
* svgwrite (optional, used for `svg` output)
* freetype (optional, used for `text`)
Install with pip:
```bash
1 year ago
pip install 'masque[visualization,oasis,dxf,svg,text]'
```
Alternatively, install from git
```bash
1 year ago
pip install git+https://mpxd.net/code/jan/masque.git@release
```
7 years ago
1 year ago
## Glossary
- `Library`: OASIS or GDS "library" or file (a collection of named cells)
4 years ago
- `Pattern`: OASIS or GDS "Cell", DXF "Block"
1 year ago
- `Ref`: GDS "AREF/SREF", OASIS "Placement"
4 years ago
- `Shape`: OASIS or GDS "Geometry element", DXF "LWPolyline" or "Polyline"
1 year ago
- `repetition`: OASIS "repetition". GDS "AREF" is a `Ref` combined with a `Grid` repetition.
4 years ago
- `Label`: OASIS, GDS, DXF "Text".
- `annotation`: OASIS or GDS "property"
7 years ago
## TODO
4 years ago
* Better interface for polygon operations (e.g. with `pyclipper`)
- de-embedding
- boolean ops
1 year ago
* DOCS DOCS DOCS
* Tests tests tests
* check renderpather
* pather and renderpather examples