diff --git a/coraleda/subc/LEDC1608X90N.lht b/coraleda/subc/LEDC1608X90N.lht new file mode 100644 index 0000000..ef4ca21 --- /dev/null +++ b/coraleda/subc/LEDC1608X90N.lht @@ -0,0 +1,339 @@ +# subcircuit generated using QEDA +li:pcb-rnd-subcircuit-v6 { + ha:subc.1 { + uid = LEDC1608X90N............ + ha:attributes { + footprint = LEDC1608X90N + } + 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 { + -0.600mm + -0.450mm + 0.600mm + -0.450mm + 0.600mm + 0.450mm + -0.600mm + 0.450mm + } + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -0.650mm + -0.500mm + 0.650mm + -0.500mm + 0.650mm + 0.500mm + -0.650mm + 0.500mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -0.600mm + -0.450mm + 0.600mm + -0.450mm + 0.600mm + 0.450mm + -0.600mm + 0.450mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + } + } + li:objects { + ha:padstack_ref.27 { + proto = 2 + rot = 0 + x = 0.000mm + y = -0.800mm + ha:attributes { + term = 1 + name = 1 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.28 { + proto = 2 + rot = 0 + x = 0.000mm + y = 0.800mm + 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.29 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.30 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.000mm + x2 = 1.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.31 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 1.000mm + } + ha:line.32 { + 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.33 { + x = 0.000mm + y = 0.000mm + rot = 0 + scale = 100 + string = %a.parent.refdes% + fid = 0 + ha:flags { + floater = 1 + dyntext = 1 + } + } + ha:line.34 { + x1 = -0.900mm + y1 = -0.900mm + x2 = -0.900mm + y2 = 0.900mm + thickness = 0.200mm + clearance = 0 + } + ha:line.35 { + x1 = 0.900mm + y1 = -0.900mm + x2 = 0.900mm + y2 = 0.900mm + thickness = 0.200mm + clearance = 0 + } + ha:line.36 { + x1 = -0.900mm + y1 = -0.900mm + x2 = -0.900mm + y2 = -1.550mm + thickness = 0.200mm + clearance = 0 + } + ha:line.37 { + x1 = -0.900mm + y1 = -1.550mm + x2 = 0.900mm + y2 = -1.550mm + thickness = 0.200mm + clearance = 0 + } + ha:line.38 { + x1 = 0.900mm + y1 = -1.550mm + x2 = 0.900mm + y2 = -0.900mm + thickness = 0.200mm + clearance = 0 + } + } + } + ha:top-assembly { + lid = 2 + ha:type { + top = 1 + doc = 1 + } + purpose = assy + li:objects { + ha:arc.39 { + x = 0.000mm + y = 0.000mm + width = 0.500mm + height = 0.500mm + thickness = 0.100mm + astart = 0 + adelta = 360 + clearance = 0 + } + ha:line.40 { + x1 = -0.700mm + y1 = 0.000mm + x2 = 0.700mm + y2 = 0.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.41 { + x1 = 0.000mm + y1 = -0.700mm + x2 = 0.000mm + y2 = 0.700mm + thickness = 0.100mm + clearance = 0 + } + ha:text.42 { + x = 0.000mm + y = 0.000mm + rot = 90 + scale = 53 + string = LEDC1608X90N + fid = 0 + ha:flags { + floater = 1 + } + } + ha:line.43 { + x1 = 0.000mm + y1 = -0.800mm + x2 = 0.400mm + y2 = -0.800mm + thickness = 0.100mm + clearance = 0 + } + ha:line.44 { + x1 = 0.400mm + y1 = -0.800mm + x2 = 0.400mm + y2 = 0.800mm + thickness = 0.100mm + clearance = 0 + } + ha:line.45 { + x1 = 0.400mm + y1 = 0.800mm + x2 = -0.400mm + y2 = 0.800mm + thickness = 0.100mm + clearance = 0 + } + ha:line.46 { + x1 = -0.400mm + y1 = 0.800mm + x2 = -0.400mm + y2 = -0.400mm + thickness = 0.100mm + clearance = 0 + } + ha:line.47 { + x1 = -0.400mm + y1 = -0.400mm + x2 = 0.000mm + y2 = -0.800mm + thickness = 0.100mm + clearance = 0 + } + } + } + ha:top-courtyard { + lid = 3 + ha:type { + top = 1 + doc = 1 + } + purpose = ko.courtyard + li:objects { + ha:polygon.48 { + li:geometry { + ta:contour { + { -0.850mm; -1.500mm } + { -0.850mm; -1.050mm } + { -0.850mm; 1.050mm } + { -0.850mm; 1.500mm } + { 0.850mm; 1.500mm } + { 0.850mm; 1.050mm } + { 0.850mm; -1.050mm } + { 0.850mm; -1.500mm } + } + } + } + } + } + } + } + } +} diff --git a/geda/symbols/LED0603.sym b/geda/symbols/LED0603.sym new file mode 100644 index 0000000..6311098 --- /dev/null +++ b/geda/symbols/LED0603.sym @@ -0,0 +1,54 @@ +v 20150930 2 +T 0 0 5 8 0 0 0 0 1 +description=diode, LED, chip, 1.6x0.8 mm +T 0 0 5 8 0 0 0 0 1 +keywords=LED +T 0 0 5 8 0 0 0 0 1 +footprint=LEDC1608X90N.fp +T 200 360 5 10 1 1 0 3 1 +refdes=D? +T 200 40 9 10 1 1 0 5 1 +device=LED0603 +H 3 5 0 0 -1 -1 0 -1 -1 -1 -1 -1 5 +M 120 300 +L 280 200 +L 120 100 +L 120 300 +z +L 280 300 280 100 3 0 1 0 -1 -1 +L 300 350 400 450 3 0 1 0 -1 -1 +H 3 5 0 0 -1 -1 0 -1 -1 -1 -1 -1 5 +M 336 414 +L 400 450 +L 364 386 +L 336 414 +z +L 350 300 450 400 3 0 1 0 -1 -1 +H 3 5 0 0 -1 -1 0 -1 -1 -1 -1 -1 5 +M 386 364 +L 450 400 +L 414 336 +L 386 364 +z +P 0 200 120 200 1 0 0 +{ +T 200 200 9 8 0 1 0 0 1 +pinlabel=A +T 200 200 5 8 0 0 0 2 1 +pintype=pas +T 40 200 5 8 0 1 0 6 1 +pinnumber=2 +T 40 200 5 8 0 0 0 8 1 +pinseq=2 +} +P 400 200 280 200 1 0 0 +{ +T 200 200 9 8 0 1 0 6 1 +pinlabel=C +T 200 200 5 8 0 0 0 8 1 +pintype=pas +T 360 200 5 8 0 1 0 0 1 +pinnumber=1 +T 360 200 5 8 0 0 0 2 1 +pinseq=1 +}