From 7b095612d83474cd8b37bc04abf95347b416bc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 11 May 2022 19:34:01 +0200 Subject: [PATCH] lib: fix USB-A pinout --- .../subc/CONNECTOR_906-351A1012D10200.lht | 84 +++++-------------- 1 file changed, 21 insertions(+), 63 deletions(-) diff --git a/coraleda/subc/CONNECTOR_906-351A1012D10200.lht b/coraleda/subc/CONNECTOR_906-351A1012D10200.lht index 9ecf1ba..2f38fdb 100644 --- a/coraleda/subc/CONNECTOR_906-351A1012D10200.lht +++ b/coraleda/subc/CONNECTOR_906-351A1012D10200.lht @@ -11,28 +11,14 @@ li:pcb-rnd-subcircuit-v6 { htop = 0 hbottom = 0 hdia = 0.800mm - hplated = 1 + hplated = 0 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 = 1.250mm + dia = 0.850mm } ha:layer_mask { top = 1 @@ -43,40 +29,12 @@ 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 = 1.250mm + dia = 0.850mm } ha:layer_mask { bottom = 1 @@ -322,11 +280,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 = 1 - name = 1 + term = MH1 + name = MH1 } clearance = 0.200mm ha:flags { @@ -336,11 +294,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 = 2 - name = 2 + term = MH2 + name = MH2 } clearance = 0.200mm ha:flags { @@ -350,11 +308,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 = 3 - name = 3 + term = MH3 + name = MH3 } clearance = 0.200mm ha:flags { @@ -364,11 +322,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 = 4 - name = 4 + term = MH4 + name = MH4 } clearance = 0.200mm ha:flags { @@ -381,8 +339,8 @@ li:pcb-rnd-subcircuit-v6 { x = -3.080mm y = -3.500mm ha:attributes { - term = 5 - name = 5 + term = 1 + name = 1 } clearance = 0.200mm ha:flags { @@ -395,8 +353,8 @@ li:pcb-rnd-subcircuit-v6 { x = 3.080mm y = -3.500mm ha:attributes { - term = 6 - name = 6 + term = 2 + name = 2 } clearance = 0.200mm ha:flags { @@ -409,8 +367,8 @@ li:pcb-rnd-subcircuit-v6 { x = 0.000mm y = 2.100mm ha:attributes { - term = 7 - name = 7 + term = 3 + name = 3 } clearance = 0.200mm ha:flags {