From f3cc67efa1f7a687fa01a448e4097ae30c245573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 16 May 2022 16:03:43 +0200 Subject: [PATCH] lib: fix USB-A connector --- .../subc/CONNECTOR_906-351A1012D10200.lht | 84 ++++++++++++++----- 1 file changed, 63 insertions(+), 21 deletions(-) diff --git a/coraleda/subc/CONNECTOR_906-351A1012D10200.lht b/coraleda/subc/CONNECTOR_906-351A1012D10200.lht index 2f38fdb..4f87f07 100644 --- a/coraleda/subc/CONNECTOR_906-351A1012D10200.lht +++ b/coraleda/subc/CONNECTOR_906-351A1012D10200.lht @@ -11,14 +11,28 @@ li:pcb-rnd-subcircuit-v6 { htop = 0 hbottom = 0 hdia = 0.800mm - hplated = 0 + hplated = 1 li:shape { + ha:ps_shape_v4 { + clearance = 0.200mm + ha:ps_circ { + x = 0 + y = 0 + dia = 1.200mm + } + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } ha:ps_shape_v4 { clearance = 0 ha:ps_circ { x = 0 y = 0 - dia = 0.850mm + dia = 1.250mm } ha:layer_mask { top = 1 @@ -29,12 +43,40 @@ li:pcb-rnd-subcircuit-v6 { auto = 1 } } + ha:ps_shape_v4 { + clearance = 0.200mm + ha:ps_circ { + x = 0 + y = 0 + dia = 1.200mm + } + ha:layer_mask { + intern = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.200mm + ha:ps_circ { + x = 0 + y = 0 + dia = 1.200mm + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } ha:ps_shape_v4 { clearance = 0 ha:ps_circ { x = 0 y = 0 - dia = 0.850mm + dia = 1.250mm } ha:layer_mask { bottom = 1 @@ -280,11 +322,11 @@ li:pcb-rnd-subcircuit-v6 { ha:padstack_ref.25 { proto = 2 rot = 0 - x = 2.100mm + x = -2.100mm y = -5.500mm ha:attributes { - term = MH1 - name = MH1 + term = 4 + name = 4 } clearance = 0.200mm ha:flags { @@ -294,11 +336,11 @@ li:pcb-rnd-subcircuit-v6 { ha:padstack_ref.26 { proto = 2 rot = 0 - x = 0.700mm + x = -0.700mm y = -5.500mm ha:attributes { - term = MH2 - name = MH2 + term = 3 + name = 3 } clearance = 0.200mm ha:flags { @@ -308,11 +350,11 @@ li:pcb-rnd-subcircuit-v6 { ha:padstack_ref.27 { proto = 2 rot = 0 - x = -0.700mm + x = 0.700mm y = -5.500mm ha:attributes { - term = MH3 - name = MH3 + term = 2 + name = 2 } clearance = 0.200mm ha:flags { @@ -322,11 +364,11 @@ li:pcb-rnd-subcircuit-v6 { ha:padstack_ref.28 { proto = 2 rot = 0 - x = -2.100mm + x = 2.100mm y = -5.500mm ha:attributes { - term = MH4 - name = MH4 + term = 1 + name = 1 } clearance = 0.200mm ha:flags { @@ -339,8 +381,8 @@ li:pcb-rnd-subcircuit-v6 { x = -3.080mm y = -3.500mm ha:attributes { - term = 1 - name = 1 + term = 5 + name = 5 } clearance = 0.200mm ha:flags { @@ -353,8 +395,8 @@ li:pcb-rnd-subcircuit-v6 { x = 3.080mm y = -3.500mm ha:attributes { - term = 2 - name = 2 + term = 6 + name = 6 } clearance = 0.200mm ha:flags { @@ -367,8 +409,8 @@ li:pcb-rnd-subcircuit-v6 { x = 0.000mm y = 2.100mm ha:attributes { - term = 3 - name = 3 + term = 7 + name = 7 } clearance = 0.200mm ha:flags {