From fede528ab7dd28fc867bc5346d384af9c83ecfd7 Mon Sep 17 00:00:00 2001 From: Neil Gershenfeld <gersh@cba.mit.edu> Date: Fri, 11 Mar 2022 18:24:51 -0500 Subject: [PATCH] wip --- python/pcb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/pcb.py b/python/pcb.py index aae9303..93bd975 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): # -- GitLab