KLayout API implementation of gdsfactory
Project description
KFactory 0.5.8
Kfactory is a gdsfactory-like tool. It is built with KLayout as a backend instead of gdstk, but aims to offer the similar featuers.
Features similar to gdsfactory:
- Cells & decorator for caching & storing cells
- Simple routing (point to point and simpl bundle routes for electrical routes)
- Basic cells like euler/circular bends, taper, waveguide
- Path extrusion (no interface with CrossSections)
Notable missing Features:
- PDK/package configuration
- CrossSection
- Netlist/Schematics and LVS
- More advanced routing
- Plugin system (simulations etc.)
- Jupyter integration
New/Improved Features:
- Fully hierarchical bi-directional conversion to YAML
- Automatic snapping to grid thanks to KLayout
- More features for vector geometries due to concept of Point/Edge/Vector/Polygon from Klayout
- Easy booleans thanks to KLayout Regions
- Enclosures: use the concept of enclosures, similar to cross sections, to allow automatic calculation of boolean layers for structures based on minkowski sum, which are built into KLayout
Installation
kfactory is available on pypi
pip install kfactory
At the moment kfactory works only on python 3.10
Development Installation
A development environment can be installed with
python -m pip install .[dev]
It is defined in pyproject.toml
. For committing pre-commit
should be installed with pre-commit install
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kfactory-0.5.8.tar.gz
(1.1 MB
view hashes)
Built Distribution
kfactory-0.5.8-py3-none-any.whl
(48.0 kB
view hashes)