diff --git a/coraleda/subc/INDUCTOR_SLH.lht b/coraleda/subc/INDUCTOR_SLH.lht new file mode 100644 index 0000000..8b38c8e --- /dev/null +++ b/coraleda/subc/INDUCTOR_SLH.lht @@ -0,0 +1,335 @@ +# subcircuit generated using QEDA +li:pcb-rnd-subcircuit-v6 { + ha:subc.1 { + uid = INDUCTOR_SLH............ + ha:attributes { + footprint = INDUCTOR_SLH + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.2 { + htop = 0 + hbottom = 0 + hdia = 0 + hplated = 0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.200mm + li:ps_poly { + -2.700mm + -1.450mm + 2.700mm + -1.450mm + 2.700mm + 1.450mm + -2.700mm + 1.450mm + } + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -2.750mm + -1.500mm + 2.750mm + -1.500mm + 2.750mm + 1.500mm + -2.750mm + 1.500mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -2.700mm + -1.450mm + 2.700mm + -1.450mm + 2.700mm + 1.450mm + -2.700mm + 1.450mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + } + } + li:objects { + ha:padstack_ref.23 { + proto = 2 + rot = 0 + x = 0.000mm + y = -5.000mm + ha:attributes { + term = 1 + name = 1 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.24 { + proto = 2 + rot = 0 + x = 0.000mm + y = 5.000mm + ha:attributes { + term = 2 + name = 2 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + } + li:layers { + ha:subc-aux { + lid = 0 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.25 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.26 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.000mm + x2 = 1.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.27 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 1.000mm + } + ha:line.28 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 0.000mm + } + } + } + ha:top-silkscreen { + lid = 1 + ha:type { + top = 1 + silk = 1 + } + li:objects { + ha:text.29 { + x = 0.000mm + y = 0.000mm + rot = 0 + scale = 100 + string = %a.parent.refdes% + fid = 0 + ha:flags { + floater = 1 + dyntext = 1 + } + } + ha:line.30 { + x1 = -6.100mm + y1 = -6.100mm + x2 = -3.000mm + y2 = -6.100mm + thickness = 0.200mm + clearance = 0 + } + ha:line.31 { + x1 = 3.000mm + y1 = -6.100mm + x2 = 6.100mm + y2 = -6.100mm + thickness = 0.200mm + clearance = 0 + } + ha:line.32 { + x1 = 6.100mm + y1 = -6.100mm + x2 = 6.100mm + y2 = 6.100mm + thickness = 0.200mm + clearance = 0 + } + ha:line.33 { + x1 = -6.100mm + y1 = 6.100mm + x2 = -3.000mm + y2 = 6.100mm + thickness = 0.200mm + clearance = 0 + } + ha:line.34 { + x1 = 3.000mm + y1 = 6.100mm + x2 = 6.100mm + y2 = 6.100mm + thickness = 0.200mm + clearance = 0 + } + ha:line.35 { + x1 = -6.100mm + y1 = 6.100mm + x2 = -6.100mm + y2 = -6.100mm + thickness = 0.200mm + clearance = 0 + } + } + } + ha:top-assembly { + lid = 2 + ha:type { + top = 1 + doc = 1 + } + purpose = assy + li:objects { + ha:arc.36 { + x = 0.000mm + y = 0.000mm + width = 0.500mm + height = 0.500mm + thickness = 0.100mm + astart = 0 + adelta = 360 + clearance = 0 + } + ha:line.37 { + x1 = -0.700mm + y1 = 0.000mm + x2 = 0.700mm + y2 = 0.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.38 { + x1 = 0.000mm + y1 = -0.700mm + x2 = 0.000mm + y2 = 0.700mm + thickness = 0.100mm + clearance = 0 + } + ha:text.39 { + x = 0.000mm + y = 0.000mm + rot = 0 + scale = 100 + string = INDUCTOR_SLH + fid = 0 + ha:flags { + floater = 1 + } + } + ha:line.40 { + x1 = -6.000mm + y1 = -6.000mm + x2 = 6.000mm + y2 = -6.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.41 { + x1 = 6.000mm + y1 = -6.000mm + x2 = 6.000mm + y2 = 6.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.42 { + x1 = 6.000mm + y1 = 6.000mm + x2 = -6.000mm + y2 = 6.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.43 { + x1 = -6.000mm + y1 = 6.000mm + x2 = -6.000mm + y2 = -6.000mm + thickness = 0.100mm + clearance = 0 + } + } + } + ha:top-courtyard { + lid = 3 + ha:type { + top = 1 + doc = 1 + } + purpose = ko.courtyard + li:objects { + ha:polygon.44 { + li:geometry { + ta:contour { + { -6.250mm; -6.700mm } + { 6.250mm; -6.700mm } + { 6.250mm; 6.700mm } + { -6.250mm; 6.700mm } + } + } + } + } + } + } + } + } +} diff --git a/geda/symbols/SLH.sym b/geda/symbols/SLH.sym index d2d39c8..5cbad0b 100644 --- a/geda/symbols/SLH.sym +++ b/geda/symbols/SLH.sym @@ -6,7 +6,7 @@ datasheet=https://datasheet.lcsc.com/lcsc/1810261033_Sunltech-Tech-SLH1207S330MT T 0 0 5 8 0 0 0 0 1 keywords=inductor T 0 0 5 8 0 0 0 0 1 -footprint=INDC120120X800N.fp +footprint=INDUCTOR_SLH.fp T 500 260 5 10 1 1 0 3 1 refdes=L? T 500 40 9 10 1 1 0 5 1