From 44601f120bcb81e3f499f9a59f5362a7b18d97d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Fri, 25 Jun 2021 18:12:11 +0200 Subject: [PATCH] lib: add hand made footprint (CR2032 battery holder) --- coraleda/subc/SQJ-WJ-CR2032-1-W.lht | 604 ++++++++++++++++++++++++++++ 1 file changed, 604 insertions(+) create mode 100644 coraleda/subc/SQJ-WJ-CR2032-1-W.lht diff --git a/coraleda/subc/SQJ-WJ-CR2032-1-W.lht b/coraleda/subc/SQJ-WJ-CR2032-1-W.lht new file mode 100644 index 0000000..ec34dfb --- /dev/null +++ b/coraleda/subc/SQJ-WJ-CR2032-1-W.lht @@ -0,0 +1,604 @@ +li:pcb-rnd-subcircuit-v8 { + ha:subc.2654 { + ha:attributes { + refdes = U0 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.2mm + li:ps_poly { + -2.5mm + -3.5mm + 2.5mm + -3.5mm + 2.5mm + 3.5mm + -2.5mm + 3.5mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -2.5mm + -3.5mm + 2.5mm + -3.5mm + 2.5mm + 3.5mm + -2.5mm + 3.5mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -2.55mm + -3.55mm + 2.55mm + -3.55mm + 2.55mm + 3.55mm + -2.55mm + 3.55mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.2mm + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 696.8503937mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 17.8mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 696.8503937mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.2651 { + smirror = 0 + ha:attributes { + term = 1 + } + proto = 0 + xmirror = 0 + x = 104.71mm + rot = 0.000000 + y = 36.83mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 0.2mm + } + ha:padstack_ref.2652 { + smirror = 0 + ha:attributes { + term = 2 + } + proto = 1 + xmirror = 0 + x = 92.71mm + rot = 0.000000 + y = 36.83mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 0.2mm + } + ha:padstack_ref.2653 { + smirror = 0 + ha:attributes { + term = 1 + } + proto = 0 + xmirror = 0 + x = 80.71mm + rot = 0.000000 + y = 36.83mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 0.2mm + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:arc.2662 { + astart = 336.614779 + thickness = 10.0mil + width = 10.0mm + height = 10.0mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -66.614779 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2663 { + astart = -90.000000 + thickness = 10.0mil + width = 10.0mm + height = 10.0mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -66.614779 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2665 { + astart = 156.614779 + thickness = 10.0mil + width = 10.0mm + height = 10.0mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -66.614779 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2666 { + astart = 90.000000 + thickness = 10.0mil + width = 10.0mm + height = 10.0mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -66.614779 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:text.2617 { + scale = 100 + ha:attributes { + } + x = 91.81mm + y = 36.08mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + clearline = 1 + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + auto = 1 + } + } + ha:top-assy { + lid = 1 + ha:type { + top = 1 + doc = 1 + } + purpose = assy + li:objects { + ha:line.2580 { + clearance = 40.0mil + y2 = 27.13mm + thickness = 0.2mm + ha:attributes { + } + x1 = 94.71mm + x2 = 90.71mm + ha:flags { + clearline = 1 + } + y1 = 27.13mm + } + ha:line.2583 { + clearance = 40.0mil + y2 = 33.820002mm + thickness = 0.2mm + ha:attributes { + } + x1 = 102.151324mm + x2 = 102.141326mm + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:line.2586 { + clearance = 40.0mil + y2 = 33.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 102.81mm + x2 = 102.151324mm + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:line.2589 { + clearance = 40.0mil + y2 = 33.820002mm + thickness = 0.2mm + ha:attributes { + } + x1 = 83.268676mm + x2 = 83.278674mm + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:line.2592 { + clearance = 40.0mil + y2 = 33.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 3.2523622in + x2 = 83.268676mm + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:line.2595 { + clearance = 40.0mil + y2 = 39.839998mm + thickness = 0.2mm + ha:attributes { + } + x1 = 83.268676mm + x2 = 83.278674mm + ha:flags { + clearline = 1 + } + y1 = 39.83mm + } + ha:line.2598 { + clearance = 40.0mil + y2 = 39.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 3.2523622in + x2 = 83.268676mm + ha:flags { + clearline = 1 + } + y1 = 39.83mm + } + ha:line.2601 { + clearance = 40.0mil + y2 = 39.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 3.2523622in + x2 = 3.2523622in + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:line.2604 { + clearance = 40.0mil + y2 = 39.839998mm + thickness = 0.2mm + ha:attributes { + } + x1 = 102.151324mm + x2 = 102.141326mm + ha:flags { + clearline = 1 + } + y1 = 39.83mm + } + ha:line.2607 { + clearance = 40.0mil + y2 = 39.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 102.81mm + x2 = 102.151324mm + ha:flags { + clearline = 1 + } + y1 = 39.83mm + } + ha:line.2610 { + clearance = 40.0mil + y2 = 39.83mm + thickness = 0.2mm + ha:attributes { + } + x1 = 102.81mm + x2 = 102.81mm + ha:flags { + clearline = 1 + } + y1 = 33.83mm + } + ha:arc.2613 { + astart = 162.299572 + thickness = 0.2mm + width = 9.9mm + height = 9.9mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -72.299572 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2614 { + astart = 342.299572 + thickness = 0.2mm + width = 9.9mm + height = 9.9mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -60.649273 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2615 { + astart = 90.000000 + thickness = 0.2mm + width = 9.9mm + height = 9.9mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -72.299572 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + ha:arc.2616 { + astart = 258.349701 + thickness = 0.2mm + width = 9.9mm + height = 9.9mm + ha:attributes { + } + x = 92.71mm + y = 36.83mm + adelta = -60.649273 + ha:flags { + clearline = 1 + } + clearance = 40.0mil + } + } + ha:combining { + } + } + ha:top-courtyard { + lid = 2 + ha:type { + top = 1 + doc = 1 + } + purpose = ko.courtyard + li:objects { + ha:polygon.2618 { + ha:attributes { + } + li:geometry { + ta:contour { + { 77.96mm; 1.3023622in } + { 83.105431mm; 1.3023622in } + { 83.254805mm; 32.620276mm } + { 84.336674mm; 30.746423mm } + { 85.784498mm; 29.138451mm } + { 87.535mm; 27.866637mm } + { 89.511674mm; 26.986565mm } + { 91.62813mm; 26.536698mm } + { 93.79187mm; 26.536698mm } + { 95.908326mm; 26.986565mm } + { 97.885mm; 27.866637mm } + { 99.635502mm; 29.138451mm } + { 3.9796585in; 30.746423mm } + { 102.165195mm; 32.620276mm } + { 102.314569mm; 1.3023622in } + { 107.46mm; 1.3023622in } + { 107.46mm; 40.58mm } + { 102.314569mm; 40.58mm } + { 102.165195mm; 41.039724mm } + { 3.9796585in; 1.68951091in } + { 99.635502mm; 44.521549mm } + { 97.885mm; 1.80288831in } + { 95.908326mm; 46.673435mm } + { 93.79187mm; 47.123302mm } + { 91.62813mm; 47.123302mm } + { 89.511674mm; 46.673435mm } + { 87.535mm; 1.80288831in } + { 85.784498mm; 44.521549mm } + { 84.336674mm; 1.68951091in } + { 83.254805mm; 41.039724mm } + { 83.105431mm; 40.58mm } + { 77.96mm; 40.58mm } + } + } + ha:flags { + fullpoly = 1 + } + clearance = 40.0mil + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 3 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.2655 { + clearance = 0.0 + y2 = 36.83mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 92.71mm + x2 = 92.71mm + ha:flags { + selected = 1 + } + y1 = 36.83mm + } + ha:line.2658 { + clearance = 0.0 + y2 = 36.83mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 92.71mm + x2 = 93.71mm + ha:flags { + selected = 1 + } + y1 = 36.83mm + } + ha:line.2661 { + clearance = 0.0 + y2 = 37.83mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 92.71mm + x2 = 92.71mm + ha:flags { + selected = 1 + } + y1 = 36.83mm + } + } + ha:combining { + } + } + } + } + uid = QEWj0Sm7jZrDdbs0/XYAAAAK + ha:flags { + } + } + ha:pixmaps { + } +}