Update to github version
This commit is contained in:
@@ -452,7 +452,7 @@ class ADC_STD_2x2:
|
||||
_dX_ = abs(pin_a1.x)
|
||||
|
||||
else :
|
||||
Ltp = np.max([_dX_-5,np.abs(self.wu0+err-self.wu_in)/np.tan(self.tp_angle/180*pi)])
|
||||
Ltp = np.max([-5,np.abs(self.wu0+err-self.wu_in)/np.tan(self.tp_angle/180*pi)])
|
||||
Ltp = int(Ltp*20)*0.05 ## keep it in integer
|
||||
temp = nd.strt(xs=self.xs,length=5,width=self.wu0+err).put(0,vtx_upper_y[0]/2+vtx_upper_y[-1]/2,180,flip=0)
|
||||
pin_a1 = nd.taper(xs=self.xs,length=Ltp,width1=self.wu0+err,width2=self.wu_in).put().pin['b0']
|
||||
|
||||
Reference in New Issue
Block a user