diff --git a/python/pcb.py b/python/pcb.py index 8d1f0970b07cf3d1f79e836fc328631fab92d119..4cb5f3536e2fa3ffbf271a2d858bccc073eadb53 100755 --- a/python/pcb.py +++ b/python/pcb.py @@ -6639,6 +6639,51 @@ class VL53L1X(part): # ICs ############################################################ +class SN74LVC1G14DCKR(part): + # + # single Schmidt trigger inverter SOT-353 SC-70-5 + # + def __init__(self,value=''): + self.value = value + self.pad = [point(0,0,0)] + self.labels = [] + w = 0.95/25.4/2 + h = 0.25/25.4/2 + d = 2.2/25.4/2 + p = 0.65/25.4 + pad = cube(-w,w,-h,h,0,0) + s = 0.003 + # + # pin 1 + # + self.shape = translate(pad,-d,p,0) + self.pad.append(point(-d,p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'N',line=s,angle=90)) + # + # pin 2 + # + self.shape = add(self.shape,translate(pad,-d,0,0)) + self.pad.append(point(-d,0,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'A',line=s,angle=90)) + # + # pin 3 + # + self.shape = add(self.shape,translate(pad,-d,-p,0)) + self.pad.append(point(-d,-p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'G',line=s,angle=90)) + # + # pin 4 + # + self.shape = add(self.shape,translate(pad,d,-p,0)) + self.pad.append(point(d,-p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'Y',line=s,angle=90)) + # + # pin 5 + # + self.shape = add(self.shape,translate(pad,d,p,0)) + self.pad.append(point(d,p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'V',line=s,angle=90)) + class TLV3601DBVR(part): # # TLV3601DBVR