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/examples/tutorial
jan 6ba44e375b remove todo 6 months ago
..
README.md Add RenderPather tutorial, tutorial README, and some minor doc updates 6 months ago
basic_shapes.py update some examples 6 months ago
devices.py remove todo 6 months ago
library.py Add RenderPather tutorial, tutorial README, and some minor doc updates 6 months ago
pather.py Add RenderPather tutorial, tutorial README, and some minor doc updates 6 months ago
pcgen.py modernize type annotations 6 months ago
renderpather.py Add RenderPather tutorial, tutorial README, and some minor doc updates 6 months ago

README.md

masque Tutorial

Contents

  • basic_shapes:
    • Draw basic geometry
    • Export to GDS
  • devices
    • Reference other patterns
    • Add ports to a pattern
    • Snap ports together to build a circuit
    • Check for dangling references
  • library
    • Create a LazyLibrary, which loads / generates patterns only when they are first used
    • Explore alternate ways of specifying a pattern for .plug() and .place()
    • Design a pattern which is meant to plug into an existing pattern (via .interface())
  • pather
    • Use Pather to route individual wires and wire bundles
    • Use BasicTool to generate paths
    • Use BasicTool to automatically transition between path types
  • renderpather
    • Use RenderPather and PathTool to build a layout similar to the one in pather, but using Path shapes instead of Polygons.

Additionaly, pcgen is a utility module for generating photonic crystal lattices.

Running

Run from inside the examples directory:

cd examples/tutorial
python3 basic_shapes.py
klayout -e basic_shapes.gds