Index: HC49.fp =================================================================== --- HC49.fp (revision 27120) +++ HC49.fp (revision 27121) @@ -1,13 +1,384 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC49" 0 -60 0 100 0x00) -( - Pin(50 50 60 28 "1" 0x101) - Pin(250 50 60 28 "2" 0x01) - ElementLine(50 0 250 0 20) - ElementArc(250 50 50 50 90 180 20) - ElementLine(250 100 50 100 20) - ElementArc(50 50 50 50 270 180 20) - Mark(50 50) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC49 Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 28.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 28.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + 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 = 60.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 66.0mil + } + 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 = 66.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 60.2mil + rot = 0.000000 + y = 60.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 6.60908mm + rot = 0.000000 + y = 60.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 0.25908mm + thickness = 20.0mil + ha:attributes { + } + x1 = 60.2mil + x2 = 6.60908mm + ha:flags { + } + y1 = 0.25908mm + } + ha:line.13 { + clearance = 0.0 + y2 = 110.2mil + thickness = 20.0mil + ha:attributes { + } + x1 = 6.60908mm + x2 = 60.2mil + ha:flags { + } + y1 = 110.2mil + } + ha:arc.12 { + astart = 90 + thickness = 20.0mil + width = 50.0mil + height = 50.0mil + ha:attributes { + } + x = 6.60908mm + y = 60.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:arc.16 { + astart = 270 + thickness = 20.0mil + width = 50.0mil + height = 50.0mil + ha:attributes { + } + x = 60.2mil + y = 60.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.25908mm + y = -1.26492mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.17 { + clearance = 0.0 + y2 = 60.2mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 4.06908mm + x2 = 4.06908mm + ha:flags { + } + y1 = 60.2mil + } + ha:line.20 { + clearance = 0.0 + y2 = 60.2mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 60.2mil + x2 = 60.2mil + ha:flags { + } + y1 = 60.2mil + } + ha:line.23 { + clearance = 0.0 + y2 = 60.2mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 60.2mil + x2 = 2.52908mm + ha:flags { + } + y1 = 60.2mil + } + ha:line.26 { + clearance = 0.0 + y2 = 2.52908mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 60.2mil + x2 = 60.2mil + ha:flags { + } + y1 = 60.2mil + } + } + ha:combining { + } + } + } + } + uid = K5zHll9kWHYvk+K8WxUAAAAB + ha:flags { + } + } +} Index: HC49U.fp =================================================================== --- HC49U.fp (revision 27120) +++ HC49U.fp (revision 27121) @@ -1,13 +1,384 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC49U" 0 -60 0 100 0x00) -( - Pin(121 91 60 32 "1" 0x101) - Pin(313 91 60 32 "2" 0x01) - ElementLine(91 0 344 0 20) - ElementArc(344 91 91 91 90 180 20) - ElementLine(344 183 91 183 20) - ElementArc(91 91 91 91 270 180 20) - Mark(121 91) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC49U Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + 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 = 60.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 66.0mil + } + 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 = 66.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.33248mm + rot = 0.000000 + y = 101.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 8.20928mm + rot = 0.000000 + y = 101.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 0.25908mm + thickness = 20.0mil + ha:attributes { + } + x1 = 101.2mil + x2 = 8.99668mm + ha:flags { + } + y1 = 0.25908mm + } + ha:line.13 { + clearance = 0.0 + y2 = 4.90728mm + thickness = 20.0mil + ha:attributes { + } + x1 = 8.99668mm + x2 = 101.2mil + ha:flags { + } + y1 = 4.90728mm + } + ha:arc.12 { + astart = 90 + thickness = 20.0mil + width = 91.0mil + height = 91.0mil + ha:attributes { + } + x = 8.99668mm + y = 101.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:arc.16 { + astart = 270 + thickness = 20.0mil + width = 91.0mil + height = 91.0mil + ha:attributes { + } + x = 101.2mil + y = 101.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.25908mm + y = -1.26492mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.17 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.77088mm + x2 = 5.77088mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.20 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.33248mm + x2 = 3.33248mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.23 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.33248mm + x2 = 4.33248mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.26 { + clearance = 0.0 + y2 = 3.57048mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.33248mm + x2 = 3.33248mm + ha:flags { + } + y1 = 101.2mil + } + } + ha:combining { + } + } + } + } + uid = IU81ifHVXky8kV3JzMYAAAAB + ha:flags { + } + } +} Index: HC49UH.fp =================================================================== --- HC49UH.fp (revision 27120) +++ HC49UH.fp (revision 27121) @@ -1,13 +1,380 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC49UH" 0 -60 0 100 0x00) -( - Pin(121 615 60 32 "1" 0x101) - Pin(313 615 60 32 "2" 0x01) - ElementLine(0 0 435 0 20) - ElementLine(435 0 435 515 20) - ElementLine(435 515 0 515 20) - ElementLine(0 515 0 0 20) - Mark(121 615) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC49UH Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + 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 = 60.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 66.0mil + } + 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 = 66.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.328183mm + rot = 0.000000 + y = 15.875783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 8.204983mm + rot = 0.000000 + y = 15.875783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 11.303783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.12 { + clearance = 0.0 + y2 = 13.335783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.303783mm + x2 = 11.303783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.15 { + clearance = 0.0 + y2 = 13.335783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.303783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 13.335783mm + } + ha:line.18 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 13.335783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.254783mm + y = -1.269217mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.21 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.766583mm + x2 = 5.766583mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.328183mm + x2 = 3.328183mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.328183mm + x2 = 4.328183mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.30 { + clearance = 0.0 + y2 = 16.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.328183mm + x2 = 3.328183mm + ha:flags { + } + y1 = 15.875783mm + } + } + ha:combining { + } + } + } + } + uid = d0kIIEVd9hKmfkrR2JwAAAAB + ha:flags { + } + } +} Index: HC49U_3.fp =================================================================== --- HC49U_3.fp (revision 27120) +++ HC49U_3.fp (revision 27121) @@ -1,14 +1,403 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC49U_3" 0 -60 0 100 0x00) -( - Pin(121 91 60 32 "1" 0x101) - Pin(217 91 60 32 "2" 0x01) - Pin(313 91 60 32 "3" 0x01) - ElementLine(91 0 344 0 20) - ElementArc(344 91 91 91 90 180 20) - ElementLine(344 183 91 183 20) - ElementArc(91 91 91 91 270 180 20) - Mark(121 91) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + value = + footprint = HC49U_3 Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + 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 = 60.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 66.0mil + } + 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 = 66.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.33248mm + rot = 0.000000 + y = 101.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.77088mm + rot = 0.000000 + y = 101.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 8.20928mm + rot = 0.000000 + y = 101.2mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 0.25908mm + thickness = 20.0mil + ha:attributes { + } + x1 = 101.2mil + x2 = 8.99668mm + ha:flags { + } + y1 = 0.25908mm + } + ha:line.14 { + clearance = 0.0 + y2 = 4.90728mm + thickness = 20.0mil + ha:attributes { + } + x1 = 8.99668mm + x2 = 101.2mil + ha:flags { + } + y1 = 4.90728mm + } + ha:arc.13 { + astart = 90 + thickness = 20.0mil + width = 91.0mil + height = 91.0mil + ha:attributes { + } + x = 8.99668mm + y = 101.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:arc.17 { + astart = 270 + thickness = 20.0mil + width = 91.0mil + height = 91.0mil + ha:attributes { + } + x = 101.2mil + y = 101.2mil + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.25908mm + y = -1.26492mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.18 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.77088mm + x2 = 5.77088mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.21 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.33248mm + x2 = 3.33248mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.24 { + clearance = 0.0 + y2 = 3.57048mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.33248mm + x2 = 3.33248mm + ha:flags { + } + y1 = 101.2mil + } + ha:line.27 { + clearance = 0.0 + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.33248mm + x2 = 4.33248mm + ha:flags { + } + y1 = 101.2mil + } + } + ha:combining { + } + } + } + } + uid = yz1V4HtC1LifNPNIfzcAAAAB + ha:flags { + } + } +} Index: HC49U_3H.fp =================================================================== --- HC49U_3H.fp (revision 27120) +++ HC49U_3H.fp (revision 27121) @@ -1,14 +1,398 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC49U_3H" 0 -60 0 100 0x00) -( - Pin(121 615 60 32 "1" 0x101) - Pin(217 615 60 32 "2" 0x01) - Pin(313 615 60 32 "3" 0x01) - ElementLine(0 0 435 0 20) - ElementLine(435 0 435 515 20) - ElementLine(435 515 0 515 20) - ElementLine(0 515 0 0 20) - Mark(121 615) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC49U_3H Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.0mil + -30.0mil + 30.0mil + -30.0mil + 30.0mil + 30.0mil + -30.0mil + 30.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -33.0mil + -33.0mil + 33.0mil + -33.0mil + 33.0mil + 33.0mil + -33.0mil + 33.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 32.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + 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 = 60.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 60.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 66.0mil + } + 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 = 66.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.328183mm + rot = 0.000000 + y = 15.875783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.766583mm + rot = 0.000000 + y = 15.875783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 8.204983mm + rot = 0.000000 + y = 15.875783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 11.303783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.13 { + clearance = 0.0 + y2 = 13.335783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.303783mm + x2 = 11.303783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.16 { + clearance = 0.0 + y2 = 13.335783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.303783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 13.335783mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 13.335783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.254783mm + y = -1.269217mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.22 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.766583mm + x2 = 5.766583mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.328183mm + x2 = 3.328183mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 16.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.328183mm + x2 = 3.328183mm + ha:flags { + } + y1 = 15.875783mm + } + ha:line.31 { + clearance = 0.0 + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.328183mm + x2 = 4.328183mm + ha:flags { + } + y1 = 15.875783mm + } + } + ha:combining { + } + } + } + } + uid = VTNBJgXKGQ7phRTbFDUAAAAB + ha:flags { + } + } +} Index: HC51U.fp =================================================================== --- HC51U.fp (revision 27120) +++ HC51U.fp (revision 27121) @@ -1,13 +1,384 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC51U" 0 -60 0 100 0x00) -( - Pin(136 176 80 40 "1" 0x101) - Pin(621 176 80 40 "2" 0x01) - ElementLine(176 0 581 0 20) - ElementArc(581 176 176 176 90 180 20) - ElementLine(581 352 176 352 20) - ElementArc(176 176 176 176 270 180 20) - Mark(136 176) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC51U Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.71348mm + rot = 0.000000 + y = 4.72948mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 631.2mil + rot = 0.000000 + y = 4.72948mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 0.25908mm + thickness = 20.0mil + ha:attributes { + } + x1 = 4.72948mm + x2 = 591.2mil + ha:flags { + } + y1 = 0.25908mm + } + ha:line.13 { + clearance = 0.0 + y2 = 9.19988mm + thickness = 20.0mil + ha:attributes { + } + x1 = 591.2mil + x2 = 4.72948mm + ha:flags { + } + y1 = 9.19988mm + } + ha:arc.12 { + astart = 90 + thickness = 20.0mil + width = 176.0mil + height = 176.0mil + ha:attributes { + } + x = 591.2mil + y = 4.72948mm + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:arc.16 { + astart = 270 + thickness = 20.0mil + width = 176.0mil + height = 176.0mil + ha:attributes { + } + x = 4.72948mm + y = 4.72948mm + adelta = 180 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.25908mm + y = -1.26492mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.17 { + clearance = 0.0 + y2 = 4.72948mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 9.87298mm + x2 = 9.87298mm + ha:flags { + } + y1 = 4.72948mm + } + ha:line.20 { + clearance = 0.0 + y2 = 4.72948mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.71348mm + x2 = 3.71348mm + ha:flags { + } + y1 = 4.72948mm + } + ha:line.23 { + clearance = 0.0 + y2 = 4.72948mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.71348mm + x2 = 4.71348mm + ha:flags { + } + y1 = 4.72948mm + } + ha:line.26 { + clearance = 0.0 + y2 = 5.72948mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.71348mm + x2 = 3.71348mm + ha:flags { + } + y1 = 4.72948mm + } + } + ha:combining { + } + } + } + } + uid = +FiihmhDvVGqTubuzyoAAAAB + ha:flags { + } + } +} Index: HC51UH.fp =================================================================== --- HC51UH.fp (revision 27120) +++ HC51UH.fp (revision 27121) @@ -1,13 +1,380 @@ -##from:pcb -##for:crystal -##for:xtal -Element(0x00 "Crystals" "" "HC51UH" 0 -60 0 100 0x00) -( - Pin(136 975 80 40 "1" 0x101) - Pin(621 975 80 40 "2" 0x01) - ElementLine(0 0 757 0 20) - ElementLine(757 0 757 775 20) - ElementLine(757 775 0 775 20) - ElementLine(0 775 0 0 20) - Mark(136 975) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HC51UH Crystals + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 3.709183mm + rot = 0.000000 + y = 25.019783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 16.028183mm + rot = 0.000000 + y = 25.019783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 19.482583mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.12 { + clearance = 0.0 + y2 = 19.939783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 19.482583mm + x2 = 19.482583mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.15 { + clearance = 0.0 + y2 = 19.939783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 19.482583mm + x2 = 0.254783mm + ha:flags { + } + y1 = 19.939783mm + } + ha:line.18 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 19.939783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.254783mm + y = -1.269217mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.21 { + clearance = 0.0 + y2 = 25.019783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 9.868683mm + x2 = 9.868683mm + ha:flags { + } + y1 = 25.019783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 25.019783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.709183mm + x2 = 3.709183mm + ha:flags { + } + y1 = 25.019783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 25.019783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.709183mm + x2 = 4.709183mm + ha:flags { + } + y1 = 25.019783mm + } + ha:line.30 { + clearance = 0.0 + y2 = 26.019783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.709183mm + x2 = 3.709183mm + ha:flags { + } + y1 = 25.019783mm + } + } + ha:combining { + } + } + } + } + uid = sAYDhniTNYN3q3leLhwAAAAB + ha:flags { + } + } +} Index: HEPTAWATT.fp =================================================================== --- HEPTAWATT.fp (revision 27120) +++ HEPTAWATT.fp (revision 27121) @@ -1,20 +1,506 @@ -##from:pcb -##for:IC -Element(0x00 "Power IC, as in MULTIWATT15" "" "HEPTAWATT" 469 50 3 100 0x00) -( - Pin(54 310 90 60 "1" 0x101) - Pin(104 110 90 60 "2" 0x01) - Pin(154 310 90 60 "3" 0x01) - Pin(204 110 90 60 "4" 0x01) - Pin(254 310 90 60 "5" 0x01) - Pin(304 110 90 60 "6" 0x01) - Pin(354 310 90 60 "7" 0x01) - ElementLine(0 0 0 189 20) - ElementLine(0 189 409 189 20) - ElementLine(409 189 409 0 20) - ElementLine(409 0 0 0 20) - ElementLine(0 50 409 50 10) - ElementLine(129 0 129 50 10) - ElementLine(279 0 279 50 10) - Mark(54 249) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = HEPTAWATT Power IC, as in MULTIWATT15 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.626383mm + rot = 0.000000 + y = 8.128783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 2.896383mm + rot = 0.000000 + y = 3.048783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 4.166383mm + rot = 0.000000 + y = 8.128783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 5.436383mm + rot = 0.000000 + y = 3.048783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.11 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 6.706383mm + rot = 0.000000 + y = 8.128783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.12 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 1 + xmirror = 0 + x = 7.976383mm + rot = 0.000000 + y = 3.048783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.13 { + smirror = 0 + ha:attributes { + term = 7 + name = 7 + } + proto = 1 + xmirror = 0 + x = 9.246383mm + rot = 0.000000 + y = 8.128783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.14 { + clearance = 0.0 + y2 = 5.055383mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.17 { + clearance = 0.0 + y2 = 5.055383mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.643383mm + ha:flags { + } + y1 = 5.055383mm + } + ha:line.20 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.643383mm + x2 = 10.643383mm + ha:flags { + } + y1 = 5.055383mm + } + ha:line.23 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.643383mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.26 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.643383mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.29 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 3.531383mm + x2 = 3.531383mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.32 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.341383mm + x2 = 7.341383mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 12.167383mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.35 { + clearance = 0.0 + y2 = 5.95164mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.436383mm + x2 = 5.436383mm + ha:flags { + } + y1 = 5.95164mm + } + ha:line.38 { + clearance = 0.0 + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.626383mm + x2 = 1.626383mm + ha:flags { + } + y1 = 6.579383mm + } + ha:line.41 { + clearance = 0.0 + y2 = 7.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.626383mm + x2 = 1.626383mm + ha:flags { + } + y1 = 6.579383mm + } + ha:line.44 { + clearance = 0.0 + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.626383mm + x2 = 2.626383mm + ha:flags { + } + y1 = 6.579383mm + } + } + ha:combining { + } + } + } + } + uid = iVCWAJKpIXjZ4LV4utoAAAAB + ha:flags { + } + } +} Index: LED3.fp =================================================================== --- LED3.fp (revision 27120) +++ LED3.fp (revision 27121) @@ -1,19 +1,388 @@ -##from:pcb -##for:crystal -##for:led -##ref:http://www.lumex.com -Element(0x00 "LED, size in mm (pin 1 is +, 2 is -)" "" "LED3" 100 70 0 100 0x00) -( -# typical LED is 0.5 mm or 0.020" square pin. See for example -# http://www.lumex.com and part number SSL-LX3054LGD. -# 0.020" square is 0.0288" diagonal. A number 57 drill is -# 0.043" which should be enough. a 65 mil pad gives 11 mils -# of annular ring. - Pin(-50 0 65 43 "1" 0x101) - Pin(50 0 65 43 "2" 0x01) - ElementArc(0 0 59 59 45 90 10) - ElementArc(0 0 59 59 225 90 10) - ElementArc(0 0 79 79 45 90 10) - ElementArc(0 0 79 79 225 90 10) - Mark(0 0) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = LED3, 3mm LED (pin 1 is +, 2 is -) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 43.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.5mil + -35.5mil + 35.5mil + -35.5mil + 35.5mil + 35.5mil + -35.5mil + 35.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.5mil + -35.5mil + 35.5mil + -35.5mil + 35.5mil + 35.5mil + -35.5mil + 35.5mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 43.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 65.0mil + } + 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 = 65.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 65.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 71.0mil + } + 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 = 71.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 50.5mil + rot = 0.000000 + y = 2.13614mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 150.5mil + rot = 0.000000 + y = 2.13614mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:arc.9 { + astart = 45 + thickness = 10.0mil + width = 59.0mil + height = 59.0mil + ha:attributes { + } + x = 100.5mil + y = 2.13614mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.10 { + astart = 225 + thickness = 10.0mil + width = 59.0mil + height = 59.0mil + ha:attributes { + } + x = 100.5mil + y = 2.13614mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.11 { + astart = 45 + thickness = 10.0mil + width = 79.0mil + height = 79.0mil + ha:attributes { + } + x = 100.5mil + y = 2.13614mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.12 { + astart = 225 + thickness = 10.0mil + width = 79.0mil + height = 79.0mil + ha:attributes { + } + x = 100.5mil + y = 2.13614mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 200.5mil + y = 3.91414mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.13 { + clearance = 0.0 + y2 = 2.13614mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 100.5mil + x2 = 100.5mil + ha:flags { + } + y1 = 2.13614mm + } + ha:line.16 { + clearance = 0.0 + y2 = 2.13614mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 100.5mil + x2 = 100.5mil + ha:flags { + } + y1 = 2.13614mm + } + ha:line.19 { + clearance = 0.0 + y2 = 2.13614mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 100.5mil + x2 = 3.5527mm + ha:flags { + } + y1 = 2.13614mm + } + ha:line.22 { + clearance = 0.0 + y2 = 3.13614mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 100.5mil + x2 = 100.5mil + ha:flags { + } + y1 = 2.13614mm + } + } + ha:combining { + } + } + } + } + uid = AXOBLf2n2pEOmUoe7pcAAAAB + ha:flags { + } + } +} Index: LED5.fp =================================================================== --- LED5.fp (revision 27120) +++ LED5.fp (revision 27121) @@ -1,16 +1,360 @@ -##from:pcb -##for:led -##ref:http://www.lumex.com -Element(0x00 "LED, size in mm (pin 1 is +, 2 is -)" "" "LED5" 100 70 0 100 0x00) -( -# typical LED is 0.5 mm or 0.020" square pin. See for example -# http://www.lumex.com and part number SSL-LX3054LGD. -# 0.020" square is 0.0288" diagonal. A number 57 drill is -# 0.043" which should be enough. a 65 mil pad gives 11 mils -# of annular ring. - Pin(-50 0 65 43 "1" 0x101) - Pin(50 0 65 43 "2" 0x01) - ElementArc(0 0 118 118 0 360 10) - ElementArc(0 0 138 138 0 360 10) - Mark(0 0) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = LED5, 5mm LED (pin 1 is +, 2 is -) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 43.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -32.5mil + -32.5mil + 32.5mil + -32.5mil + 32.5mil + 32.5mil + -32.5mil + 32.5mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.5mil + -35.5mil + 35.5mil + -35.5mil + 35.5mil + 35.5mil + -35.5mil + 35.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.5mil + -35.5mil + 35.5mil + -35.5mil + 35.5mil + 35.5mil + -35.5mil + 35.5mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 43.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 65.0mil + } + 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 = 65.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 65.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 71.0mil + } + 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 = 71.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.36474mm + rot = 0.000000 + y = 3.63474mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 4.90474mm + rot = 0.000000 + y = 3.63474mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:arc.9 { + astart = 0 + thickness = 10.0mil + width = 118.0mil + height = 118.0mil + ha:attributes { + } + x = 3.63474mm + y = 3.63474mm + adelta = 360 + ha:flags { + } + clearance = 0.0 + } + ha:arc.10 { + astart = 0 + thickness = 10.0mil + width = 138.0mil + height = 138.0mil + ha:attributes { + } + x = 3.63474mm + y = 3.63474mm + adelta = 360 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.17474mm + y = 5.41274mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 3.63474mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.63474mm + x2 = 3.63474mm + ha:flags { + } + y1 = 3.63474mm + } + ha:line.14 { + clearance = 0.0 + y2 = 3.63474mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.63474mm + x2 = 3.63474mm + ha:flags { + } + y1 = 3.63474mm + } + ha:line.17 { + clearance = 0.0 + y2 = 3.63474mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.63474mm + x2 = 4.63474mm + ha:flags { + } + y1 = 3.63474mm + } + ha:line.20 { + clearance = 0.0 + y2 = 4.63474mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.63474mm + x2 = 3.63474mm + ha:flags { + } + y1 = 3.63474mm + } + } + ha:combining { + } + } + } + } + uid = hFGipNdgRBmeMBGUNCcAAAAB + ha:flags { + } + } +} Index: MULTIWATT11.fp =================================================================== --- MULTIWATT11.fp (revision 27120) +++ MULTIWATT11.fp (revision 27121) @@ -1,24 +1,578 @@ -##from:pcb -##for:IC -Element(0x00 "Power IC, as in MULTIWATT15" "" "MULTIWATT11" 860 50 3 100 0x00) -( - Pin(65 380 90 60 "1" 0x101) - Pin(132 180 90 60 "2" 0x01) - Pin(199 380 90 60 "3" 0x01) - Pin(266 180 90 60 "4" 0x01) - Pin(333 380 90 60 "5" 0x01) - Pin(400 180 90 60 "6" 0x01) - Pin(467 380 90 60 "7" 0x01) - Pin(534 180 90 60 "8" 0x01) - Pin(601 380 90 60 "9" 0x01) - Pin(668 180 90 60 "10" 0x01) - Pin(735 380 90 60 "11" 0x01) - ElementLine(0 0 0 200 20) - ElementLine(0 200 800 200 20) - ElementLine(800 200 800 0 20) - ElementLine(800 0 0 0 20) - ElementLine(0 50 800 50 10) - ElementLine(325 0 325 50 10) - ElementLine(475 0 475 50 10) - Mark(65 260) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = MULTIWATT11 Power IC + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.905783mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 3.607583mm + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 5.309383mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 7.011183mm + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.11 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 8.712983mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.12 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 1 + xmirror = 0 + x = 10.414783mm + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.13 { + smirror = 0 + ha:attributes { + term = 7 + name = 7 + } + proto = 1 + xmirror = 0 + x = 12.116583mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.14 { + smirror = 0 + ha:attributes { + term = 8 + name = 8 + } + proto = 1 + xmirror = 0 + x = 13.818383mm + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.15 { + smirror = 0 + ha:attributes { + term = 9 + name = 9 + } + proto = 1 + xmirror = 0 + x = 15.520183mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.16 { + smirror = 0 + ha:attributes { + term = 10 + name = 10 + } + proto = 1 + xmirror = 0 + x = 17.221983mm + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.17 { + smirror = 0 + ha:attributes { + term = 11 + name = 11 + } + proto = 1 + xmirror = 0 + x = 18.923783mm + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.18 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.21 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 5.334783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 20.574783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 5.334783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 20.574783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 8.509783mm + x2 = 8.509783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.36 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 12.319783mm + x2 = 12.319783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 22.098783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.39 { + clearance = 0.0 + y2 = 7.597692mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 7.597692mm + } + ha:line.42 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.905783mm + x2 = 1.905783mm + ha:flags { + } + y1 = 6.858783mm + } + ha:line.45 { + clearance = 0.0 + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.905783mm + x2 = 1.905783mm + ha:flags { + } + y1 = 6.858783mm + } + ha:line.48 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.905783mm + x2 = 2.905783mm + ha:flags { + } + y1 = 6.858783mm + } + } + ha:combining { + } + } + } + } + uid = OJr8gHIpKF/u/Cj9DHsAAAAB + ha:flags { + } + } +} Index: MULTIWATT15.fp =================================================================== --- MULTIWATT15.fp (revision 27120) +++ MULTIWATT15.fp (revision 27121) @@ -1,28 +1,650 @@ -##from:pcb -##for:IC -Element(0x00 "Power IC, as in MULTIWATT15" "" "MULTIWATT15" 860 50 3 100 0x00) -( - Pin(50 380 90 60 "1" 0x101) - Pin(100 180 90 60 "2" 0x01) - Pin(150 380 90 60 "3" 0x01) - Pin(200 180 90 60 "4" 0x01) - Pin(250 380 90 60 "5" 0x01) - Pin(300 180 90 60 "6" 0x01) - Pin(350 380 90 60 "7" 0x01) - Pin(400 180 90 60 "8" 0x01) - Pin(450 380 90 60 "9" 0x01) - Pin(500 180 90 60 "10" 0x01) - Pin(550 380 90 60 "11" 0x01) - Pin(600 180 90 60 "12" 0x01) - Pin(650 380 90 60 "13" 0x01) - Pin(700 180 90 60 "14" 0x01) - Pin(750 380 90 60 "15" 0x01) - ElementLine(0 0 0 200 20) - ElementLine(0 200 800 200 20) - ElementLine(800 200 800 0 20) - ElementLine(800 0 0 0 20) - ElementLine(0 50 800 50 10) - ElementLine(325 0 325 50 10) - ElementLine(475 0 475 50 10) - Mark(50 260) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = MULTIWATT15 Power IC + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 63.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 113.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 163.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 213.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.11 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 263.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.12 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 1 + xmirror = 0 + x = 313.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.13 { + smirror = 0 + ha:attributes { + term = 7 + name = 7 + } + proto = 1 + xmirror = 0 + x = 363.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.14 { + smirror = 0 + ha:attributes { + term = 8 + name = 8 + } + proto = 1 + xmirror = 0 + x = 413.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.15 { + smirror = 0 + ha:attributes { + term = 9 + name = 9 + } + proto = 1 + xmirror = 0 + x = 463.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.16 { + smirror = 0 + ha:attributes { + term = 10 + name = 10 + } + proto = 1 + xmirror = 0 + x = 513.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.17 { + smirror = 0 + ha:attributes { + term = 11 + name = 11 + } + proto = 1 + xmirror = 0 + x = 563.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.18 { + smirror = 0 + ha:attributes { + term = 12 + name = 12 + } + proto = 1 + xmirror = 0 + x = 613.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 13 + name = 13 + } + proto = 1 + xmirror = 0 + x = 663.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 14 + name = 14 + } + proto = 1 + xmirror = 0 + x = 713.0mil + rot = 0.000000 + y = 4.826783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 15 + name = 15 + } + proto = 1 + xmirror = 0 + x = 763.0mil + rot = 0.000000 + y = 9.906783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.22 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 5.334783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 813.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 5.334783mm + } + ha:line.31 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 813.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.34 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 1.524783mm + } + ha:line.37 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 338.0mil + x2 = 338.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.40 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 488.0mil + x2 = 488.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 873.0mil + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.43 { + clearance = 0.0 + y2 = 7.536116mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 413.0mil + x2 = 413.0mil + ha:flags { + } + y1 = 7.536116mm + } + ha:line.46 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 63.0mil + x2 = 63.0mil + ha:flags { + } + y1 = 6.858783mm + } + ha:line.49 { + clearance = 0.0 + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 63.0mil + x2 = 63.0mil + ha:flags { + } + y1 = 6.858783mm + } + ha:line.52 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 63.0mil + x2 = 2.6002mm + ha:flags { + } + y1 = 6.858783mm + } + } + ha:combining { + } + } + } + } + uid = Pvw9fS9mULpdZ07inAAAAAAB + ha:flags { + } + } +} Index: MULTIWATT8.fp =================================================================== --- MULTIWATT8.fp (revision 27120) +++ MULTIWATT8.fp (revision 27121) @@ -1,21 +1,524 @@ -##from:pcb -##for:IC -Element(0x00 "Power IC, as in MULTIWATT15" "" "MULTIWATT8" 860 50 3 100 0x00) -( - Pin(50 115 90 60 "1" 0x101) - Pin(150 115 90 60 "2" 0x01) - Pin(250 115 90 60 "3" 0x01) - Pin(350 115 90 60 "4" 0x01) - Pin(450 115 90 60 "5" 0x01) - Pin(550 115 90 60 "6" 0x01) - Pin(650 115 90 60 "7" 0x01) - Pin(750 115 90 60 "8" 0x01) - ElementLine(0 0 0 200 20) - ElementLine(0 200 800 200 20) - ElementLine(800 200 800 0 20) - ElementLine(800 0 0 0 20) - ElementLine(0 50 800 50 10) - ElementLine(325 0 325 50 10) - ElementLine(475 0 475 50 10) - Mark(50 260) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = MULTIWATT8 Power IC + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 63.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 163.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 263.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 363.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.11 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 463.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.12 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 1 + xmirror = 0 + x = 563.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.13 { + smirror = 0 + ha:attributes { + term = 7 + name = 7 + } + proto = 1 + xmirror = 0 + x = 663.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.14 { + smirror = 0 + ha:attributes { + term = 8 + name = 8 + } + proto = 1 + xmirror = 0 + x = 763.0mil + rot = 0.000000 + y = 3.175783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.15 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.18 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 5.334783mm + } + ha:line.21 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 813.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 5.334783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 813.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 813.0mil + ha:flags { + } + y1 = 1.524783mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 338.0mil + x2 = 338.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 488.0mil + x2 = 488.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 873.0mil + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.36 { + clearance = 0.0 + y2 = 3.175783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 413.0mil + x2 = 413.0mil + ha:flags { + } + y1 = 3.175783mm + } + ha:line.39 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 63.0mil + x2 = 63.0mil + ha:flags { + } + y1 = 6.858783mm + } + ha:line.42 { + clearance = 0.0 + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 63.0mil + x2 = 63.0mil + ha:flags { + } + y1 = 6.858783mm + } + ha:line.45 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 63.0mil + x2 = 2.6002mm + ha:flags { + } + y1 = 6.858783mm + } + } + ha:combining { + } + } + } + } + uid = IQhuhU7OlwL8WndT1toAAAAB + ha:flags { + } + } +} Index: OSC14.fp =================================================================== --- OSC14.fp (revision 27120) +++ OSC14.fp (revision 27121) @@ -1,26 +1,455 @@ -##from:pcb -##for:oscillator -##for:xtal - Element(0x00 "Crystal oscillator" "" "OSC14" 270 300 3 100 0x00) -( - Pin(100 100 50 28 "NC" 0x01) - Pin(100 700 50 28 "GND" 0x01) - Pin(400 700 50 28 "CLK" 0x01) - Pin(400 100 50 28 "VCC" 0x01) - ElementLine(5 5 400 5 10) - ElementArc(400 100 95 95 180 90 10) - ElementLine(495 100 495 700 10) - ElementArc(400 700 95 95 90 90 10) - ElementLine(400 795 100 795 10) - ElementArc(100 700 95 95 0 90 10) - ElementLine(5 700 5 5 10) - ElementLine(100 60 400 60 10) - ElementArc(400 100 40 40 180 90 10) - ElementLine(440 100 440 700 10) - ElementArc(400 700 40 40 90 90 10) - ElementLine(400 740 100 740 10) - ElementArc(100 700 40 40 0 90 10) - ElementLine(60 700 60 100 10) - ElementArc(100 100 40 40 270 90 10) - Mark(100 100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = OSC14, Crystal oscillator + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 28.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 50.0mil + } + 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 = 50.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 50.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 56.0mil + } + 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 = 56.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = NC + } + proto = 0 + xmirror = 0 + x = 2.54254mm + rot = 0.000000 + y = 2.54254mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = GND + } + proto = 0 + xmirror = 0 + x = 2.54254mm + rot = 0.000000 + y = 700.1mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = CLK + } + proto = 0 + xmirror = 0 + x = 400.1mil + rot = 0.000000 + y = 700.1mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = VCC + } + proto = 0 + xmirror = 0 + x = 400.1mil + rot = 0.000000 + y = 2.54254mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 0.12954mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.12954mm + x2 = 400.1mil + ha:flags { + } + y1 = 0.12954mm + } + ha:line.15 { + clearance = 0.0 + y2 = 700.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 495.1mil + x2 = 495.1mil + ha:flags { + } + y1 = 2.54254mm + } + ha:line.19 { + clearance = 0.0 + y2 = 795.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 400.1mil + x2 = 2.54254mm + ha:flags { + } + y1 = 795.1mil + } + ha:line.23 { + clearance = 0.0 + y2 = 0.12954mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.12954mm + x2 = 0.12954mm + ha:flags { + } + y1 = 700.1mil + } + ha:line.26 { + clearance = 0.0 + y2 = 60.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 2.54254mm + x2 = 400.1mil + ha:flags { + } + y1 = 60.1mil + } + ha:line.30 { + clearance = 0.0 + y2 = 700.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 440.1mil + x2 = 440.1mil + ha:flags { + } + y1 = 2.54254mm + } + ha:line.34 { + clearance = 0.0 + y2 = 740.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 400.1mil + x2 = 2.54254mm + ha:flags { + } + y1 = 740.1mil + } + ha:line.38 { + clearance = 0.0 + y2 = 2.54254mm + thickness = 10.0mil + ha:attributes { + } + x1 = 60.1mil + x2 = 60.1mil + ha:flags { + } + y1 = 700.1mil + } + ha:arc.14 { + astart = 180 + thickness = 10.0mil + width = 95.0mil + height = 95.0mil + ha:attributes { + } + x = 400.1mil + y = 2.54254mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.18 { + astart = 90 + thickness = 10.0mil + width = 95.0mil + height = 95.0mil + ha:attributes { + } + x = 400.1mil + y = 700.1mil + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.22 { + astart = 0 + thickness = 10.0mil + width = 95.0mil + height = 95.0mil + ha:attributes { + } + x = 2.54254mm + y = 700.1mil + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.29 { + astart = 180 + thickness = 10.0mil + width = 40.0mil + height = 40.0mil + ha:attributes { + } + x = 400.1mil + y = 2.54254mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.33 { + astart = 90 + thickness = 10.0mil + width = 40.0mil + height = 40.0mil + ha:attributes { + } + x = 400.1mil + y = 700.1mil + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.37 { + astart = 0 + thickness = 10.0mil + width = 40.0mil + height = 40.0mil + ha:attributes { + } + x = 2.54254mm + y = 700.1mil + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.41 { + astart = 270 + thickness = 10.0mil + width = 40.0mil + height = 40.0mil + ha:attributes { + } + x = 2.54254mm + y = 2.54254mm + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 270.1mil + y = 300.1mil + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.42 { + clearance = 0.0 + y2 = 400.1mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 6.35254mm + x2 = 6.35254mm + ha:flags { + } + y1 = 400.1mil + } + ha:line.45 { + clearance = 0.0 + y2 = 2.54254mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.54254mm + x2 = 2.54254mm + ha:flags { + } + y1 = 2.54254mm + } + ha:line.48 { + clearance = 0.0 + y2 = 2.54254mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.54254mm + x2 = 3.54254mm + ha:flags { + } + y1 = 2.54254mm + } + ha:line.51 { + clearance = 0.0 + y2 = 3.54254mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.54254mm + x2 = 2.54254mm + ha:flags { + } + y1 = 2.54254mm + } + } + ha:combining { + } + } + } + } + uid = xzk533cq9lHncC5p9N4AAAAB + ha:flags { + } + } +} Index: PENTAWATT.fp =================================================================== --- PENTAWATT.fp (revision 27120) +++ PENTAWATT.fp (revision 27121) @@ -1,18 +1,470 @@ -##from:pcb -##for:IC -Element(0x00 "Power IC, as in MULTIWATT15" "" "PENTAWATT" 469 50 3 100 0x00) -( - Pin(70 334 90 60 "1" 0x101) - Pin(137 177 90 60 "2" 0x01) - Pin(204 334 90 60 "3" 0x01) - Pin(271 177 90 60 "4" 0x01) - Pin(338 334 90 60 "5" 0x01) - ElementLine(0 0 0 189 20) - ElementLine(0 189 409 189 20) - ElementLine(409 189 409 0 20) - ElementLine(409 0 0 0 20) - ElementLine(0 50 409 50 10) - ElementLine(129 0 129 50 10) - ElementLine(279 0 279 50 10) - Mark(70 249) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = PENTAWATT Power IC + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.032783mm + rot = 0.000000 + y = 8.738383mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 3.734583mm + rot = 0.000000 + y = 4.750583mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 5.436383mm + rot = 0.000000 + y = 8.738383mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 7.138183mm + rot = 0.000000 + y = 4.750583mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.11 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 8.839983mm + rot = 0.000000 + y = 8.738383mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.12 { + clearance = 0.0 + y2 = 5.055383mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.15 { + clearance = 0.0 + y2 = 5.055383mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.643383mm + ha:flags { + } + y1 = 5.055383mm + } + ha:line.18 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.643383mm + x2 = 10.643383mm + ha:flags { + } + y1 = 5.055383mm + } + ha:line.21 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.643383mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.643383mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 3.531383mm + x2 = 3.531383mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.341383mm + x2 = 7.341383mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 12.167383mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.33 { + clearance = 0.0 + y2 = 7.143263mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.436383mm + x2 = 5.436383mm + ha:flags { + } + y1 = 7.143263mm + } + ha:line.36 { + clearance = 0.0 + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.032783mm + x2 = 2.032783mm + ha:flags { + } + y1 = 6.579383mm + } + ha:line.39 { + clearance = 0.0 + y2 = 7.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.032783mm + x2 = 2.032783mm + ha:flags { + } + y1 = 6.579383mm + } + ha:line.42 { + clearance = 0.0 + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.032783mm + x2 = 3.032783mm + ha:flags { + } + y1 = 6.579383mm + } + } + ha:combining { + } + } + } + } + uid = sniNjrnRQefHo+GXiZsAAAAB + ha:flags { + } + } +} Index: TACT_6x6_4p =================================================================== --- TACT_6x6_4p (revision 27120) +++ TACT_6x6_4p (revision 27121) @@ -1,37 +1,589 @@ -##from:repo.hu/projects/openhw -##geo:180 -##for:switch -##for:button - -Element["" "" "" "" 175500 115500 0 0 0 100 ""] -( - Pin[13091 9000 9000 5000 9600 3937 "" "4" "edge2,intconn(2)"] - Pin[-12500 9000 9000 5000 9600 3937 "" "3" "edge2,intconn(2)"] - Pin[13091 -9000 9000 5000 9600 3937 "" "2" "edge2,intconn(1)"] - Pin[-12500 -9000 9000 5000 9600 3937 "" "1" "edge2,intconn(1)"] - ElementLine [12181 11736 12181 -11886 787] - ElementLine [-11441 11736 12181 11736 787] - ElementLine [-11441 -11886 -11441 11736 787] - ElementLine [-11441 -11886 12181 -11886 787] - ElementArc [7815 -8031 2756 2756 90 90 787] - ElementArc [7815 -8031 2756 2756 0 90 787] - ElementArc [7815 -8031 2756 2756 270 90 787] - ElementArc [7815 -8031 2756 2756 180 90 787] - ElementArc [7815 7717 2756 2756 0 90 787] - ElementArc [7815 7717 2756 2756 270 90 787] - ElementArc [7815 7717 2756 2756 180 90 787] - ElementArc [7815 7717 2756 2756 90 90 787] - ElementArc [-7933 7717 2756 2756 270 90 787] - ElementArc [-7933 7717 2756 2756 180 90 787] - ElementArc [-7933 7717 2756 2756 90 90 787] - ElementArc [-7933 7717 2756 2756 0 90 787] - ElementArc [-7933 -8031 2756 2756 180 90 787] - ElementArc [-7933 -8031 2756 2756 90 90 787] - ElementArc [-7933 -8031 2756 2756 0 90 787] - ElementArc [-7933 -8031 2756 2756 270 90 787] - ElementArc [-59 -157 6693 6693 270 90 787] - ElementArc [-59 -157 6693 6693 180 90 787] - ElementArc [-59 -157 6693 6693 90 90 787] - ElementArc [-59 -157 6693 6693 0 90 787] - - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint=tactile button + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.999998mm + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 4 + intconn = 2 + } + proto = 0 + xmirror = 0 + x = 1.88591in + rot = 0.000000 + y = 31.623mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 25.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 3 + intconn = 2 + } + proto = 0 + xmirror = 0 + x = 1.63in + rot = 0.000000 + y = 31.623mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 25.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 2 + intconn = 1 + } + proto = 0 + xmirror = 0 + x = 1.88591in + rot = 0.000000 + y = 27.051mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 25.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 1 + intconn = 1 + } + proto = 0 + xmirror = 0 + x = 1.63in + rot = 0.000000 + y = 27.051mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 25.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 1.03614in + thickness = 7.87mil + ha:attributes { + } + x1 = 1.87681in + x2 = 1.87681in + ha:flags { + } + y1 = 32.317944mm + } + ha:line.14 { + clearance = 0.0 + y2 = 32.317944mm + thickness = 7.87mil + ha:attributes { + } + x1 = 1.64059in + x2 = 1.87681in + ha:flags { + } + y1 = 32.317944mm + } + ha:line.17 { + clearance = 0.0 + y2 = 32.317944mm + thickness = 7.87mil + ha:attributes { + } + x1 = 1.64059in + x2 = 1.64059in + ha:flags { + } + y1 = 1.03614in + } + ha:line.20 { + clearance = 0.0 + y2 = 1.03614in + thickness = 7.87mil + ha:attributes { + } + x1 = 1.64059in + x2 = 1.87681in + ha:flags { + } + y1 = 1.03614in + } + ha:arc.23 { + astart = 90 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.24 { + astart = 0 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.25 { + astart = 270 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.26 { + astart = 180 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.27 { + astart = 0 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.28 { + astart = 270 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.29 { + astart = 180 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.30 { + astart = 90 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 46.56201mm + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.31 { + astart = 270 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.32 { + astart = 180 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.33 { + astart = 90 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.34 { + astart = 0 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.23217in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.35 { + astart = 180 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.36 { + astart = 90 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.37 { + astart = 0 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.38 { + astart = 270 + thickness = 7.87mil + width = 0.700024mm + height = 0.700024mm + ha:attributes { + } + x = 1.67567in + y = 1.07469in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.39 { + astart = 270 + thickness = 7.87mil + width = 66.93mil + height = 66.93mil + ha:attributes { + } + x = 1.75441in + y = 1.15343in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.40 { + astart = 180 + thickness = 7.87mil + width = 66.93mil + height = 66.93mil + ha:attributes { + } + x = 1.75441in + y = 1.15343in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.41 { + astart = 90 + thickness = 7.87mil + width = 66.93mil + height = 66.93mil + ha:attributes { + } + x = 1.75441in + y = 1.15343in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:arc.42 { + astart = 0 + thickness = 7.87mil + width = 66.93mil + height = 66.93mil + ha:attributes { + } + x = 1.75441in + y = 1.15343in + adelta = 90 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 1.755in + y = 1.155in + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.43 { + clearance = 0.0 + y2 = 1.155in + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.757955in + x2 = 1.757955in + ha:flags { + } + y1 = 1.155in + } + ha:line.46 { + clearance = 0.0 + y2 = 1.155in + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.755in + x2 = 1.755in + ha:flags { + } + y1 = 1.155in + } + ha:line.49 { + clearance = 0.0 + y2 = 1.155in + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.755in + x2 = 45.577mm + ha:flags { + } + y1 = 1.155in + } + ha:line.52 { + clearance = 0.0 + y2 = 30.337mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.755in + x2 = 1.755in + ha:flags { + } + y1 = 1.155in + } + } + ha:combining { + } + } + } + } + uid = 2piHZ3u6tsVyFj4ZzGwAAAAB + ha:flags { + } + } +} Index: TO126.fp =================================================================== --- TO126.fp (revision 27120) +++ TO126.fp (revision 27121) @@ -1,35 +1,534 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:laying - Element(0x00 "Transistor" "" "TO126" 80 480 1 100 0x00) -( -# From the JEDEC drawing, the pins are rectangular with dimensions -# 25-35 mil X 15-25 mil -# -# This gives a diagonal dimension of 29.2 to 43.0 mils. -# Pin pitch is 80 to 100 mils. -# -# For a minimum clearance of 10 mils (probably not unreasonable if -# you are doing a design with leaded parts, this gives a max pad size -# of 80 mils. A 52 mil drill will give 14 mil annular ring which should -# be plenty. -# -# The mounting hole is 100 to 130 mils diameter - Pin(110 600 80 52 "1" 0x101) - Pin(200 600 80 52 "2" 0x01) - Pin(290 600 80 52 "3" 0x01) - # Befestigungsbohrung - Pin(200 170 130 110 "4" 0x01) - # Anschlussdraehte - ElementLine(100 600 100 500 30) - ElementLine(200 600 200 500 30) - ElementLine(300 600 300 500 30) - # Gehaeuse - ElementLine( 50 500 350 500 20) - ElementLine(350 500 350 70 20) - ElementLine(350 70 50 70 20) - ElementLine( 50 70 50 500 20) - Mark(100 600) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO126 Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.2 { + htop = 0 + hdia = 110.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 130.0mil + } + 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 = 130.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 130.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 136.0mil + } + 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 = 136.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 110.0mil + rot = 0.000000 + y = 600.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 600.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 290.0mil + rot = 0.000000 + y = 600.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 2 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 170.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.14 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.17 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 300.0mil + x2 = 300.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.20 { + clearance = 0.0 + y2 = 500.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 500.0mil + } + ha:line.23 { + clearance = 0.0 + y2 = 70.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 500.0mil + } + ha:line.26 { + clearance = 0.0 + y2 = 70.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 70.0mil + } + ha:line.29 { + clearance = 0.0 + y2 = 500.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 70.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 80.0mil + y = 480.0mil + rot = 90.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.32 { + clearance = 0.0 + y2 = 492.5mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 492.5mil + } + ha:line.35 { + clearance = 0.0 + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.38 { + clearance = 0.0 + y2 = 16.24mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.41 { + clearance = 0.0 + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 100.0mil + x2 = 3.54mm + ha:flags { + } + y1 = 600.0mil + } + } + ha:combining { + } + } + } + } + uid = O0KUDhlczEfk/O0PriQAAAAB + ha:flags { + } + } +} Index: TO126S.fp =================================================================== --- TO126S.fp (revision 27120) +++ TO126S.fp (revision 27121) @@ -1,23 +1,534 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - Element(0x00 "Transistor" "" "TO126S" 80 480 1 100 0x00) -( - Pin(110 600 80 52 "1" 0x101) - Pin(200 700 80 52 "2" 0x01) - Pin(290 600 80 52 "3" 0x01) - # Befestigungsbohrung - Pin(200 170 130 110 "4" 0x01) - # Anschlussdraehte - ElementLine(100 600 100 500 30) - ElementLine(200 700 200 500 30) - ElementLine(300 600 300 500 30) - # Gehaeuse - ElementLine( 50 500 350 500 20) - ElementLine(350 500 350 70 20) - ElementLine(350 70 50 70 20) - ElementLine( 50 70 50 500 20) - Mark(100 600) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO126S Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.2 { + htop = 0 + hdia = 110.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 130.0mil + } + 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 = 130.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 130.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 136.0mil + } + 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 = 136.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 110.0mil + rot = 0.000000 + y = 600.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 700.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 290.0mil + rot = 0.000000 + y = 600.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 2 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 170.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.14 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 700.0mil + } + ha:line.17 { + clearance = 0.0 + y2 = 500.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 300.0mil + x2 = 300.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.20 { + clearance = 0.0 + y2 = 500.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 500.0mil + } + ha:line.23 { + clearance = 0.0 + y2 = 70.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 500.0mil + } + ha:line.26 { + clearance = 0.0 + y2 = 70.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 70.0mil + } + ha:line.29 { + clearance = 0.0 + y2 = 500.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 70.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 80.0mil + y = 480.0mil + rot = 90.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.32 { + clearance = 0.0 + y2 = 517.5mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 517.5mil + } + ha:line.35 { + clearance = 0.0 + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.38 { + clearance = 0.0 + y2 = 16.24mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 600.0mil + } + ha:line.41 { + clearance = 0.0 + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 100.0mil + x2 = 3.54mm + ha:flags { + } + y1 = 600.0mil + } + } + ha:combining { + } + } + } + } + uid = Iqh6vyX2eHbtviil6fUAAAAB + ha:flags { + } + } +} Index: TO126SW.fp =================================================================== --- TO126SW.fp (revision 27120) +++ TO126SW.fp (revision 27121) @@ -1,21 +1,434 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - Element(0x00 "Transistor" "" "TO126SW" 270 170 0 100 0x00) -( - Pin(110 100 80 52 "1" 0x101) - Pin(200 200 80 52 "2" 0x01) - Pin(290 100 80 52 "3" 0x01) - # Gehaeuse - ElementLine(200 200 200 150 30) - ElementLine( 50 50 350 50 20) - ElementLine(350 50 350 150 20) - ElementLine(350 150 50 150 20) - ElementLine( 50 150 50 50 20) - # Bohrung - ElementLine(150 50 150 150 10) - ElementLine(250 50 250 150 10) - Mark(100 100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO126SW Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 110.0mil + rot = 0.000000 + y = 100.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 290.0mil + rot = 0.000000 + y = 100.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 150.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 200.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 50.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 150.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:line.19 { + clearance = 0.0 + y2 = 150.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 150.0mil + } + ha:line.22 { + clearance = 0.0 + y2 = 50.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 150.0mil + } + ha:line.25 { + clearance = 0.0 + y2 = 150.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 150.0mil + x2 = 150.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 150.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 250.0mil + x2 = 250.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 270.0mil + y = 170.0mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.31 { + clearance = 0.0 + y2 = 3.386666mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 3.386666mm + } + ha:line.34 { + clearance = 0.0 + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 100.0mil + } + ha:line.37 { + clearance = 0.0 + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 100.0mil + x2 = 3.54mm + ha:flags { + } + y1 = 100.0mil + } + ha:line.40 { + clearance = 0.0 + y2 = 3.54mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 100.0mil + } + } + ha:combining { + } + } + } + } + uid = sxuYoda+IstkKcLGGkQAAAAB + ha:flags { + } + } +} Index: TO126W.fp =================================================================== --- TO126W.fp (revision 27120) +++ TO126W.fp (revision 27121) @@ -1,16 +1,398 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - Element(0x00 "Transistor" "" "TO126W" 60 170 0 100 0x00) -( - Pin(110 100 80 52 "1" 0x101) - Pin(200 100 80 52 "2" 0x01) - Pin(290 100 80 52 "3" 0x01) - ElementLine(50 50 350 50 20) - ElementLine(350 50 350 150 20) - ElementLine(350 150 50 150 20) - ElementLine(50 150 50 50 20) - Mark(100 100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO126W Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 52.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 110.0mil + rot = 0.000000 + y = 100.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 200.0mil + rot = 0.000000 + y = 100.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 290.0mil + rot = 0.000000 + y = 100.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 50.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 150.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 350.0mil + ha:flags { + } + y1 = 50.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 150.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 350.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 150.0mil + } + ha:line.19 { + clearance = 0.0 + y2 = 50.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 50.0mil + x2 = 50.0mil + ha:flags { + } + y1 = 150.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 60.0mil + y = 170.0mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.22 { + clearance = 0.0 + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 200.0mil + x2 = 200.0mil + ha:flags { + } + y1 = 100.0mil + } + ha:line.25 { + clearance = 0.0 + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 100.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 3.54mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 100.0mil + x2 = 100.0mil + ha:flags { + } + y1 = 100.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 100.0mil + x2 = 3.54mm + ha:flags { + } + y1 = 100.0mil + } + } + ha:combining { + } + } + } + } + uid = M7n7GB058pNjVDcWttAAAAAB + ha:flags { + } + } +} Index: TO18.fp =================================================================== --- TO18.fp (revision 27120) +++ TO18.fp (revision 27121) @@ -1,36 +1,305 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer - Element["" "Transistor" "" "TO18" 10300 11100 6000 7000 0 100 ""] -( -# The JEDEC drawing shows a pin diameter of 16-21 mils -# -# -# ___x_ -# / \ -# TO18: |3 1| <-- bottom view (supposed to be a circle) -# \ 2 / -# --- -# -# NOTE: some vendors, ST for example, number the pins -# differently. Here we follow the JEDEC drawing. -# -# the pins are arranged along a 100 mil diameter -# circle. The can outline is 178 to 195 mils -# for the top of the can and 209 to 230 mils -# for the bottom edge of the can -# - Pin[0 -5000 5500 3000 6100 3500 "1" "1" ""] - Pin[-5000 0 5500 3000 6100 3500 "2" "2" ""] - Pin[0 5000 5500 3000 6100 3500 "3" "3" ""] -# x, y, width, height, start angle, delta angle, thickness - ElementArc [0 0 9800 9800 0 360 1000] -# tab is 28 to 48 mils long, 36 to 46 wide -# and comes off at an angle of 45 deg clockwise from -# pin 1 when looking at the top of the board - ElementLine [6700 -7900 9400 -10600 1000] - ElementLine [7300 -7300 10000 -10000 1000] - ElementLine [7900 -6700 10600 -9400 1000] - ElementLine [9400 -10600 10600 -9400 1000] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO18 Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 35.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 55.0mil + } + 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 = 55.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 55.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 61.0mil + } + 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 = 61.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.61874mm + rot = 0.000000 + y = 1.549792mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 53.1mil + rot = 0.000000 + y = 2.819792mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 2.61874mm + rot = 0.000000 + y = 4.089792mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.32054mm + x2 = 5.00634mm + ha:flags { + } + y1 = 0.813192mm + } + ha:line.14 { + clearance = 0.0 + y2 = 0.279792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.47294mm + x2 = 5.15874mm + ha:flags { + } + y1 = 0.965592mm + } + ha:line.17 { + clearance = 0.0 + y2 = 0.432192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.62534mm + x2 = 5.31114mm + ha:flags { + } + y1 = 1.117992mm + } + ha:line.20 { + clearance = 0.0 + y2 = 0.432192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.00634mm + x2 = 5.31114mm + ha:flags { + } + y1 = 0.127392mm + } + ha:arc.10 { + astart = 0 + thickness = 10.0mil + width = 98.0mil + height = 98.0mil + ha:attributes { + } + x = 2.61874mm + y = 2.819792mm + adelta = 360 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 4.14274mm + y = 4.597792mm + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.23 { + clearance = 0.0 + y2 = 2.819792mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.195406mm + x2 = 2.195406mm + ha:flags { + } + y1 = 2.819792mm + } + ha:line.26 { + clearance = 0.0 + y2 = 2.819792mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.61874mm + x2 = 2.61874mm + ha:flags { + } + y1 = 2.819792mm + } + ha:line.29 { + clearance = 0.0 + y2 = 1.819792mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.61874mm + x2 = 2.61874mm + ha:flags { + } + y1 = 2.819792mm + } + ha:line.32 { + clearance = 0.0 + y2 = 2.819792mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.61874mm + x2 = 1.61874mm + ha:flags { + } + y1 = 2.819792mm + } + } + ha:combining { + } + } + } + } + uid = OidYcSm6o+LolzS8Q8kAAAAB + ha:flags { + } + } +} Index: TO218.fp =================================================================== --- TO218.fp (revision 27120) +++ TO218.fp (revision 27121) @@ -1,17 +1,434 @@ -##from:pcb -##for:diode -##geo:standing -Element(0x00 "diode in TO220" "" "TO218" 675 50 3 100 0x00) -( - Pin(88 120 100 60 "1" 0x101) - Pin(307 120 100 60 "2" 0x01) - Pin(526 120 100 60 "3" 0x01) - ElementLine(0 0 0 200 20) - ElementLine(0 200 615 200 20) - ElementLine(615 200 615 0 20) - ElementLine(615 0 0 0 20) - ElementLine(0 50 615 50 10) - ElementLine(232 0 232 50 10) - ElementLine(382 0 382 50 10) - Mark(88 260) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO218 diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + 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 = 100.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 106.0mil + } + 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 = 106.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.489983mm + rot = 0.000000 + y = 3.302783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 8.052583mm + rot = 0.000000 + y = 3.302783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 13.615183mm + rot = 0.000000 + y = 3.302783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.334783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 15.875783mm + ha:flags { + } + y1 = 5.334783mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 15.875783mm + x2 = 15.875783mm + ha:flags { + } + y1 = 5.334783mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 15.875783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.22 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 15.875783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 6.147583mm + x2 = 6.147583mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 9.957583mm + x2 = 9.957583mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 17.399783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.31 { + clearance = 0.0 + y2 = 3.302783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 8.052583mm + x2 = 8.052583mm + ha:flags { + } + y1 = 3.302783mm + } + ha:line.34 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.489983mm + x2 = 2.489983mm + ha:flags { + } + y1 = 6.858783mm + } + ha:line.37 { + clearance = 0.0 + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.489983mm + x2 = 2.489983mm + ha:flags { + } + y1 = 6.858783mm + } + ha:line.40 { + clearance = 0.0 + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.489983mm + x2 = 3.489983mm + ha:flags { + } + y1 = 6.858783mm + } + } + ha:combining { + } + } + } + } + uid = es25ud3aaCFW34xH0swAAAAB + ha:flags { + } + } +} Index: TO220.fp =================================================================== --- TO220.fp (revision 27120) +++ TO220.fp (revision 27121) @@ -1,47 +1,678 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:laying -##ref:http://www.zetex.com/3.0/pdf/TO220.pdf - Element(0x00 "Transistor" "" "TO220" 50 570 1 100 0x00) -( -# I have been unable to locate the JEDEC drawing. However, refering -# to http://www.zetex.com/3.0/pdf/TO220.pdf which claims to be JEDEC -# compliant, I see that the pins are rectangular with dimensions: -# -# 15-40 mils X 16-20 mils which gives a diagonal of -# 21.9 to 44.7 mils -# -# The pin pitch is 90 to 110 mils. -# -# The mounting hole is 139 to 160 mils diameter - Pin(100 800 90 60 "1" 0x101) - Pin(200 800 90 60 "2" 0x01) - Pin(300 800 90 60 "3" 0x01) - # Befestigungsbohrung - Pin(200 130 150 130 "4" 0x01) - # Anschlussdraehte - ElementLine(100 800 100 620 30) - ElementLine(200 800 200 620 30) - ElementLine(300 800 300 620 30) - # Gehaeuse - ElementLine( 0 620 400 620 20) - ElementLine(400 620 400 245 20) - ElementLine(400 245 0 245 20) - ElementLine( 0 245 0 620 20) - # Kuehlfahne mit Kerben - ElementLine( 0 245 400 245 20) - ElementLine(400 245 400 120 20) - ElementLine(400 120 385 120 20) - ElementLine(385 120 385 50 20) - ElementLine(385 50 400 50 20) - ElementLine(400 50 400 10 20) - ElementLine(400 10 0 10 20) - ElementLine( 0 10 0 50 20) - ElementLine( 0 50 15 50 20) - ElementLine( 15 50 15 120 20) - ElementLine( 15 120 0 120 20) - ElementLine( 0 120 0 245 20) - Mark(200 800) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO220 Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.2 { + htop = 0 + hdia = 130.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 150.0mil + } + 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 = 150.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 150.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 156.0mil + } + 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 = 156.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.794783mm + rot = 0.000000 + y = 20.320783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 20.320783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 7.874783mm + rot = 0.000000 + y = 20.320783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 2 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 3.302783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.14 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.17 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 7.874783mm + x2 = 7.874783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.20 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 15.748783mm + } + ha:line.23 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 15.748783mm + } + ha:line.26 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.29 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.32 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.35 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.38 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.033783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.41 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.033783mm + x2 = 10.033783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.44 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.033783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.47 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.50 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.53 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.56 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.635783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.59 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.635783mm + x2 = 0.635783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.62 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.635783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.65 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 1.524783mm + y = 14.478783mm + rot = 90.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.68 { + clearance = 0.0 + y2 = 16.066283mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 16.066283mm + } + ha:line.71 { + clearance = 0.0 + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.74 { + clearance = 0.0 + y2 = 21.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.77 { + clearance = 0.0 + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 5.334783mm + x2 = 6.334783mm + ha:flags { + } + y1 = 20.320783mm + } + } + ha:combining { + } + } + } + } + uid = uOkA89keooMxmh5v+cMAAAAB + ha:flags { + } + } +} Index: TO220ACSTAND.fp =================================================================== --- TO220ACSTAND.fp (revision 27120) +++ TO220ACSTAND.fp (revision 27121) @@ -1,16 +1,416 @@ -##from:pcb -##for:diode -##geo:standing -Element(0x00 "diode in TO220" "" "TO220ACSTAND" 460 50 3 100 0x00) -( - Pin(100 100 80 40 "1" 0x101) - Pin(300 100 80 40 "2" 0x01) - ElementLine(0 0 0 180 20) - ElementLine(0 180 400 180 20) - ElementLine(400 180 400 0 20) - ElementLine(400 0 0 0 20) - ElementLine(0 50 400 50 10) - ElementLine(125 0 125 50 10) - ElementLine(275 0 275 50 10) - Mark(100 220) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO220ACSTAND diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -40.0mil + -40.0mil + 40.0mil + -40.0mil + 40.0mil + 40.0mil + -40.0mil + 40.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -43.0mil + -43.0mil + 43.0mil + -43.0mil + 43.0mil + 43.0mil + -43.0mil + 43.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + 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 = 80.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 80.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 86.0mil + } + 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 = 86.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.794783mm + rot = 0.000000 + y = 2.794783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 7.874783mm + rot = 0.000000 + y = 2.794783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 4.826783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.12 { + clearance = 0.0 + y2 = 4.826783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 4.826783mm + } + ha:line.15 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 4.826783mm + } + ha:line.18 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.21 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 3.429783mm + x2 = 3.429783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.239783mm + x2 = 7.239783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 11.938783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.30 { + clearance = 0.0 + y2 = 2.794783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 2.794783mm + } + ha:line.33 { + clearance = 0.0 + y2 = 5.842783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 5.842783mm + } + ha:line.36 { + clearance = 0.0 + y2 = 5.842783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.794783mm + x2 = 3.794783mm + ha:flags { + } + y1 = 5.842783mm + } + ha:line.39 { + clearance = 0.0 + y2 = 6.842783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 5.842783mm + } + } + ha:combining { + } + } + } + } + uid = giMFC8I9a3NsCRqIha4AAAAB + ha:flags { + } + } +} Index: TO220S.fp =================================================================== --- TO220S.fp (revision 27120) +++ TO220S.fp (revision 27121) @@ -1,36 +1,678 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:stadning - Element(0x00 "Transistor" "" "TO220S" 50 570 1 100 0x00) -( - Pin(100 800 90 60 "1" 0x101) - Pin(200 900 90 60 "2" 0x01) - Pin(300 800 90 60 "3" 0x01) - # Befestigungsbohrung - Pin(200 130 150 130 "4" 0x01) - # Anschlussdraehte - ElementLine(100 800 100 620 30) - ElementLine(200 900 200 620 30) - ElementLine(300 800 300 620 30) - # Gehaeuse - ElementLine( 0 620 400 620 20) - ElementLine(400 620 400 245 20) - ElementLine(400 245 0 245 20) - ElementLine( 0 245 0 620 20) - # Kuehlfahne mit Kerben - ElementLine( 0 245 400 245 20) - ElementLine(400 245 400 120 20) - ElementLine(400 120 385 120 20) - ElementLine(385 120 385 50 20) - ElementLine(385 50 400 50 20) - ElementLine(400 50 400 10 20) - ElementLine(400 10 0 10 20) - ElementLine( 0 10 0 50 20) - ElementLine( 0 50 15 50 20) - ElementLine( 15 50 15 120 20) - ElementLine( 15 120 0 120 20) - ElementLine( 0 120 0 245 20) - Mark(200 800) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO220S Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.2 { + htop = 0 + hdia = 130.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 150.0mil + } + 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 = 150.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 150.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 156.0mil + } + 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 = 156.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.794783mm + rot = 0.000000 + y = 20.320783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 22.860783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 7.874783mm + rot = 0.000000 + y = 20.320783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.10 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 2 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 3.302783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.14 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 22.860783mm + } + ha:line.17 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 30.0mil + ha:attributes { + } + x1 = 7.874783mm + x2 = 7.874783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.20 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 15.748783mm + } + ha:line.23 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 15.748783mm + } + ha:line.26 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.29 { + clearance = 0.0 + y2 = 15.748783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.32 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.35 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 6.223783mm + } + ha:line.38 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.033783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.41 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.033783mm + x2 = 10.033783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.44 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.033783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.47 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.50 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.53 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.56 { + clearance = 0.0 + y2 = 1.270783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.635783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.59 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.635783mm + x2 = 0.635783mm + ha:flags { + } + y1 = 1.270783mm + } + ha:line.62 { + clearance = 0.0 + y2 = 3.048783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.635783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:line.65 { + clearance = 0.0 + y2 = 6.223783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 3.048783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 1.524783mm + y = 14.478783mm + rot = 90.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.68 { + clearance = 0.0 + y2 = 16.701283mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 16.701283mm + } + ha:line.71 { + clearance = 0.0 + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.74 { + clearance = 0.0 + y2 = 21.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 20.320783mm + } + ha:line.77 { + clearance = 0.0 + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 5.334783mm + x2 = 6.334783mm + ha:flags { + } + y1 = 20.320783mm + } + } + ha:combining { + } + } + } + } + uid = kX4D5wU+XHa4jjNd2YMAAAAB + ha:flags { + } + } +} Index: TO220SW.fp =================================================================== --- TO220SW.fp (revision 27120) +++ TO220SW.fp (revision 27121) @@ -1,26 +1,482 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - Element(0x00 "Transistor" "" "TO220SW" 0 10 0 100 0x00) -( - Pin(100 200 90 60 "1" 0x101) - Pin(200 300 90 60 "2" 0x01) - Pin(300 200 90 60 "3" 0x01) - # Gehaeuse - ElementLine( 0 80 400 80 20) - ElementLine(400 80 400 260 20) - ElementLine(400 260 0 260 20) - ElementLine( 0 260 0 80 20) - # Kuehlfahne icl. Bohrung - ElementLine( 0 80 400 80 20) - ElementLine(400 80 400 140 20) - ElementLine(400 140 0 140 20) - ElementLine( 0 140 0 80 20) - ElementLine(130 80 130 140 10) - ElementLine(270 80 270 140 10) - # Anschlussdraht - ElementLine(200 300 200 260 30) - Mark(100 200) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO220SW Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.794783mm + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 300.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 7.874783mm + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 260.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 260.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 260.0mil + } + ha:line.19 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 260.0mil + } + ha:line.22 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.25 { + clearance = 0.0 + y2 = 140.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 140.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 140.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 140.0mil + } + ha:line.34 { + clearance = 0.0 + y2 = 140.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 3.556783mm + x2 = 3.556783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.37 { + clearance = 0.0 + y2 = 140.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 7.112783mm + x2 = 7.112783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.40 { + clearance = 0.0 + y2 = 260.0mil + thickness = 30.0mil + ha:attributes { + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 300.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.254783mm + y = 10.0mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.43 { + clearance = 0.0 + y2 = 5.926666mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 5.926666mm + } + ha:line.46 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 200.0mil + } + ha:line.49 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.794783mm + x2 = 3.794783mm + ha:flags { + } + y1 = 200.0mil + } + ha:line.52 { + clearance = 0.0 + y2 = 6.08mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 200.0mil + } + } + ha:combining { + } + } + } + } + uid = wyLdsi+eW/3szft7c1QAAAAB + ha:flags { + } + } +} Index: TO220W.fp =================================================================== --- TO220W.fp (revision 27120) +++ TO220W.fp (revision 27121) @@ -1,23 +1,470 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing Element(0x00 "Transistor" "" "TO220W" 0 10 0 100 0x00) -( - Pin(100 200 90 60 "1" 0x101) - Pin(200 200 90 60 "2" 0x01) - Pin(300 200 90 60 "3" 0x01) - # Gehaeuse - ElementLine( 0 80 400 80 20) - ElementLine(400 80 400 260 20) - ElementLine(400 260 0 260 20) - ElementLine( 0 260 0 80 20) - # Kuehlfahne icl. Bohrung - ElementLine( 0 80 400 80 20) - ElementLine(400 80 400 140 20) - ElementLine(400 140 0 140 20) - ElementLine( 0 140 0 80 20) - ElementLine(130 80 130 140 10) - ElementLine(270 80 270 140 10) - Mark(100 200) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO220W Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -45.0mil + -45.0mil + 45.0mil + -45.0mil + 45.0mil + 45.0mil + -45.0mil + 45.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -48.0mil + -48.0mil + 48.0mil + -48.0mil + 48.0mil + 48.0mil + -48.0mil + 48.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + 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 = 90.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 90.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 96.0mil + } + 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 = 96.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.794783mm + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 5.334783mm + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 7.874783mm + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 260.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 260.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 260.0mil + } + ha:line.19 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 260.0mil + } + ha:line.22 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.25 { + clearance = 0.0 + y2 = 140.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 140.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 10.414783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 140.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 80.0mil + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 140.0mil + } + ha:line.34 { + clearance = 0.0 + y2 = 140.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 3.556783mm + x2 = 3.556783mm + ha:flags { + } + y1 = 80.0mil + } + ha:line.37 { + clearance = 0.0 + y2 = 140.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 7.112783mm + x2 = 7.112783mm + ha:flags { + } + y1 = 80.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.254783mm + y = 10.0mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.40 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.334783mm + x2 = 5.334783mm + ha:flags { + } + y1 = 200.0mil + } + ha:line.43 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 200.0mil + } + ha:line.46 { + clearance = 0.0 + y2 = 6.08mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.794783mm + x2 = 2.794783mm + ha:flags { + } + y1 = 200.0mil + } + ha:line.49 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.794783mm + x2 = 3.794783mm + ha:flags { + } + y1 = 200.0mil + } + } + ha:combining { + } + } + } + } + uid = ayqDUR+Z6aT2RssOtxMAAAAB + ha:flags { + } + } +} Index: TO247.fp =================================================================== --- TO247.fp (revision 27120) +++ TO247.fp (revision 27121) @@ -1,19 +1,434 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing -Element(0x00 "diode in TO220" "" "TO247" 690 50 3 100 0x00) -( - Pin(96 130 100 60 "1" 0x101) - Pin(315 130 100 60 "2" 0x01) - Pin(534 130 100 60 "3" 0x01) - ElementLine(0 0 0 210 20) - ElementLine(0 210 630 210 20) - ElementLine(630 210 630 0 20) - ElementLine(630 0 0 0 20) - ElementLine(0 50 630 50 10) - ElementLine(240 0 240 50 10) - ElementLine(390 0 390 50 10) - Mark(96 270) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO247 diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + 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 = 100.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 106.0mil + } + 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 = 106.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.693183mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 8.255783mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 13.818383mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 16.256783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 16.256783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.22 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 6.350783mm + x2 = 6.350783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 10.160783mm + x2 = 10.160783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 17.780783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.31 { + clearance = 0.0 + y2 = 3.556783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 8.255783mm + x2 = 8.255783mm + ha:flags { + } + y1 = 3.556783mm + } + ha:line.34 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.37 { + clearance = 0.0 + y2 = 8.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.40 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.693183mm + x2 = 3.693183mm + ha:flags { + } + y1 = 7.112783mm + } + } + ha:combining { + } + } + } + } + uid = iN8eCDY1d9cB+LCvYmsAAAAB + ha:flags { + } + } +} Index: TO247_2.fp =================================================================== --- TO247_2.fp (revision 27120) +++ TO247_2.fp (revision 27121) @@ -1,17 +1,416 @@ -##from:pcb -##for:diode -##geo:standing - -Element(0x00 "diode in TO220" "" "TO247_2" 690 50 3 100 0x00) -( - Pin(96 130 100 60 "1" 0x101) - Pin(534 130 100 60 "2" 0x01) - ElementLine(0 0 0 210 20) - ElementLine(0 210 630 210 20) - ElementLine(630 210 630 0 20) - ElementLine(630 0 0 0 20) - ElementLine(0 50 630 50 10) - ElementLine(240 0 240 50 10) - ElementLine(390 0 390 50 10) - Mark(96 270) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO247_2 diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + 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 = 100.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 106.0mil + } + 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 = 106.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.693183mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 13.818383mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.12 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.15 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 16.256783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.18 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 16.256783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.21 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 16.256783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.24 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 6.350783mm + x2 = 6.350783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.27 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 10.160783mm + x2 = 10.160783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 17.780783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.30 { + clearance = 0.0 + y2 = 3.556783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 8.255783mm + x2 = 8.255783mm + ha:flags { + } + y1 = 3.556783mm + } + ha:line.33 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.36 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.693183mm + x2 = 3.693183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.39 { + clearance = 0.0 + y2 = 8.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 7.112783mm + } + } + ha:combining { + } + } + } + } + uid = WJYlfial3zliAL7vW/EAAAAB + ha:flags { + } + } +} Index: TO251.fp =================================================================== --- TO251.fp (revision 27120) +++ TO251.fp (revision 27121) @@ -1,20 +1,434 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - -Element(0x00 "diode in TO220" "" "TO251" 325 50 3 100 0x00) -( - Pin(42 50 70 40 "1" 0x101) - Pin(132 50 70 40 "2" 0x01) - Pin(222 50 70 40 "3" 0x01) - ElementLine(0 0 0 100 20) - ElementLine(0 100 265 100 20) - ElementLine(265 100 265 0 20) - ElementLine(265 0 0 0 20) - ElementLine(0 50 265 50 10) - ElementLine(57 0 57 50 10) - ElementLine(207 0 207 50 10) - Mark(42 140) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO251 diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.0mil + -35.0mil + 35.0mil + -35.0mil + 35.0mil + 35.0mil + -35.0mil + 35.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.0mil + -35.0mil + 35.0mil + -35.0mil + 35.0mil + 35.0mil + -35.0mil + 35.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -35.0mil + -35.0mil + 35.0mil + -35.0mil + 35.0mil + 35.0mil + -35.0mil + 35.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -38.0mil + -38.0mil + 38.0mil + -38.0mil + 38.0mil + 38.0mil + -38.0mil + 38.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -38.0mil + -38.0mil + 38.0mil + -38.0mil + 38.0mil + 38.0mil + -38.0mil + 38.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 40.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 70.0mil + } + 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 = 70.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 70.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 76.0mil + } + 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 = 76.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 53.0mil + rot = 0.000000 + y = 1.524783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 143.0mil + rot = 0.000000 + y = 1.524783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 233.0mil + rot = 0.000000 + y = 1.524783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 2.794783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.0mil + x2 = 11.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.794783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 11.0mil + x2 = 276.0mil + ha:flags { + } + y1 = 2.794783mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 276.0mil + x2 = 276.0mil + ha:flags { + } + y1 = 2.794783mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 276.0mil + x2 = 11.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.22 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 11.0mil + x2 = 276.0mil + ha:flags { + } + y1 = 1.524783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 68.0mil + x2 = 68.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 218.0mil + x2 = 218.0mil + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 336.0mil + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.31 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 143.0mil + x2 = 143.0mil + ha:flags { + } + y1 = 1.524783mm + } + ha:line.34 { + clearance = 0.0 + y2 = 3.810783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 53.0mil + x2 = 53.0mil + ha:flags { + } + y1 = 3.810783mm + } + ha:line.37 { + clearance = 0.0 + y2 = 4.810783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 53.0mil + x2 = 53.0mil + ha:flags { + } + y1 = 3.810783mm + } + ha:line.40 { + clearance = 0.0 + y2 = 3.810783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 53.0mil + x2 = 2.3462mm + ha:flags { + } + y1 = 3.810783mm + } + } + ha:combining { + } + } + } + } + uid = v2nZCPR4jv3R3f/6N5sAAAAB + ha:flags { + } + } +} Index: TO264.fp =================================================================== --- TO264.fp (revision 27120) +++ TO264.fp (revision 27121) @@ -1,18 +1,434 @@ -##from:pcb -##for:diode -##geo:standing - -Element(0x00 "diode in TO220" "" "TO264" 860 50 3 100 0x00) -( - Pin(181 130 100 60 "1" 0x101) - Pin(400 130 100 60 "2" 0x01) - Pin(619 130 100 60 "3" 0x01) - ElementLine(0 0 0 210 20) - ElementLine(0 210 800 210 20) - ElementLine(800 210 800 0 20) - ElementLine(800 0 0 0 20) - ElementLine(0 50 800 50 10) - ElementLine(325 0 325 50 10) - ElementLine(475 0 475 50 10) - Mark(181 270) - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO264 diode in TO220 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -50.0mil + -50.0mil + 50.0mil + -50.0mil + 50.0mil + 50.0mil + -50.0mil + 50.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -53.0mil + -53.0mil + 53.0mil + -53.0mil + 53.0mil + 53.0mil + -53.0mil + 53.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 60.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + 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 = 100.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 100.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 106.0mil + } + 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 = 106.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 4.852183mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 10.414783mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 15.977383mm + rot = 0.000000 + y = 3.556783mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.588783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 20.574783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 5.588783mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.254783mm + thickness = 20.0mil + ha:attributes { + } + x1 = 20.574783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.22 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 20.574783mm + ha:flags { + } + y1 = 1.524783mm + } + ha:line.25 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 8.509783mm + x2 = 8.509783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:line.28 { + clearance = 0.0 + y2 = 1.524783mm + thickness = 10.0mil + ha:attributes { + } + x1 = 12.319783mm + x2 = 12.319783mm + ha:flags { + } + y1 = 0.254783mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 22.098783mm + y = 1.524783mm + rot = 270.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.31 { + clearance = 0.0 + y2 = 3.556783mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 10.414783mm + x2 = 10.414783mm + ha:flags { + } + y1 = 3.556783mm + } + ha:line.34 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 4.852183mm + x2 = 4.852183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.37 { + clearance = 0.0 + y2 = 8.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 4.852183mm + x2 = 4.852183mm + ha:flags { + } + y1 = 7.112783mm + } + ha:line.40 { + clearance = 0.0 + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 4.852183mm + x2 = 5.852183mm + ha:flags { + } + y1 = 7.112783mm + } + } + ha:combining { + } + } + } + } + uid = 8OAC9HM9Aw1ZzceKxDMAAAAB + ha:flags { + } + } +} Index: TO39.fp =================================================================== --- TO39.fp (revision 27120) +++ TO39.fp (revision 27121) @@ -1,37 +1,412 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer - - Element["" "Transistor" "" "TO39" 18800 18800 6000 7000 0 100 ""] -( -# The JEDEC drawing shows a pin diameter of 16-21 mils -# -# -# ___x_ -# / \ -# TO39: |3 1| <-- bottom view (supposed to be a circle) -# \ 2 / -# --- -# -# NOTE: some vendors, ST for example, number the pins -# differently. Here we follow the JEDEC drawing. -# -# the pins are arranged along a 200 mil diameter -# circle. The can outline is 315 to 335 mils (320 nom) -# for the top of the can and 350 to 370 mils (360 nom) -# for the bottom edge of thecan -# - Pin[0 -10000 5500 3000 6100 3500 "1" "1" "square"] - Pin[-10000 0 5500 3000 6100 3500 "2" "2" ""] - Pin[0 10000 5500 3000 6100 3500 "3" "3" ""] -# tab is 29 to 40 mils long, 28 to 34 wide -# and comes off at an angle of 45 deg clockwise from -# pin 1 when looking at the top of the board - ElementLine [12700 -13900 14800 -16000 1000] - ElementLine [13300 -13300 15400 -15400 1000] - ElementLine [13900 -12700 16000 -14800 1000] - ElementLine [16000 -14800 14800 -16000 1000] -# x, y, width, height, start angle, delta angle, thickness - ElementArc [0 0 18300 18300 0 360 1000] - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO39 Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 35.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -27.5mil + -27.5mil + 27.5mil + -27.5mil + 27.5mil + 27.5mil + -27.5mil + 27.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -27.5mil + -27.5mil + 27.5mil + -27.5mil + 27.5mil + 27.5mil + -27.5mil + 27.5mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -27.5mil + -27.5mil + 27.5mil + -27.5mil + 27.5mil + 27.5mil + -27.5mil + 27.5mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.5mil + -30.5mil + 30.5mil + -30.5mil + 30.5mil + 30.5mil + -30.5mil + 30.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -30.5mil + -30.5mil + 30.5mil + -30.5mil + 30.5mil + 30.5mil + -30.5mil + 30.5mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 35.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 55.0mil + } + 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 = 55.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 55.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 61.0mil + } + 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 = 61.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 4.77774mm + rot = 0.000000 + y = 2.23774mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 2.23774mm + rot = 0.000000 + y = 4.77774mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 4.77774mm + rot = 0.000000 + y = 288.1mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.10 { + clearance = 0.0 + y2 = 28.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 315.1mil + x2 = 336.1mil + ha:flags { + } + y1 = 49.1mil + } + ha:line.13 { + clearance = 0.0 + y2 = 34.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 321.1mil + x2 = 342.1mil + ha:flags { + } + y1 = 55.1mil + } + ha:line.16 { + clearance = 0.0 + y2 = 40.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 327.1mil + x2 = 348.1mil + ha:flags { + } + y1 = 61.1mil + } + ha:line.19 { + clearance = 0.0 + y2 = 28.1mil + thickness = 10.0mil + ha:attributes { + } + x1 = 348.1mil + x2 = 336.1mil + ha:flags { + } + y1 = 40.1mil + } + ha:arc.22 { + astart = 0 + thickness = 10.0mil + width = 183.0mil + height = 183.0mil + ha:attributes { + } + x = 4.77774mm + y = 4.77774mm + adelta = 360 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.30174mm + y = 258.1mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.23 { + clearance = 0.0 + y2 = 4.77774mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.931073mm + x2 = 3.931073mm + ha:flags { + } + y1 = 4.77774mm + } + ha:line.26 { + clearance = 0.0 + y2 = 4.77774mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 4.77774mm + x2 = 4.77774mm + ha:flags { + } + y1 = 4.77774mm + } + ha:line.29 { + clearance = 0.0 + y2 = 3.77774mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 4.77774mm + x2 = 4.77774mm + ha:flags { + } + y1 = 4.77774mm + } + ha:line.32 { + clearance = 0.0 + y2 = 4.77774mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 4.77774mm + x2 = 3.77774mm + ha:flags { + } + y1 = 4.77774mm + } + } + ha:combining { + } + } + } + } + uid = F67S28P4pxCGLl/9emkAAAAB + ha:flags { + } + } +} Index: TO92.fp =================================================================== --- TO92.fp (revision 27120) +++ TO92.fp (revision 27121) @@ -1,23 +1,376 @@ -##from:pcb -##for:transistor -##for:linear -##for:stabilizer -##geo:standing - - Element(0x00 "Transistor" "" "TO92" 60 70 0 100 0x00) -( -# The JEDEC drawing shows a pin diameter of 16-21 mils -# -# -# _______ -# TO92: | 1 2 3 | <-- bottom view -# \_____/ -# -# The pin to pin spacing is 100 mils. - Pin(250 200 72 42 "1" 0x101) - Pin(150 200 72 42 "2" 0x01) - Pin(50 200 72 42 "3" 0x01) - ElementArc(150 200 100 100 315 270 10) - ElementLine( 80 130 220 130 10) - Mark(50 200) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TO92 Transistor + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 42.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -36.0mil + -36.0mil + 36.0mil + -36.0mil + 36.0mil + 36.0mil + -36.0mil + 36.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -36.0mil + -36.0mil + 36.0mil + -36.0mil + 36.0mil + 36.0mil + -36.0mil + 36.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -36.0mil + -36.0mil + 36.0mil + -36.0mil + 36.0mil + 36.0mil + -36.0mil + 36.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -39.0mil + -39.0mil + 39.0mil + -39.0mil + 39.0mil + 39.0mil + -39.0mil + 39.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -39.0mil + -39.0mil + 39.0mil + -39.0mil + 39.0mil + 39.0mil + -39.0mil + 39.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 42.0mil + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 72.0mil + } + 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 = 72.0mil + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 72.0mil + } + ha:layer_mask { + copper = 1 + intern = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + ha:ps_circ { + x = 0.0 + y = 0.0 + dia = 78.0mil + } + 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 = 78.0mil + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + hbottom = 0 + hplated = 1 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 254.0mil + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 154.0mil + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.9 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 54.0mil + rot = 0.000000 + y = 200.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.11 { + clearance = 0.0 + y2 = 130.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 84.0mil + x2 = 224.0mil + ha:flags { + } + y1 = 130.0mil + } + ha:arc.10 { + astart = 315 + thickness = 10.0mil + width = 100.0mil + height = 100.0mil + ha:attributes { + } + x = 154.0mil + y = 200.0mil + adelta = 270 + ha:flags { + } + clearance = 0.0 + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 64.0mil + y = 70.0mil + rot = 0.000000 + string = %a.parent.refdes% + fid = 0 + ha:flags { + dyntext = 1 + floater = 1 + } + } + } + ha:combining { + } + } + ha:subc-aux { + lid = 1 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.14 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 154.0mil + x2 = 154.0mil + ha:flags { + } + y1 = 200.0mil + } + ha:line.17 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 54.0mil + x2 = 54.0mil + ha:flags { + } + y1 = 200.0mil + } + ha:line.20 { + clearance = 0.0 + y2 = 4.08mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 54.0mil + x2 = 54.0mil + ha:flags { + } + y1 = 200.0mil + } + ha:line.23 { + clearance = 0.0 + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 54.0mil + x2 = 0.3716mm + ha:flags { + } + y1 = 200.0mil + } + } + ha:combining { + } + } + } + } + uid = guzk2KSYW/BVDIzhJVkAAAAB + ha:flags { + } + } +}