diff --git a/python/pcb.py b/python/pcb.py index aae9303c2ff6c1a874f9d50a260cc9f275cbd783..93bd9759688b6742f9022280c717fa6f05bd0e3f 100755 --- a/python/pcb.py +++ b/python/pcb.py @@ -1232,7 +1232,7 @@ class micro_USB(part): # micro USB # AMP/FCI 10118194-0001LF # - def __init__(self,value=''): + def __init__(self,value='',zb=-0.06,zt=0): w = 0.0049 # pad half width h = .55/25.4/2 # pad half height p = .65/25.4 # pad pitch @@ -1277,7 +1277,9 @@ class micro_USB(part): self.holes = cylinder(2.5/25.4,0,zb,zt,0.016) self.holes = add(self.holes,cylinder(-2.5/25.4,0,zb,zt,0.016)) self.holes = add(self.holes,cylinder(-3.5/25.4,-2.7/25.4,zb,zt,.9/25.4/2)) + self.shape= add(self.shape,cylinder(-3.5/25.4,-2.7/25.4,zb,zt,2/25.4/2)) self.holes = add(self.holes,cylinder(3.5/25.4,-2.7/25.4,zb,zt,.9/25.4/2)) + self.shape= add(self.shape,cylinder(3.5/25.4,-2.7/25.4,zb,zt,2/25.4/2)) class header_IMU_2738(part): #