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. 6 months ago
doc Initial commit. 1 year ago
pymacros Use `db.Region.smoothened()` to achieve the goal. 6 months ago
README.md Fix typo. 1 year ago
grain.xml Bump version. 6 months ago
icon.svg Udpate icon. 1 year 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'.