KLayoutPhotonicPCells core Package
This package extends KLayout with photonic PCells. Namely it provides the possibility to create ports. Ports in comparison to pins of electronics have additionally to the position also a direction and length. Furthermore, this package allows to build hierarchical PCells. These allow instantiating other PCells and connect them via ports or position them relativ to the coordinate system of the parent PCell.
The full documentation is in the docs folder. It is available as a sphinx html documentation at docs/index.html . A pdf version is available in the docs folder, too.
Online documentation is available on GitHub Pages