KLayout macro for simplification (approximation) of polygons.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Kramer 980be2063e Bump version. 2 years ago
doc Initial commit. 3 years ago
pymacros Use `db.Region.smoothened()` to achieve the goal. 2 years ago
README.md Fix typo. 3 years ago
grain.xml Bump version. 2 years ago
icon.svg Udpate icon. 3 years ago


Polygon approximation for KLayout

This KLayout plugin allows to approximate all polygons in a layout by polygons with fewer vertices while respecting a maximal approximation error.

This plugin has been developed mainly for de-manhattanization of photonic structures. Layouts of photonic circuits have to be manhattanized for some fabrication processes, i.e. the layout must be converted such that it only contains horizontal and vertical polygon edges. For some usecases it is convenient to revert this manhattanization.


When properly installed in KLayout the simplification algorithm can be invoked over the menu 'Tools' -> 'Simplify Layout'.