Update to github version
This commit is contained in:
@@ -565,7 +565,11 @@ class spiral_rectangle:
|
||||
print("WARNING: In <mxpic::passive::spiral>, Dmin too small")
|
||||
D_port = self.Dmin - bend_sz[1]*2
|
||||
|
||||
with nd.Cell(instantiate=True,name="wg_mid_cell"+self.name) as wg_mid_cell:
|
||||
if (self.name is None):
|
||||
wg_mid_name = None
|
||||
else:
|
||||
wg_mid_name = "wg_mid_cell"+self.name
|
||||
with nd.Cell(instantiate=self.instantiate,name=wg_mid_name) as wg_mid_cell:
|
||||
|
||||
wg = self.__strt_with_taper__(length=self.Lmin-bend_sz[0]*2-bend_sz[0],width2=self.width,width1=bend_cell.pin['a0'].
|
||||
width,xs=self.xs,Ltp=self.Ltp).put(-self.Lmin/2+bend_sz[0]*2+bend_sz[0],0,0,flip=1)
|
||||
|
||||
Reference in New Issue
Block a user