Skip to content

Commit

Permalink
Update taper_bezier.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Jul 29, 2024
1 parent a8d601d commit e5fc52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klayout/EBeam/pymacros/pcells_EBeam_Beta/taper_bezier.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def produce(self, layout, layers, parameters, cell):
cell.shapes(LayerSi).insert(wg_polygon)

# Create the pins on the waveguides, as short paths:
make_pin(self.cell, "opt1", [0,0], w1, LayerPinRecN, 0)
make_pin(self.cell, "opt2", [length,0], w2, LayerPinRecN, 180)
make_pin(self.cell, "opt1", [0,0], w1, LayerPinRecN, 180)
make_pin(self.cell, "opt2", [length,0], w2, LayerPinRecN, 0)

# Create the device recognition layer -- make it 1 * wg_width away from the waveguides.
path = pya.Path([pya.Point(0,0),pya.Point(length,0)],w2+w1*2)
Expand Down

0 comments on commit e5fc52f

Please sign in to comment.