Index: 01005.fp =================================================================== --- 01005.fp (revision 27120) +++ 01005.fp (revision 27121) @@ -1,32 +1,211 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "01005" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-807 -19 - -807 19 - 984 2000 1584 "1" "1" "square"] - Pad[807 -19 - 807 19 - 984 2000 1584 "2" "2" "square"] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 01005 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 4.92mil + -5.11mil + -4.92mil + -5.11mil + -4.92mil + 5.11mil + 4.92mil + 5.11mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 7.92mil + -0.205994mm + -7.92mil + -0.205994mm + -7.92mil + 0.205994mm + 7.92mil + 0.205994mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 4.92mil + -5.11mil + -4.92mil + -5.11mil + -4.92mil + 5.11mil + 4.92mil + 5.11mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 17.92mil + rot = 0.000000 + y = 0.459994mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 34.06mil + rot = 0.000000 + y = 0.459994mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:text.6 { + scale = 100 + ha:attributes { + } + x = -0.139954mm + y = -13.39mil + 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.9 { + clearance = 0.0 + y2 = 0.459994mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 0.660146mm + x2 = 0.660146mm + ha:flags { + } + y1 = 0.459994mm + } + ha:line.12 { + clearance = 0.0 + y2 = 0.459994mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.660146mm + x2 = 0.660146mm + ha:flags { + } + y1 = 0.459994mm + } + ha:line.15 { + clearance = 0.0 + y2 = 0.459994mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.660146mm + x2 = 1.660146mm + ha:flags { + } + y1 = 0.459994mm + } + ha:line.18 { + clearance = 0.0 + y2 = 1.459994mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.660146mm + x2 = 0.660146mm + ha:flags { + } + y1 = 0.459994mm + } + } + ha:combining { + } + } + } + } + uid = Q1c2peLxTgOy7O9YZ/8AAAAB + ha:flags { + } + } +} Index: 0201.fp =================================================================== --- 0201.fp (revision 27120) +++ 0201.fp (revision 27121) @@ -1,32 +1,211 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "0201" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-1181 0 - -1181 0 - 1574 2000 2174 "1" "1" "square"] - Pad[1181 0 - 1181 0 - 1574 2000 2174 "2" "2" "square"] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 0201 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -7.87mil + 7.87mil + 7.87mil + 7.87mil + 7.87mil + -7.87mil + -7.87mil + -7.87mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -0.276098mm + 0.276098mm + 0.276098mm + 0.276098mm + 0.276098mm + -0.276098mm + -0.276098mm + -0.276098mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -7.87mil + 7.87mil + 7.87mil + 7.87mil + 7.87mil + -7.87mil + -7.87mil + -7.87mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 20.87mil + rot = 0.000000 + y = 20.87mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 44.49mil + rot = 0.000000 + y = 20.87mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 0.029972mm + y = -10.63mil + 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.9 { + clearance = 0.0 + y2 = 20.87mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 0.830072mm + x2 = 0.830072mm + ha:flags { + } + y1 = 20.87mil + } + ha:line.12 { + clearance = 0.0 + y2 = 20.87mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.830072mm + x2 = 0.830072mm + ha:flags { + } + y1 = 20.87mil + } + ha:line.15 { + clearance = 0.0 + y2 = 20.87mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.830072mm + x2 = 1.830072mm + ha:flags { + } + y1 = 20.87mil + } + ha:line.18 { + clearance = 0.0 + y2 = 1.530098mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.830072mm + x2 = 0.830072mm + ha:flags { + } + y1 = 20.87mil + } + } + ha:combining { + } + } + } + } + uid = eStzy6mX6No40cDOtoEAAAAB + ha:flags { + } + } +} Index: 0402.fp =================================================================== --- 0402.fp (revision 27120) +++ 0402.fp (revision 27121) @@ -1,32 +1,211 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "0402" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-1574 -393 - -1574 393 - 1968 2000 2568 "1" "1" "square"] - Pad[1574 -393 - 1574 393 - 1968 2000 2568 "2" "2" "square"] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 0402 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.249936mm + -0.349758mm + -0.249936mm + -0.349758mm + -0.249936mm + 0.349758mm + 0.249936mm + 0.349758mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.326136mm + -0.425958mm + -0.326136mm + -0.425958mm + -0.326136mm + 0.425958mm + 0.326136mm + 0.425958mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.249936mm + -0.349758mm + -0.249936mm + -0.349758mm + -0.249936mm + 0.349758mm + 0.249936mm + 0.349758mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 0.580136mm + rot = 0.000000 + y = 0.679958mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 54.32mil + rot = 0.000000 + y = 0.679958mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 7.08mil + y = -4.73mil + 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.9 { + clearance = 0.0 + y2 = 0.679958mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 0.979932mm + x2 = 0.979932mm + ha:flags { + } + y1 = 0.679958mm + } + ha:line.12 { + clearance = 0.0 + y2 = 0.679958mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.979932mm + x2 = 0.979932mm + ha:flags { + } + y1 = 0.679958mm + } + ha:line.15 { + clearance = 0.0 + y2 = 0.679958mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.979932mm + x2 = 1.979932mm + ha:flags { + } + y1 = 0.679958mm + } + ha:line.18 { + clearance = 0.0 + y2 = 1.679958mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.979932mm + x2 = 0.979932mm + ha:flags { + } + y1 = 0.679958mm + } + } + ha:combining { + } + } + } + } + uid = xK4LY0258SGWTnYfnvwAAAAB + ha:flags { + } + } +} Index: 0603.fp =================================================================== --- 0603.fp (revision 27120) +++ 0603.fp (revision 27121) @@ -1,32 +1,211 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "0603" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-2559 -492 - -2559 492 - 2952 2000 3552 "1" "1" "square"] - Pad[2559 -492 - 2559 492 - 2952 2000 3552 "2" "2" "square"] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 0603 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.374904mm + -0.499872mm + -0.374904mm + -0.499872mm + -0.374904mm + 0.499872mm + 0.374904mm + 0.499872mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.76mil + -0.576072mm + -17.76mil + -0.576072mm + -17.76mil + 0.576072mm + 17.76mil + 0.576072mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.374904mm + -0.499872mm + -0.374904mm + -0.499872mm + -0.374904mm + 0.499872mm + 0.374904mm + 0.499872mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 27.76mil + rot = 0.000000 + y = 0.830072mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 2.005076mm + rot = 0.000000 + y = 0.830072mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 21.85mil + y = 0.029972mm + 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.9 { + clearance = 0.0 + y2 = 0.830072mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 53.35mil + x2 = 53.35mil + ha:flags { + } + y1 = 0.830072mm + } + ha:line.12 { + clearance = 0.0 + y2 = 0.830072mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 53.35mil + x2 = 53.35mil + ha:flags { + } + y1 = 0.830072mm + } + ha:line.15 { + clearance = 0.0 + y2 = 0.830072mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 53.35mil + x2 = 2.35509mm + ha:flags { + } + y1 = 0.830072mm + } + ha:line.18 { + clearance = 0.0 + y2 = 1.830072mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 53.35mil + x2 = 53.35mil + ha:flags { + } + y1 = 0.830072mm + } + } + ha:combining { + } + } + } + } + uid = XViXVIINgyaT6qmUrpMAAAAB + ha:flags { + } + } +} Index: 0805.fp =================================================================== --- 0805.fp (revision 27120) +++ 0805.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "0805" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-3543 -393 - -3543 393 - 5118 2000 5718 "1" "1" "square"] - Pad[3543 -393 - 3543 393 - 5118 2000 5718 "2" "2" "square"] - ElementLine[-393 -2755 393 -2755 800] - ElementLine[-393 2755 393 2755 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 0805 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.749808mm + -0.649986mm + -0.749808mm + -0.649986mm + 0.749808mm + 0.649986mm + 0.749808mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.726186mm + -32.52mil + -0.726186mm + -32.52mil + -0.726186mm + 32.52mil + 0.726186mm + 32.52mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.749808mm + -0.649986mm + -0.749808mm + -0.649986mm + 0.749808mm + 0.649986mm + 0.749808mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 38.59mil + rot = 0.000000 + y = 42.52mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 109.45mil + rot = 0.000000 + y = 42.52mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 14.97mil + thickness = 8.0mil + ha:attributes { + } + x1 = 70.09mil + x2 = 77.95mil + ha:flags { + } + y1 = 14.97mil + } + ha:line.12 { + clearance = 0.0 + y2 = 1.779778mm + thickness = 8.0mil + ha:attributes { + } + x1 = 70.09mil + x2 = 77.95mil + ha:flags { + } + y1 = 1.779778mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 42.52mil + y = 0.279908mm + 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.15 { + clearance = 0.0 + y2 = 42.52mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.880108mm + x2 = 1.880108mm + ha:flags { + } + y1 = 42.52mil + } + ha:line.18 { + clearance = 0.0 + y2 = 42.52mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.880108mm + x2 = 1.880108mm + ha:flags { + } + y1 = 42.52mil + } + ha:line.21 { + clearance = 0.0 + y2 = 42.52mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.880108mm + x2 = 2.880108mm + ha:flags { + } + y1 = 42.52mil + } + ha:line.24 { + clearance = 0.0 + y2 = 2.080008mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.880108mm + x2 = 1.880108mm + ha:flags { + } + y1 = 42.52mil + } + } + ha:combining { + } + } + } + } + uid = Gb4CEJNqF8FflGx6irgAAAAB + ha:flags { + } + } +} Index: 1008.fp =================================================================== --- 1008.fp (revision 27120) +++ 1008.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1008" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-5118 -2362 - -5118 2362 - 4330 2000 4930 "1" "1" "square"] - Pad[5118 -2362 - 5118 2362 - 4330 2000 4930 "2" "2" "square"] - ElementLine[-1377 -4527 1377 -4527 800] - ElementLine[-1377 4527 1377 4527 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 1008 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.54991mm + -45.27mil + -0.54991mm + -45.27mil + -0.54991mm + 45.27mil + 0.54991mm + 45.27mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.62611mm + -48.27mil + -0.62611mm + -48.27mil + -0.62611mm + 48.27mil + 0.62611mm + 48.27mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.54991mm + -45.27mil + -0.54991mm + -45.27mil + -0.54991mm + 45.27mil + 0.54991mm + 45.27mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 0.88011mm + rot = 0.000000 + y = 58.27mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.480054mm + rot = 0.000000 + y = 58.27mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 13.0mil + thickness = 8.0mil + ha:attributes { + } + x1 = 72.06mil + x2 = 2.52984mm + ha:flags { + } + y1 = 13.0mil + } + ha:line.12 { + clearance = 0.0 + y2 = 103.54mil + thickness = 8.0mil + ha:attributes { + } + x1 = 72.06mil + x2 = 2.52984mm + ha:flags { + } + y1 = 103.54mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 1.379982mm + y = 0.679958mm + 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.15 { + clearance = 0.0 + y2 = 58.27mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.180082mm + x2 = 2.180082mm + ha:flags { + } + y1 = 58.27mil + } + ha:line.18 { + clearance = 0.0 + y2 = 58.27mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.180082mm + x2 = 2.180082mm + ha:flags { + } + y1 = 58.27mil + } + ha:line.21 { + clearance = 0.0 + y2 = 58.27mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.180082mm + x2 = 3.180082mm + ha:flags { + } + y1 = 58.27mil + } + ha:line.24 { + clearance = 0.0 + y2 = 2.480058mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.180082mm + x2 = 2.180082mm + ha:flags { + } + y1 = 58.27mil + } + } + ha:combining { + } + } + } + } + uid = bZx6+gfdERtBSuYKqRIAAAAB + ha:flags { + } + } +} Index: 1206.fp =================================================================== --- 1206.fp (revision 27120) +++ 1206.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1206" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-5905 -1181 - -5905 1181 - 5118 2000 5718 "1" "1" "square"] - Pad[5905 -1181 - 5905 1181 - 5118 2000 5718 "2" "2" "square"] - ElementLine[-2362 -3740 2362 -3740 800] - ElementLine[-2362 3740 2362 3740 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 1206 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.94996mm + -0.649986mm + -0.94996mm + -0.649986mm + 0.94996mm + 0.649986mm + 0.94996mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.726186mm + -1.02616mm + -0.726186mm + -1.02616mm + -0.726186mm + 1.02616mm + 0.726186mm + 1.02616mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.94996mm + -0.649986mm + -0.94996mm + -0.649986mm + 0.94996mm + 0.649986mm + 0.94996mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 38.59mil + rot = 0.000000 + y = 1.28016mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.979926mm + rot = 0.000000 + y = 1.28016mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 13.0mil + thickness = 8.0mil + ha:attributes { + } + x1 = 1.880108mm + x2 = 121.26mil + ha:flags { + } + y1 = 13.0mil + } + ha:line.12 { + clearance = 0.0 + y2 = 2.23012mm + thickness = 8.0mil + ha:attributes { + } + x1 = 1.880108mm + x2 = 121.26mil + ha:flags { + } + y1 = 2.23012mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 66.14mil + y = 0.48006mm + 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.15 { + clearance = 0.0 + y2 = 1.28016mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 1.28016mm + } + ha:line.18 { + clearance = 0.0 + y2 = 1.28016mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 1.28016mm + } + ha:line.21 { + clearance = 0.0 + y2 = 1.28016mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 97.64mil + x2 = 3.480056mm + ha:flags { + } + y1 = 1.28016mm + } + ha:line.24 { + clearance = 0.0 + y2 = 2.28016mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 1.28016mm + } + } + ha:combining { + } + } + } + } + uid = pjaLj8tSfYLVqy1mjLYAAAAB + ha:flags { + } + } +} Index: 1210.fp =================================================================== --- 1210.fp (revision 27120) +++ 1210.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1210" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-5905 -2755 - -5905 2755 - 5118 2000 5718 "1" "1" "square"] - Pad[5905 -2755 - 5905 2755 - 5118 2000 5718 "2" "2" "square"] - ElementLine[-1968 -5314 1968 -5314 800] - ElementLine[-1968 5314 1968 5314 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 1210 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -53.14mil + -0.649986mm + -53.14mil + -0.649986mm + 53.14mil + 0.649986mm + 53.14mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.726186mm + -56.14mil + -0.726186mm + -56.14mil + -0.726186mm + 56.14mil + 0.726186mm + 56.14mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -53.14mil + -0.649986mm + -53.14mil + -0.649986mm + 53.14mil + 0.649986mm + 53.14mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 38.59mil + rot = 0.000000 + y = 66.14mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.979926mm + rot = 0.000000 + y = 66.14mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 13.0mil + thickness = 8.0mil + ha:attributes { + } + x1 = 1.980184mm + x2 = 2.979928mm + ha:flags { + } + y1 = 13.0mil + } + ha:line.12 { + clearance = 0.0 + y2 = 119.28mil + thickness = 8.0mil + ha:attributes { + } + x1 = 1.980184mm + x2 = 2.979928mm + ha:flags { + } + y1 = 119.28mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 66.14mil + y = 34.64mil + 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.15 { + clearance = 0.0 + y2 = 66.14mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 66.14mil + } + ha:line.18 { + clearance = 0.0 + y2 = 66.14mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 66.14mil + } + ha:line.21 { + clearance = 0.0 + y2 = 66.14mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 97.64mil + x2 = 3.480056mm + ha:flags { + } + y1 = 66.14mil + } + ha:line.24 { + clearance = 0.0 + y2 = 2.679956mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 97.64mil + x2 = 97.64mil + ha:flags { + } + y1 = 66.14mil + } + } + ha:combining { + } + } + } + } + uid = OUdoBtbWh4DAdxBsTZ4AAAAB + ha:flags { + } + } +} Index: 1806.fp =================================================================== --- 1806.fp (revision 27120) +++ 1806.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1806" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-7874 -3543 - -7874 3543 - 6299 2000 6899 "1" "1" "square"] - Pad[7874 -3543 - 7874 3543 - 6299 2000 6899 "2" "2" "square"] - ElementLine[-3149 -6692 3149 -6692 800] - ElementLine[-3149 6692 3149 6692 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 1806 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 31.495mil + -1.699895mm + -31.495mil + -1.699895mm + -31.495mil + 1.699895mm + 31.495mil + 1.699895mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.876173mm + -1.776095mm + -0.876173mm + -1.776095mm + -0.876173mm + 1.776095mm + 0.876173mm + 1.776095mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 31.495mil + -1.699895mm + -31.495mil + -1.699895mm + -31.495mil + 1.699895mm + 31.495mil + 1.699895mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.130173mm + rot = 0.000000 + y = 2.030095mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 5.130165mm + rot = 0.000000 + y = 2.030095mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 13.005mil + thickness = 8.0mil + ha:attributes { + } + x1 = 91.745mil + x2 = 3.930015mm + ha:flags { + } + y1 = 13.005mil + } + ha:line.12 { + clearance = 0.0 + y2 = 3.729863mm + thickness = 8.0mil + ha:attributes { + } + x1 = 91.745mil + x2 = 3.930015mm + ha:flags { + } + y1 = 3.729863mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 2.330069mm + y = 1.229995mm + 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.15 { + clearance = 0.0 + y2 = 2.030095mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 2.030095mm + } + ha:line.18 { + clearance = 0.0 + y2 = 2.030095mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 2.030095mm + } + ha:line.21 { + clearance = 0.0 + y2 = 2.030095mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.130169mm + x2 = 4.130169mm + ha:flags { + } + y1 = 2.030095mm + } + ha:line.24 { + clearance = 0.0 + y2 = 3.030095mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 2.030095mm + } + } + ha:combining { + } + } + } + } + uid = oTnHpP1lGoaqmqIT+SoAAAAB + ha:flags { + } + } +} Index: 1825.fp =================================================================== --- 1825.fp (revision 27120) +++ 1825.fp (revision 27121) @@ -1,34 +1,235 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # grab the input values and convert to 1/100 mil - # how much to grow the pads by for soldermask [1/100 mil] - # clearance from planes [1/100 mil] - # silk screen width [1/100 mil] - # courtyard silk screen width [1/100 mil] -# element_flags, description, pcb-name, value, mark_x, mark_y, -# text_x, text_y, text_direction, text_scale, text_flags -Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1825" 0 0 -3150 -3150 0 100 ""] -( -# -# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] - Pad[-7874 -10236 - -7874 10236 - 6299 2000 6899 "1" "1" "square"] - Pad[7874 -10236 - 7874 10236 - 6299 2000 6899 "2" "2" "square"] - ElementLine[-3149 -13385 3149 -13385 800] - ElementLine[-3149 13385 3149 13385 800] -# -# This draws a 1 mil placement courtyard outline in silk. It should probably -# not be included since you wont want to try and fab a 1 mil silk line. Then -# again, it is most useful during parts placement. It really is time for some -# additional non-fab layers... -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] -# ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] -# ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 1825 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 31.495mil + -3.399917mm + -31.495mil + -3.399917mm + -31.495mil + 3.399917mm + 31.495mil + 3.399917mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.876173mm + -3.476117mm + -0.876173mm + -3.476117mm + -0.876173mm + 3.476117mm + 0.876173mm + 3.476117mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 31.495mil + -3.399917mm + -31.495mil + -3.399917mm + -31.495mil + 3.399917mm + 31.495mil + 3.399917mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.130173mm + rot = 0.000000 + y = 3.730117mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 5.130165mm + rot = 0.000000 + y = 3.730117mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.9 { + clearance = 0.0 + y2 = 13.005mil + thickness = 8.0mil + ha:attributes { + } + x1 = 91.745mil + x2 = 3.930015mm + ha:flags { + } + y1 = 13.005mil + } + ha:line.12 { + clearance = 0.0 + y2 = 7.129907mm + thickness = 8.0mil + ha:attributes { + } + x1 = 91.745mil + x2 = 3.930015mm + ha:flags { + } + y1 = 7.129907mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 2.330069mm + y = 115.355mil + 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.15 { + clearance = 0.0 + y2 = 3.730117mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 3.730117mm + } + ha:line.18 { + clearance = 0.0 + y2 = 3.730117mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 3.730117mm + } + ha:line.21 { + clearance = 0.0 + y2 = 3.730117mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.130169mm + x2 = 4.130169mm + ha:flags { + } + y1 = 3.730117mm + } + ha:line.24 { + clearance = 0.0 + y2 = 4.730117mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.130169mm + x2 = 3.130169mm + ha:flags { + } + y1 = 3.730117mm + } + } + ha:combining { + } + } + } + } + uid = k6ig2fGd0J0pkK+aZVsAAAAB + ha:flags { + } + } +} Index: 2706.fp =================================================================== --- 2706.fp (revision 27120) +++ 2706.fp (revision 27121) @@ -1,20 +1,259 @@ -##from:pcb -##for:resistor -##for:capacitor -##for:led - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "Standard SMT resistor, capacitor etc" "" "2706" 0 0 179 0 3 100 0x00) -( - ElementLine(-159 -54 -159 54 10) - ElementLine(-159 54 159 54 10) - ElementLine(159 54 159 -54 10) - ElementLine(159 -54 -159 -54 10) - Pad(-108 -3 - -108 3 - 78 20 84 "1" "1" 0x00000100) - Pad(108 -3 - 108 3 - 78 20 84 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = 2706 Standard SMT resistor, capacitor etc + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 39.0mil + -42.0mil + -39.0mil + -42.0mil + -39.0mil + 42.0mil + 39.0mil + 42.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 42.0mil + -45.0mil + -42.0mil + -45.0mil + -42.0mil + 45.0mil + 42.0mil + 45.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 + -42.0mil + -39.0mil + -42.0mil + -39.0mil + 42.0mil + 39.0mil + 42.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.422792mm + rot = 0.000000 + y = 1.498992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 6.909192mm + rot = 0.000000 + y = 1.498992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.870592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.870592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 8.204592mm + ha:flags { + } + y1 = 2.870592mm + } + ha:line.13 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 8.204592mm + x2 = 8.204592mm + ha:flags { + } + y1 = 2.870592mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 8.204592mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 8.712592mm + y = 1.498992mm + 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.21 { + clearance = 0.0 + y2 = 1.498992mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 4.165992mm + x2 = 4.165992mm + ha:flags { + } + y1 = 1.498992mm + } + ha:line.24 { + clearance = 0.0 + y2 = 1.498992mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 4.165992mm + x2 = 4.165992mm + ha:flags { + } + y1 = 1.498992mm + } + ha:line.27 { + clearance = 0.0 + y2 = 1.498992mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 4.165992mm + x2 = 5.165992mm + ha:flags { + } + y1 = 1.498992mm + } + ha:line.30 { + clearance = 0.0 + y2 = 2.498992mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 4.165992mm + x2 = 4.165992mm + ha:flags { + } + y1 = 1.498992mm + } + } + ha:combining { + } + } + } + } + uid = FePvr11aAXKyPT8fC0AAAAAB + ha:flags { + } + } +} Index: DO214.fp =================================================================== --- DO214.fp (revision 27120) +++ DO214.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "DO214" 0 0 221 0 3 100 0x00) -( - ElementLine(-211 -89 -211 89 20) - ElementLine(-211 89 -141 114 10) - ElementLine(-141 114 201 114 10) - ElementLine(201 114 201 -114 10) - ElementLine(201 -114 -141 -114 10) - ElementLine(-141 -114 -211 -89 10) - Pad(-106 -19 - -106 19 - 140 20 146 "1" "1" 0x00000100) - Pad(106 -19 - 106 19 - 140 20 146 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = DO214 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 70.0mil + -89.0mil + -70.0mil + -89.0mil + -70.0mil + 89.0mil + 70.0mil + 89.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 73.0mil + -92.0mil + -73.0mil + -92.0mil + -73.0mil + 92.0mil + 73.0mil + 92.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 70.0mil + -89.0mil + -70.0mil + -89.0mil + -70.0mil + 89.0mil + 70.0mil + 89.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.921783mm + rot = 0.000000 + y = 3.022992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 8.306583mm + rot = 0.000000 + y = 3.022992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 5.283592mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.762392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 5.918592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 2.032783mm + ha:flags { + } + y1 = 5.283592mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.918592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 2.032783mm + x2 = 10.719583mm + ha:flags { + } + y1 = 5.918592mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 10.719583mm + x2 = 10.719583mm + ha:flags { + } + y1 = 5.918592mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 10.719583mm + x2 = 2.032783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.762392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 2.032783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 11.227583mm + y = 3.022992mm + 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.27 { + clearance = 0.0 + y2 = 3.022992mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.614183mm + x2 = 5.614183mm + ha:flags { + } + y1 = 3.022992mm + } + ha:line.30 { + clearance = 0.0 + y2 = 3.022992mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 5.614183mm + x2 = 5.614183mm + ha:flags { + } + y1 = 3.022992mm + } + ha:line.33 { + clearance = 0.0 + y2 = 3.022992mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 5.614183mm + x2 = 6.614183mm + ha:flags { + } + y1 = 3.022992mm + } + ha:line.36 { + clearance = 0.0 + y2 = 4.022992mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 5.614183mm + x2 = 5.614183mm + ha:flags { + } + y1 = 3.022992mm + } + } + ha:combining { + } + } + } + } + uid = BVofxkidfNHI5Q7do+oAAAAB + ha:flags { + } + } +} Index: DO214AB.fp =================================================================== --- DO214AB.fp (revision 27120) +++ DO214AB.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "DO214AB" 0 0 227 0 3 100 0x00) -( - ElementLine(-217 -92 -217 92 20) - ElementLine(-217 92 -145 118 10) - ElementLine(-145 118 207 118 10) - ElementLine(207 118 207 -118 10) - ElementLine(207 -118 -145 -118 10) - ElementLine(-145 -118 -217 -92 10) - Pad(-109 -20 - -109 20 - 145 20 151 "1" "1" 0x00000100) - Pad(109 -20 - 109 20 - 145 20 151 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = DO214AB SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 72.5mil + -92.5mil + -72.5mil + -92.5mil + -72.5mil + 92.5mil + 72.5mil + 92.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 75.5mil + -95.5mil + -75.5mil + -95.5mil + -75.5mil + 95.5mil + 75.5mil + 95.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 72.5mil + -92.5mil + -72.5mil + -92.5mil + -72.5mil + 92.5mil + 72.5mil + 92.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.997983mm + rot = 0.000000 + y = 3.124592mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 8.535183mm + rot = 0.000000 + y = 3.124592mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 5.461392mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.787792mm + } + ha:line.10 { + clearance = 0.0 + y2 = 6.121792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 2.083583mm + ha:flags { + } + y1 = 5.461392mm + } + ha:line.13 { + clearance = 0.0 + y2 = 6.121792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 2.083583mm + x2 = 11.024383mm + ha:flags { + } + y1 = 6.121792mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 11.024383mm + x2 = 11.024383mm + ha:flags { + } + y1 = 6.121792mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 11.024383mm + x2 = 2.083583mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.787792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 2.083583mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 11.532383mm + y = 3.124592mm + 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.27 { + clearance = 0.0 + y2 = 3.124592mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.766583mm + x2 = 5.766583mm + ha:flags { + } + y1 = 3.124592mm + } + ha:line.30 { + clearance = 0.0 + y2 = 3.124592mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 5.766583mm + x2 = 5.766583mm + ha:flags { + } + y1 = 3.124592mm + } + ha:line.33 { + clearance = 0.0 + y2 = 3.124592mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 5.766583mm + x2 = 6.766583mm + ha:flags { + } + y1 = 3.124592mm + } + ha:line.36 { + clearance = 0.0 + y2 = 4.124592mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 5.766583mm + x2 = 5.766583mm + ha:flags { + } + y1 = 3.124592mm + } + } + ha:combining { + } + } + } + } + uid = LJaVZUMLh15GoNd+Ga8AAAAB + ha:flags { + } + } +} Index: MPAK.fp =================================================================== --- MPAK.fp (revision 27120) +++ MPAK.fp (revision 27121) @@ -1,31 +1,381 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - -Element(0x00 "Pressure transducer" "" "MPAK" 235 0 3 100 0x00) -( - ElementLine(0 0 0 558 10) - ElementLine(0 558 215 558 10) - ElementLine(215 558 215 0 10) - ElementLine(215 0 0 0 10) - # 1st pin on pin side - Pad(32 469 - 32 525 - 31 "1" "1" 0x100) - Pad(82 469 - 82 525 - 31 "2" "2" 0x100) - Pad(132 469 - 132 525 - 31 "3" "3" 0x100) - # last pin on pin side - Pad(182 469 - 182 525 - 31 "4" "4" 0x100) - # extra wide pin on opposite side - Pad(144 60 - 70 60 - 87 "5" "5" 0x100) - Mark(32 497) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = MPAK + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 15.5mil + -43.5mil + -15.5mil + -43.5mil + -15.5mil + 43.5mil + 15.5mil + 43.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 18.5mil + -46.5mil + -18.5mil + -46.5mil + -18.5mil + 46.5mil + 18.5mil + 46.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 15.5mil + -43.5mil + -15.5mil + -43.5mil + -15.5mil + 43.5mil + 15.5mil + 43.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 80.5mil + 43.5mil + 80.5mil + -43.5mil + -80.5mil + -43.5mil + -80.5mil + 43.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 83.5mil + 46.5mil + 83.5mil + -46.5mil + -83.5mil + -46.5mil + -83.5mil + 46.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 80.5mil + 43.5mil + 80.5mil + -43.5mil + -80.5mil + -43.5mil + -80.5mil + 43.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 0.940192mm + rot = 0.000000 + y = 12.751192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 2.210192mm + rot = 0.000000 + y = 12.751192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 3.480192mm + rot = 0.000000 + y = 12.751192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 0 + xmirror = 0 + x = 4.750192mm + rot = 0.000000 + y = 12.751192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.23 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 1 + xmirror = 0 + x = 2.845192mm + rot = 0.000000 + y = 1.651392mm + 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.7 { + clearance = 0.0 + y2 = 14.300592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 14.300592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 5.588392mm + ha:flags { + } + y1 = 14.300592mm + } + ha:line.13 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.588392mm + x2 = 5.588392mm + ha:flags { + } + y1 = 14.300592mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.588392mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.096392mm + y = 0.127392mm + 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.24 { + clearance = 0.0 + y2 = 10.531232mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.845192mm + x2 = 2.845192mm + ha:flags { + } + y1 = 10.531232mm + } + ha:line.27 { + clearance = 0.0 + y2 = 12.751192mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.940192mm + x2 = 0.940192mm + ha:flags { + } + y1 = 12.751192mm + } + ha:line.30 { + clearance = 0.0 + y2 = 13.751192mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.940192mm + x2 = 0.940192mm + ha:flags { + } + y1 = 12.751192mm + } + ha:line.33 { + clearance = 0.0 + y2 = 12.751192mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.940192mm + x2 = 1.940192mm + ha:flags { + } + y1 = 12.751192mm + } + } + ha:combining { + } + } + } + } + uid = eZwOg7hh3XSQ6QI9EysAAAAB + ha:flags { + } + } +} Index: SC70_3.fp =================================================================== --- SC70_3.fp (revision 27120) +++ SC70_3.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 3 pins" "" "SC70_3" 114 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 94 119 10) - ElementLine(94 119 94 0 10) - ElementLine(94 0 0 0 10) - # 1st side, 1st pin - Pad(21 91 - 21 97 - 29 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(72 91 - 72 97 - 29 - "2" "2" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(47 21 - 47 27 - 29 - "3" "3" 0x100) - # 2nd side, 1st pin - Mark(21 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SC70_3 SMT transistor, 3 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.5mil + -20.5mil + -17.5mil + -20.5mil + -17.5mil + 20.5mil + 17.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 32.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 83.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 58.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 125.5mil + y = 11.5mil + 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.22 { + clearance = 0.0 + y2 = 2.087033mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.477433mm + x2 = 1.477433mm + ha:flags { + } + y1 = 2.087033mm + } + ha:line.25 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.28 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.31 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 32.5mil + x2 = 1.8255mm + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = aeq5mTHtKdZxz1ABi/wAAAAB + ha:flags { + } + } +} Index: SC70_4.fp =================================================================== --- SC70_4.fp (revision 27120) +++ SC70_4.fp (revision 27121) @@ -1,40 +1,363 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 4 pins" "" "SC70_4" 114 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 94 119 10) - ElementLine(94 119 94 0 10) - ElementLine(94 0 0 0 10) - # 1st side, 1st pin - # extra width - Pad(24 94 - 27 94 - 29 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(72 91 - 72 97 - 29 - "2" "2" 0x100) - # 2nd side, 3rd pin - Pad(72 21 - 72 27 - 29 - "3" "3" 0x100) - # 2nd side, 2nd pin - # 2nd side, 1st pin - Pad(21 21 - 21 27 - 29 - "4" "4" 0x100) - Mark(21 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SC70_4 SMT transistor, 4 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -16.0mil + -14.5mil + -16.0mil + 14.5mil + 16.0mil + 14.5mil + 16.0mil + -14.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -19.0mil + -17.5mil + -19.0mil + 17.5mil + 19.0mil + 17.5mil + 19.0mil + -17.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -16.0mil + -14.5mil + -16.0mil + 14.5mil + 16.0mil + 14.5mil + 16.0mil + -14.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.5mil + -20.5mil + -17.5mil + -20.5mil + -17.5mil + 20.5mil + 17.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 37.0mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 83.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 83.5mil + rot = 0.000000 + y = 35.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 32.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 125.5mil + y = 11.5mil + 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.23 { + clearance = 0.0 + y2 = 70.5mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 59.125mil + x2 = 59.125mil + ha:flags { + } + y1 = 70.5mil + } + ha:line.26 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.29 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.32 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 32.5mil + x2 = 1.8255mm + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = lUXAYtVgjXtuvW/Gy1MAAAAB + ha:flags { + } + } +} Index: SC90.fp =================================================================== --- SC90.fp (revision 27120) +++ SC90.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 3 pins" "" "SC90" 93 0 3 100 0x00) -( - ElementLine(0 0 0 98 10) - ElementLine(0 98 73 98 10) - ElementLine(73 98 73 0 10) - ElementLine(73 0 0 0 10) - # 1st side, 1st pin - Pad(17 76 - 17 80 - 24 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(56 76 - 56 80 - 24 - "2" "2" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(36 17 - 36 21 - 24 - "3" "3" 0x100) - # 2nd side, 1st pin - Mark(17 78) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SC90 SMT transistor, 3 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -14.0mil + -12.0mil + -14.0mil + -12.0mil + 14.0mil + 12.0mil + 14.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 15.0mil + -17.0mil + -15.0mil + -17.0mil + -15.0mil + 17.0mil + 15.0mil + 17.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -14.0mil + -12.0mil + -14.0mil + -12.0mil + 14.0mil + 12.0mil + 14.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 30.0mil + rot = 0.000000 + y = 91.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 69.0mil + rot = 0.000000 + y = 91.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 49.0mil + rot = 0.000000 + y = 32.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.7 { + clearance = 0.0 + y2 = 111.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 13.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 111.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 13.0mil + x2 = 86.0mil + ha:flags { + } + y1 = 111.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 13.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 86.0mil + x2 = 86.0mil + ha:flags { + } + y1 = 111.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 13.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 86.0mil + x2 = 13.0mil + ha:flags { + } + y1 = 13.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 106.0mil + y = 13.0mil + 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.22 { + clearance = 0.0 + y2 = 1.811866mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.253066mm + x2 = 1.253066mm + ha:flags { + } + y1 = 1.811866mm + } + ha:line.25 { + clearance = 0.0 + y2 = 91.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 91.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 3.3114mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 91.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 91.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 30.0mil + x2 = 1.762mm + ha:flags { + } + y1 = 91.0mil + } + } + ha:combining { + } + } + } + } + uid = Y7qfWU1Va5qxQ5ui32QAAAAB + ha:flags { + } + } +} Index: SOD106A.fp =================================================================== --- SOD106A.fp (revision 27120) +++ SOD106A.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD106A" 0 0 166 0 3 100 0x00) -( - ElementLine(-156 -68 -156 68 20) - ElementLine(-156 68 -105 87 10) - ElementLine(-105 87 146 87 10) - ElementLine(146 87 146 -87 10) - ElementLine(146 -87 -105 -87 10) - ElementLine(-105 -87 -156 -68 10) - Pad(-76 -17 - -76 17 - 102 20 108 "1" "1" 0x00000100) - Pad(76 -17 - 76 17 - 102 20 108 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD106A SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 51.0mil + -68.0mil + -51.0mil + -68.0mil + -51.0mil + 68.0mil + 51.0mil + 68.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 54.0mil + -71.0mil + -54.0mil + -71.0mil + -54.0mil + 71.0mil + 54.0mil + 71.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 51.0mil + -68.0mil + -51.0mil + -68.0mil + -51.0mil + 68.0mil + 51.0mil + 68.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.286783mm + rot = 0.000000 + y = 2.337192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 6.147583mm + rot = 0.000000 + y = 2.337192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 4.064392mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.609992mm + } + ha:line.10 { + clearance = 0.0 + y2 = 4.546992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.550183mm + ha:flags { + } + y1 = 4.064392mm + } + ha:line.13 { + clearance = 0.0 + y2 = 4.546992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.550183mm + x2 = 7.925583mm + ha:flags { + } + y1 = 4.546992mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.925583mm + x2 = 7.925583mm + ha:flags { + } + y1 = 4.546992mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.925583mm + x2 = 1.550183mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.609992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.550183mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 8.433583mm + y = 2.337192mm + 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.27 { + clearance = 0.0 + y2 = 2.337192mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 4.217183mm + x2 = 4.217183mm + ha:flags { + } + y1 = 2.337192mm + } + ha:line.30 { + clearance = 0.0 + y2 = 2.337192mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 4.217183mm + x2 = 4.217183mm + ha:flags { + } + y1 = 2.337192mm + } + ha:line.33 { + clearance = 0.0 + y2 = 2.337192mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 4.217183mm + x2 = 5.217183mm + ha:flags { + } + y1 = 2.337192mm + } + ha:line.36 { + clearance = 0.0 + y2 = 3.337192mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 4.217183mm + x2 = 4.217183mm + ha:flags { + } + y1 = 2.337192mm + } + } + ha:combining { + } + } + } + } + uid = nAb7/3R/VK5t4jRpvCYAAAAB + ha:flags { + } + } +} Index: SOD110.fp =================================================================== --- SOD110.fp (revision 27120) +++ SOD110.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD110" 0 0 83 0 3 100 0x00) -( - ElementLine(-73 -38 -73 38 20) - ElementLine(-73 38 -50 49 10) - ElementLine(-50 49 63 49 10) - ElementLine(63 49 63 -49 10) - ElementLine(63 -49 -50 -49 10) - ElementLine(-50 -49 -73 -38 10) - Pad(-29 -15 - -29 15 - 46 20 52 "1" "1" 0x00000100) - Pad(29 -15 - 29 15 - 46 20 52 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD110 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 23.0mil + -38.0mil + -23.0mil + -38.0mil + -23.0mil + 38.0mil + 23.0mil + 38.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 26.0mil + -41.0mil + -26.0mil + -41.0mil + -26.0mil + 41.0mil + 26.0mil + 41.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 23.0mil + -38.0mil + -23.0mil + -38.0mil + -23.0mil + 38.0mil + 23.0mil + 38.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.372383mm + rot = 0.000000 + y = 1.371992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 2.845583mm + rot = 0.000000 + y = 1.371992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.337192mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.406792mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.616592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.838983mm + ha:flags { + } + y1 = 2.337192mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.616592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.838983mm + x2 = 3.709183mm + ha:flags { + } + y1 = 2.616592mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 3.709183mm + x2 = 3.709183mm + ha:flags { + } + y1 = 2.616592mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 3.709183mm + x2 = 0.838983mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.406792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.838983mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 4.217183mm + y = 1.371992mm + 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.27 { + clearance = 0.0 + y2 = 1.371992mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.108983mm + x2 = 2.108983mm + ha:flags { + } + y1 = 1.371992mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.371992mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.108983mm + x2 = 2.108983mm + ha:flags { + } + y1 = 1.371992mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.371992mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.108983mm + x2 = 3.108983mm + ha:flags { + } + y1 = 1.371992mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.371992mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.108983mm + x2 = 2.108983mm + ha:flags { + } + y1 = 1.371992mm + } + } + ha:combining { + } + } + } + } + uid = GrzapLkK/Y8pdEkIr7EAAAAB + ha:flags { + } + } +} Index: SOD123.fp =================================================================== --- SOD123.fp (revision 27120) +++ SOD123.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD123" 0 0 120 0 3 100 0x00) -( - ElementLine(-110 -40 -110 40 20) - ElementLine(-110 40 -76 51 10) - ElementLine(-76 51 100 51 10) - ElementLine(100 51 100 -51 10) - ElementLine(100 -51 -76 -51 10) - ElementLine(-76 -51 -110 -40 10) - Pad(-55 -6 - -55 6 - 69 20 75 "1" "1" 0x00000100) - Pad(55 -6 - 55 6 - 69 20 75 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD123 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 34.5mil + -40.5mil + -34.5mil + -40.5mil + -34.5mil + 40.5mil + 34.5mil + 40.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 37.5mil + -43.5mil + -37.5mil + -43.5mil + -37.5mil + 43.5mil + 37.5mil + 43.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 34.5mil + -40.5mil + -34.5mil + -40.5mil + -34.5mil + 40.5mil + 34.5mil + 40.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.651783mm + rot = 0.000000 + y = 1.422792mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 4.445783mm + rot = 0.000000 + y = 1.422792mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.438792mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.406792mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.718192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.118383mm + ha:flags { + } + y1 = 2.438792mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.718192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.118383mm + x2 = 5.588783mm + ha:flags { + } + y1 = 2.718192mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.588783mm + x2 = 5.588783mm + ha:flags { + } + y1 = 2.718192mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.588783mm + x2 = 1.118383mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.406792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.118383mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.096783mm + y = 1.422792mm + 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.27 { + clearance = 0.0 + y2 = 1.422792mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.048783mm + x2 = 3.048783mm + ha:flags { + } + y1 = 1.422792mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.422792mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.048783mm + x2 = 3.048783mm + ha:flags { + } + y1 = 1.422792mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.422792mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.048783mm + x2 = 4.048783mm + ha:flags { + } + y1 = 1.422792mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.422792mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.048783mm + x2 = 3.048783mm + ha:flags { + } + y1 = 1.422792mm + } + } + ha:combining { + } + } + } + } + uid = bK7s+7eWCVc1F+i9KCMAAAAB + ha:flags { + } + } +} Index: SOD323.fp =================================================================== --- SOD323.fp (revision 27120) +++ SOD323.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD323" 0 0 93 0 3 100 0x00) -( - ElementLine(-83 -35 -83 35 20) - ElementLine(-83 35 -58 45 10) - ElementLine(-58 45 73 45 10) - ElementLine(73 45 73 -45 10) - ElementLine(73 -45 -58 -45 10) - ElementLine(-58 -45 -83 -35 10) - Pad(-37 -10 - -37 10 - 51 20 57 "1" "1" 0x00000100) - Pad(37 -10 - 37 10 - 51 20 57 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD323 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 25.5mil + -35.5mil + -25.5mil + -35.5mil + -25.5mil + 35.5mil + 25.5mil + 35.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 28.5mil + -38.5mil + -28.5mil + -38.5mil + -28.5mil + 38.5mil + 28.5mil + 38.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 25.5mil + -35.5mil + -25.5mil + -35.5mil + -25.5mil + 35.5mil + 25.5mil + 35.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.423183mm + rot = 0.000000 + y = 1.270392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.302783mm + rot = 0.000000 + y = 1.270392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.159392mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.381392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.413392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.889783mm + ha:flags { + } + y1 = 2.159392mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.413392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.889783mm + x2 = 4.217183mm + ha:flags { + } + y1 = 2.413392mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.217183mm + x2 = 4.217183mm + ha:flags { + } + y1 = 2.413392mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.217183mm + x2 = 0.889783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.381392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.889783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 4.725183mm + y = 1.270392mm + 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.27 { + clearance = 0.0 + y2 = 1.270392mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.362983mm + x2 = 2.362983mm + ha:flags { + } + y1 = 1.270392mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.270392mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.362983mm + x2 = 2.362983mm + ha:flags { + } + y1 = 1.270392mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.270392mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.362983mm + x2 = 3.362983mm + ha:flags { + } + y1 = 1.270392mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.270392mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.362983mm + x2 = 2.362983mm + ha:flags { + } + y1 = 1.270392mm + } + } + ha:combining { + } + } + } + } + uid = 2dW9Tvw7RTxCX0jj23YAAAAB + ha:flags { + } + } +} Index: SOD80.fp =================================================================== --- SOD80.fp (revision 27120) +++ SOD80.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD80" 0 0 116 0 3 100 0x00) -( - ElementLine(-106 -43 -106 43 20) - ElementLine(-106 43 -80 55 10) - ElementLine(-80 55 96 55 10) - ElementLine(96 55 96 -55 10) - ElementLine(96 -55 -80 -55 10) - ElementLine(-80 -55 -106 -43 10) - Pad(-58 -16 - -58 16 - 53 20 59 "1" "1" 0x00000100) - Pad(58 -16 - 58 16 - 53 20 59 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD80 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 26.5mil + -42.5mil + -26.5mil + -42.5mil + -26.5mil + 42.5mil + 26.5mil + 42.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 29.5mil + -45.5mil + -29.5mil + -45.5mil + -29.5mil + 45.5mil + 29.5mil + 45.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 26.5mil + -42.5mil + -26.5mil + -42.5mil + -26.5mil + 42.5mil + 26.5mil + 42.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.473983mm + rot = 0.000000 + y = 1.524392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 4.420383mm + rot = 0.000000 + y = 1.524392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.616592mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.432192mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.921392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.915183mm + ha:flags { + } + y1 = 2.616592mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.921392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.915183mm + x2 = 5.385583mm + ha:flags { + } + y1 = 2.921392mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.385583mm + x2 = 5.385583mm + ha:flags { + } + y1 = 2.921392mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.385583mm + x2 = 0.915183mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.432192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.915183mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 5.893583mm + y = 1.524392mm + 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.27 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.947183mm + x2 = 2.947183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.947183mm + x2 = 2.947183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.947183mm + x2 = 3.947183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.947183mm + x2 = 2.947183mm + ha:flags { + } + y1 = 1.524392mm + } + } + ha:combining { + } + } + } + } + uid = VTNdQbVwPxfgsvfI80oAAAAB + ha:flags { + } + } +} Index: SOD87.fp =================================================================== --- SOD87.fp (revision 27120) +++ SOD87.fp (revision 27121) @@ -1,20 +1,283 @@ -##from:pcb -##for:diode - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOD87" 0 0 124 0 3 100 0x00) -( - ElementLine(-114 -57 -114 57 20) - ElementLine(-114 57 -84 73 10) - ElementLine(-84 73 104 73 10) - ElementLine(104 73 104 -73 10) - ElementLine(104 -73 -84 -73 10) - ElementLine(-84 -73 -114 -57 10) - Pad(-58 -26 - -58 26 - 61 20 67 "1" "1" 0x00000100) - Pad(58 -26 - 58 26 - 61 20 67 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOD87 SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 30.5mil + -56.5mil + -30.5mil + -56.5mil + -30.5mil + 56.5mil + 30.5mil + 56.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 33.5mil + -59.5mil + -33.5mil + -59.5mil + -33.5mil + 59.5mil + 33.5mil + 59.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 + -56.5mil + -30.5mil + -56.5mil + -30.5mil + 56.5mil + 30.5mil + 56.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.677183mm + rot = 0.000000 + y = 1.981592mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 4.623583mm + rot = 0.000000 + y = 1.981592mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 3.429392mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.533792mm + } + ha:line.10 { + clearance = 0.0 + y2 = 3.835792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.016783mm + ha:flags { + } + y1 = 3.429392mm + } + ha:line.13 { + clearance = 0.0 + y2 = 3.835792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.016783mm + x2 = 5.791983mm + ha:flags { + } + y1 = 3.835792mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.791983mm + x2 = 5.791983mm + ha:flags { + } + y1 = 3.835792mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 5.791983mm + x2 = 1.016783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.533792mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.016783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.299983mm + y = 1.981592mm + 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.27 { + clearance = 0.0 + y2 = 1.981592mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.150383mm + x2 = 3.150383mm + ha:flags { + } + y1 = 1.981592mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.981592mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.150383mm + x2 = 3.150383mm + ha:flags { + } + y1 = 1.981592mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.981592mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.150383mm + x2 = 4.150383mm + ha:flags { + } + y1 = 1.981592mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.981592mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.150383mm + x2 = 3.150383mm + ha:flags { + } + y1 = 1.981592mm + } + } + ha:combining { + } + } + } + } + uid = Q1gCDJRE1xA3loRFXQsAAAAB + ha:flags { + } + } +} Index: SOT143.fp =================================================================== --- SOT143.fp (revision 27120) +++ SOT143.fp (revision 27121) @@ -1,38 +1,363 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 4 pins" "" "SOT143" 144 0 3 100 0x00) -( - ElementLine(0 0 0 139 10) - ElementLine(0 139 124 139 10) - ElementLine(124 139 124 0 10) - ElementLine(124 0 0 0 10) - # 1st side, 1st pin - # extra width - Pad(28 110 - 31 110 - 34 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(99 107 - 99 113 - 34 - "2" "2" 0x100) - # 2nd side, 3rd pin - Pad(99 25 - 99 31 - 34 - "3" "3" 0x100) - # 2nd side, 2nd pin - # 2nd side, 1st pin - Pad(25 25 - 25 31 - 34 - "4" "4" 0x100) - Mark(25 110) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT143 SMT transistor, 4 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -18.5mil + -17.0mil + -18.5mil + 17.0mil + 18.5mil + 17.0mil + 18.5mil + -17.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -21.5mil + -20.0mil + -21.5mil + 20.0mil + 21.5mil + 20.0mil + 21.5mil + -20.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + -18.5mil + -17.0mil + -18.5mil + 17.0mil + 18.5mil + 17.0mil + 18.5mil + -17.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 20.0mil + -23.0mil + -20.0mil + -23.0mil + -20.0mil + 23.0mil + 20.0mil + 23.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 39.5mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 1 + xmirror = 0 + x = 109.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 1 + xmirror = 0 + x = 109.0mil + rot = 0.000000 + y = 38.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 35.0mil + rot = 0.000000 + y = 38.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.7 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 134.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 134.0mil + x2 = 134.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 134.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 154.0mil + y = 10.0mil + 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.23 { + clearance = 0.0 + y2 = 79.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 73.125mil + x2 = 73.125mil + ha:flags { + } + y1 = 79.0mil + } + ha:line.26 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.29 { + clearance = 0.0 + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.32 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 35.0mil + x2 = 1.889mm + ha:flags { + } + y1 = 120.0mil + } + } + ha:combining { + } + } + } + } + uid = 0oigisyzTIDYQhx/ge0AAAAB + ha:flags { + } + } +} Index: SOT223.fp =================================================================== --- SOT223.fp (revision 27120) +++ SOT223.fp (revision 27121) @@ -1,29 +1,363 @@ -##from:pcb -##for:transistor - -Element(0x00 "SMT transistor, 4 pins" "" "SOT223" 305 0 3 100 0x00) -( - ElementLine(0 0 0 414 10) - ElementLine(0 414 285 414 10) - ElementLine(285 414 285 0 10) - ElementLine(285 0 0 0 10) - # 1st pin on pin side - Pad(52 296 - 52 362 - 56 - "1" "1" 0x100) - Pad(142 296 - 142 362 - 56 - "2" "2" 0x100) - # last pin on pin side - Pad(233 296 - 233 362 - 56 - "3" "3" 0x100) - # extra wide pin on opposite side - Pad(187 85 - 97 85 - 122 "4" "4" 0x100) - Mark(52 329) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT223 SMT transistor, 4 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 28.0mil + -61.0mil + -28.0mil + -61.0mil + -28.0mil + 61.0mil + 28.0mil + 61.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 31.0mil + -64.0mil + -31.0mil + -64.0mil + -31.0mil + 64.0mil + 31.0mil + 64.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 28.0mil + -61.0mil + -28.0mil + -61.0mil + -28.0mil + 61.0mil + 28.0mil + 61.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 106.0mil + 61.0mil + 106.0mil + -61.0mil + -106.0mil + -61.0mil + -106.0mil + 61.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 109.0mil + 64.0mil + 109.0mil + -64.0mil + -109.0mil + -64.0mil + -109.0mil + 64.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 106.0mil + 61.0mil + 106.0mil + -61.0mil + -106.0mil + -61.0mil + -106.0mil + 61.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.448192mm + rot = 0.000000 + y = 8.483992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.734192mm + rot = 0.000000 + y = 8.483992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 6.045592mm + rot = 0.000000 + y = 8.483992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 3.734192mm + rot = 0.000000 + y = 2.286392mm + 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.7 { + clearance = 0.0 + y2 = 10.642992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 10.642992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.127392mm + x2 = 7.366392mm + ha:flags { + } + y1 = 10.642992mm + } + ha:line.13 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.366392mm + x2 = 7.366392mm + ha:flags { + } + y1 = 10.642992mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 7.366392mm + x2 = 0.127392mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 7.874392mm + y = 0.127392mm + 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.23 { + clearance = 0.0 + y2 = 6.934592mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.740542mm + x2 = 3.740542mm + ha:flags { + } + y1 = 6.934592mm + } + ha:line.26 { + clearance = 0.0 + y2 = 8.483992mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.448192mm + x2 = 1.448192mm + ha:flags { + } + y1 = 8.483992mm + } + ha:line.29 { + clearance = 0.0 + y2 = 9.483992mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.448192mm + x2 = 1.448192mm + ha:flags { + } + y1 = 8.483992mm + } + ha:line.32 { + clearance = 0.0 + y2 = 8.483992mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.448192mm + x2 = 2.448192mm + ha:flags { + } + y1 = 8.483992mm + } + } + ha:combining { + } + } + } + } + uid = wL7+F9vz1VIcfqPPcnsAAAAB + ha:flags { + } + } +} Index: SOT23.fp =================================================================== --- SOT23.fp (revision 27120) +++ SOT23.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 3 pins" "" "SOT23" 148 0 3 100 0x00) -( - ElementLine(0 0 0 139 10) - ElementLine(0 139 128 139 10) - ElementLine(128 139 128 0 10) - ElementLine(128 0 0 0 10) - # 1st side, 1st pin - Pad(25 107 - 25 113 - 34 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(103 107 - 103 113 - 34 - "2" "2" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(64 25 - 64 31 - 34 - "3" "3" 0x100) - # 2nd side, 1st pin - Mark(25 110) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT23 SMT transistor, 3 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 20.0mil + -23.0mil + -20.0mil + -23.0mil + -20.0mil + 23.0mil + 20.0mil + 23.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 35.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 113.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 74.0mil + rot = 0.000000 + y = 38.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.7 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 138.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 138.0mil + x2 = 138.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 138.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 158.0mil + y = 10.0mil + 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.22 { + clearance = 0.0 + y2 = 2.353733mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 74.0mil + x2 = 74.0mil + ha:flags { + } + y1 = 2.353733mm + } + ha:line.25 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 35.0mil + x2 = 1.889mm + ha:flags { + } + y1 = 120.0mil + } + } + ha:combining { + } + } + } + } + uid = YmnO2BUK2cjwZjFkzKMAAAAB + ha:flags { + } + } +} Index: SOT23D.fp =================================================================== --- SOT23D.fp (revision 27120) +++ SOT23D.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOT23D" 148 0 3 100 0x00) -( - ElementLine(0 0 0 139 10) - ElementLine(0 139 128 139 10) - ElementLine(128 139 128 0 10) - ElementLine(128 0 0 0 10) - # 1st side, 1st pin - Pad(25 107 - 25 113 - 34 - "2" "2" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(103 107 - 103 113 - 34 - "3" "3" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(64 25 - 64 31 - 34 - "1" "1" 0x100) - # 2nd side, 1st pin - Mark(25 110) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT23D SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 20.0mil + -23.0mil + -20.0mil + -23.0mil + -20.0mil + 23.0mil + 20.0mil + 23.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.0mil + -20.0mil + -17.0mil + -20.0mil + -17.0mil + 20.0mil + 17.0mil + 20.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 35.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 113.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 74.0mil + rot = 0.000000 + y = 38.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.7 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 138.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 138.0mil + x2 = 138.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 138.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 158.0mil + y = 10.0mil + 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.22 { + clearance = 0.0 + y2 = 2.353733mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 74.0mil + x2 = 74.0mil + ha:flags { + } + y1 = 2.353733mm + } + ha:line.25 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 35.0mil + x2 = 1.889mm + ha:flags { + } + y1 = 120.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 35.0mil + x2 = 35.0mil + ha:flags { + } + y1 = 120.0mil + } + } + ha:combining { + } + } + } + } + uid = hksuSYo1TTefRrW2D28AAAAB + ha:flags { + } + } +} Index: SOT25.fp =================================================================== --- SOT25.fp (revision 27120) +++ SOT25.fp (revision 27121) @@ -1,38 +1,313 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 5 pins" "" "SOT25" 138 0 3 100 0x00) -( - ElementLine(0 0 0 139 10) - ElementLine(0 139 118 139 10) - ElementLine(118 139 118 0 10) - ElementLine(118 0 0 0 10) - # 1st side, 1st pin - Pad(20 102 - 20 118 - 24 "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(98 102 - 98 118 - 24 "2" "2" 0x100) - # 2nd side, 3rd pin - Pad(98 20 - 98 36 - 24 "3" "3" 0x100) - # 2nd side, 2nd pin - Pad(59 20 - 59 36 - 24 "4" "4" 0x100) - # 2nd side, 1st pin - Pad(20 20 - 20 36 - 24 "5" "5" 0x100) - Mark(20 110) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT25 SMT transistor, 5 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -20.0mil + -12.0mil + -20.0mil + -12.0mil + 20.0mil + 12.0mil + 20.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 15.0mil + -23.0mil + -15.0mil + -23.0mil + -15.0mil + 23.0mil + 15.0mil + 23.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -20.0mil + -12.0mil + -20.0mil + -12.0mil + 20.0mil + 12.0mil + 20.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 30.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 108.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 108.0mil + rot = 0.000000 + y = 38.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 0 + xmirror = 0 + x = 69.0mil + rot = 0.000000 + y = 38.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.23 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 0 + xmirror = 0 + x = 30.0mil + rot = 0.000000 + y = 38.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.7 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 128.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 128.0mil + x2 = 128.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 128.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 148.0mil + y = 10.0mil + 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.24 { + clearance = 0.0 + y2 = 1.79832mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 69.0mil + x2 = 69.0mil + ha:flags { + } + y1 = 1.79832mm + } + ha:line.27 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.30 { + clearance = 0.0 + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.33 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 30.0mil + x2 = 1.762mm + ha:flags { + } + y1 = 120.0mil + } + } + ha:combining { + } + } + } + } + uid = FitPy/jBEPpaQxnl1vgAAAAB + ha:flags { + } + } +} Index: SOT26.fp =================================================================== --- SOT26.fp (revision 27120) +++ SOT26.fp (revision 27121) @@ -1,41 +1,331 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 6 pins" "" "SOT26" 138 0 3 100 0x00) -( - ElementLine(0 0 0 139 10) - ElementLine(0 139 118 139 10) - ElementLine(118 139 118 0 10) - ElementLine(118 0 0 0 10) - # 1st side, 1st pin - Pad(20 102 - 20 118 - 24 "1" "1" 0x100) - # 1st side, 2nd pin - Pad(59 102 - 59 118 - 24 "2" "2" 0x100) - # 1st side, 3rd pin - Pad(98 102 - 98 118 - 24 "3" "3" 0x100) - # 2nd side, 3rd pin - Pad(98 20 - 98 36 - 24 "4" "4" 0x100) - # 2nd side, 2nd pin - Pad(59 20 - 59 36 - 24 "5" "5" 0x100) - # 2nd side, 1st pin - Pad(20 20 - 20 36 - 24 "6" "6" 0x100) - Mark(20 110) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT26 SMT transistor, 6 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -20.0mil + -12.0mil + -20.0mil + -12.0mil + 20.0mil + 12.0mil + 20.0mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 15.0mil + -23.0mil + -15.0mil + -23.0mil + -15.0mil + 23.0mil + 15.0mil + 23.0mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 12.0mil + -20.0mil + -12.0mil + -20.0mil + -12.0mil + 20.0mil + 12.0mil + 20.0mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 30.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 69.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 108.0mil + rot = 0.000000 + y = 120.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 0 + xmirror = 0 + x = 108.0mil + rot = 0.000000 + y = 38.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.23 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 0 + xmirror = 0 + x = 69.0mil + rot = 0.000000 + y = 38.0mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.24 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 0 + xmirror = 0 + x = 30.0mil + rot = 0.000000 + y = 38.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.7 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:line.10 { + clearance = 0.0 + y2 = 149.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 10.0mil + x2 = 128.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.13 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 128.0mil + x2 = 128.0mil + ha:flags { + } + y1 = 149.0mil + } + ha:line.16 { + clearance = 0.0 + y2 = 10.0mil + thickness = 10.0mil + ha:attributes { + } + x1 = 128.0mil + x2 = 10.0mil + ha:flags { + } + y1 = 10.0mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 148.0mil + y = 10.0mil + 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.25 { + clearance = 0.0 + y2 = 79.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 69.0mil + x2 = 69.0mil + ha:flags { + } + y1 = 79.0mil + } + ha:line.28 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.31 { + clearance = 0.0 + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 30.0mil + x2 = 30.0mil + ha:flags { + } + y1 = 120.0mil + } + ha:line.34 { + clearance = 0.0 + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 30.0mil + x2 = 1.762mm + ha:flags { + } + y1 = 120.0mil + } + } + ha:combining { + } + } + } + } + uid = kS4vnWF4YqQfyJe4Fo8AAAAB + ha:flags { + } + } +} Index: SOT323.fp =================================================================== --- SOT323.fp (revision 27120) +++ SOT323.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT transistor, 3 pins" "" "SOT323" 114 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 94 119 10) - ElementLine(94 119 94 0 10) - ElementLine(94 0 0 0 10) - # 1st side, 1st pin - Pad(21 91 - 21 97 - 29 - "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(72 91 - 72 97 - 29 - "2" "2" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(47 21 - 47 27 - 29 - "3" "3" 0x100) - # 2nd side, 1st pin - Mark(21 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT323 SMT transistor, 3 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.5mil + -20.5mil + -17.5mil + -20.5mil + -17.5mil + 20.5mil + 17.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 32.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 83.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 58.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 125.5mil + y = 11.5mil + 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.22 { + clearance = 0.0 + y2 = 2.087033mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.477433mm + x2 = 1.477433mm + ha:flags { + } + y1 = 2.087033mm + } + ha:line.25 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.28 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.31 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 32.5mil + x2 = 1.8255mm + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = cXXouN6IWQ/t3brFf7YAAAAB + ha:flags { + } + } +} Index: SOT323D.fp =================================================================== --- SOT323D.fp (revision 27120) +++ SOT323D.fp (revision 27121) @@ -1,33 +1,277 @@ -##from:pcb -##for:transistor - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -Element(0x00 "SMT diode (pin 1 is cathode)" "" "SOT323D" 114 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 94 119 10) - ElementLine(94 119 94 0 10) - ElementLine(94 0 0 0 10) - # 1st side, 1st pin - Pad(21 91 - 21 97 - 29 - "2" "2" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(72 91 - 72 97 - 29 - "3" "3" 0x100) - # 2nd side, 3rd pin - # 2nd side, 2nd pin - Pad(47 21 - 47 27 - 29 - "1" "1" 0x100) - # 2nd side, 1st pin - Mark(21 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT323D SMT diode (pin 1 is cathode) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 17.5mil + -20.5mil + -17.5mil + -20.5mil + -17.5mil + 20.5mil + 17.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 14.5mil + -17.5mil + -14.5mil + -17.5mil + -14.5mil + 17.5mil + 14.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 32.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 83.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 58.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 105.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 105.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 125.5mil + y = 11.5mil + 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.22 { + clearance = 0.0 + y2 = 2.087033mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.477433mm + x2 = 1.477433mm + ha:flags { + } + y1 = 2.087033mm + } + ha:line.25 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.28 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 32.5mil + x2 = 1.8255mm + ha:flags { + } + y1 = 105.5mil + } + ha:line.31 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 32.5mil + x2 = 32.5mil + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = bi96z3ATUk0N6MnhWkkAAAAB + ha:flags { + } + } +} Index: SOT325.fp =================================================================== --- SOT325.fp (revision 27120) +++ SOT325.fp (revision 27121) @@ -1,40 +1,313 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -# alias sc70-5 -Element(0x00 "SMT transistor, 5 pins" "" "SOT325" 100 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 80 119 10) - ElementLine(80 119 80 0 10) - ElementLine(80 0 0 0 10) - # 1st side, 1st pin - Pad(14 84 - 14 104 - 15 "1" "1" 0x100) - # 1st side, 2nd pin - # 1st side, 3rd pin - Pad(65 84 - 65 104 - 15 "2" "2" 0x100) - # 2nd side, 3rd pin - Pad(65 14 - 65 34 - 15 "3" "3" 0x100) - # 2nd side, 2nd pin - Pad(40 14 - 40 34 - 15 "4" "4" 0x100) - # 2nd side, 1st pin - Pad(14 14 - 14 34 - 15 "5" "5" 0x100) - Mark(14 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT325 SMT transistor, 5 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 7.5mil + -17.5mil + -7.5mil + -17.5mil + -7.5mil + 17.5mil + 7.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 10.5mil + -20.5mil + -10.5mil + -20.5mil + -10.5mil + 20.5mil + 10.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 7.5mil + -17.5mil + -7.5mil + -17.5mil + -7.5mil + 17.5mil + 7.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 25.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 76.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 76.5mil + rot = 0.000000 + y = 35.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 0 + xmirror = 0 + x = 51.5mil + rot = 0.000000 + y = 35.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.23 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 0 + xmirror = 0 + x = 25.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 91.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 91.5mil + x2 = 91.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 91.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 111.5mil + y = 11.5mil + 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.24 { + clearance = 0.0 + y2 = 63.5mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 51.1mil + x2 = 51.1mil + ha:flags { + } + y1 = 63.5mil + } + ha:line.27 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 25.5mil + x2 = 25.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.30 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 25.5mil + x2 = 25.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.33 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 25.5mil + x2 = 1.6477mm + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = 8pGeYOC0HklbCnV30cwAAAAB + ha:flags { + } + } +} Index: SOT326.fp =================================================================== --- SOT326.fp (revision 27120) +++ SOT326.fp (revision 27121) @@ -1,42 +1,331 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - - # 78 for SOT23 - # 82 for SOT23 - # 41 for SOT23 - # 34 for SOT23, 24 for SOT25 -# alias sc70-6 -Element(0x00 "SMT transistor, 6 pins" "" "SOT326" 100 0 3 100 0x00) -( - ElementLine(0 0 0 119 10) - ElementLine(0 119 80 119 10) - ElementLine(80 119 80 0 10) - ElementLine(80 0 0 0 10) - # 1st side, 1st pin - Pad(14 84 - 14 104 - 15 "1" "1" 0x100) - # 1st side, 2nd pin - Pad(40 84 - 40 104 - 15 "2" "2" 0x100) - # 1st side, 3rd pin - Pad(65 84 - 65 104 - 15 "3" "3" 0x100) - # 2nd side, 3rd pin - Pad(65 14 - 65 34 - 15 "4" "4" 0x100) - # 2nd side, 2nd pin - Pad(40 14 - 40 34 - 15 "5" "5" 0x100) - # 2nd side, 1st pin - Pad(14 14 - 14 34 - 15 "6" "6" 0x100) - Mark(14 94) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT326 SMT transistor, 6 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 7.5mil + -17.5mil + -7.5mil + -17.5mil + -7.5mil + 17.5mil + 7.5mil + 17.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 10.5mil + -20.5mil + -10.5mil + -20.5mil + -10.5mil + 20.5mil + 10.5mil + 20.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 7.5mil + -17.5mil + -7.5mil + -17.5mil + -7.5mil + 17.5mil + 7.5mil + 17.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 25.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 51.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 76.5mil + rot = 0.000000 + y = 105.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 0 + xmirror = 0 + x = 76.5mil + rot = 0.000000 + y = 35.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.23 { + smirror = 0 + ha:attributes { + term = 5 + name = 5 + } + proto = 0 + xmirror = 0 + x = 51.5mil + rot = 0.000000 + y = 35.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.24 { + smirror = 0 + ha:attributes { + term = 6 + name = 6 + } + proto = 0 + xmirror = 0 + x = 25.5mil + rot = 0.000000 + y = 35.5mil + 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.7 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 130.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 11.5mil + x2 = 91.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 91.5mil + x2 = 91.5mil + ha:flags { + } + y1 = 130.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 11.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 91.5mil + x2 = 11.5mil + ha:flags { + } + y1 = 11.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 111.5mil + y = 11.5mil + 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.25 { + clearance = 0.0 + y2 = 70.5mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.299633mm + x2 = 1.299633mm + ha:flags { + } + y1 = 70.5mil + } + ha:line.28 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 25.5mil + x2 = 25.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.31 { + clearance = 0.0 + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 25.5mil + x2 = 25.5mil + ha:flags { + } + y1 = 105.5mil + } + ha:line.34 { + clearance = 0.0 + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 25.5mil + x2 = 1.6477mm + ha:flags { + } + y1 = 105.5mil + } + } + ha:combining { + } + } + } + } + uid = 6Bv/QN6fnFrzfC7tuHoAAAAB + ha:flags { + } + } +} Index: SOT89.fp =================================================================== --- SOT89.fp (revision 27120) +++ SOT89.fp (revision 27121) @@ -1,31 +1,363 @@ -##from:pcb -##for:transistor -##for:stabilizer -##for:linear - -Element(0x00 "SMT transistor, 4 pins" "" "SOT89" 203 0 3 100 0x00) -( - ElementLine(0 0 0 207 10) - ElementLine(0 207 183 207 10) - ElementLine(183 207 183 0 10) - ElementLine(183 0 0 0 10) - # 1st pin on pin side - Pad(30 152 - 30 176 - 37 - "1" "1" 0x100) - Pad(91 152 - 91 176 - 37 - "2" "2" 0x100) - # last pin on pin side - Pad(152 152 - 152 176 - 37 - "3" "3" 0x100) - # extra wide pin on opposite side - Pad(121 42 - 61 42 - 61 "4" "4" 0x100) - Mark(30 164) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = SOT89 SMT transistor, 4 pins + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 18.5mil + -30.5mil + -18.5mil + -30.5mil + -18.5mil + 30.5mil + 18.5mil + 30.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 21.5mil + -33.5mil + -21.5mil + -33.5mil + -21.5mil + 33.5mil + 21.5mil + 33.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 18.5mil + -30.5mil + -18.5mil + -30.5mil + -18.5mil + 30.5mil + 18.5mil + 30.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + ha:ps_proto_v6.1 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 60.5mil + 30.5mil + 60.5mil + -30.5mil + -60.5mil + -30.5mil + -60.5mil + 30.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 63.5mil + 33.5mil + 63.5mil + -33.5mil + -63.5mil + -33.5mil + -63.5mil + 33.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 60.5mil + 30.5mil + 60.5mil + -30.5mil + -60.5mil + -30.5mil + -60.5mil + 30.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.19 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 36.5mil + rot = 0.000000 + y = 170.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.20 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 97.5mil + rot = 0.000000 + y = 170.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.21 { + smirror = 0 + ha:attributes { + term = 3 + name = 3 + } + proto = 0 + xmirror = 0 + x = 158.5mil + rot = 0.000000 + y = 170.5mil + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 15.0mil + } + ha:padstack_ref.22 { + smirror = 0 + ha:attributes { + term = 4 + name = 4 + } + proto = 1 + xmirror = 0 + x = 97.5mil + rot = 0.000000 + y = 48.5mil + 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.7 { + clearance = 0.0 + y2 = 213.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 6.5mil + x2 = 6.5mil + ha:flags { + } + y1 = 6.5mil + } + ha:line.10 { + clearance = 0.0 + y2 = 213.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 6.5mil + x2 = 189.5mil + ha:flags { + } + y1 = 213.5mil + } + ha:line.13 { + clearance = 0.0 + y2 = 6.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 189.5mil + x2 = 189.5mil + ha:flags { + } + y1 = 213.5mil + } + ha:line.16 { + clearance = 0.0 + y2 = 6.5mil + thickness = 10.0mil + ha:attributes { + } + x1 = 189.5mil + x2 = 6.5mil + ha:flags { + } + y1 = 6.5mil + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 209.5mil + y = 6.5mil + 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.23 { + clearance = 0.0 + y2 = 140.0mil + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 97.5mil + x2 = 97.5mil + ha:flags { + } + y1 = 140.0mil + } + ha:line.26 { + clearance = 0.0 + y2 = 170.5mil + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 36.5mil + x2 = 36.5mil + ha:flags { + } + y1 = 170.5mil + } + ha:line.29 { + clearance = 0.0 + y2 = 5.3307mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 36.5mil + x2 = 36.5mil + ha:flags { + } + y1 = 170.5mil + } + ha:line.32 { + clearance = 0.0 + y2 = 170.5mil + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 36.5mil + x2 = 1.9271mm + ha:flags { + } + y1 = 170.5mil + } + } + ha:combining { + } + } + } + } + uid = nhFNna5oWAROPukkSGYAAAAB + ha:flags { + } + } +} Index: TANT_A.fp =================================================================== --- TANT_A.fp (revision 27120) +++ TANT_A.fp (revision 27121) @@ -1,21 +1,283 @@ -##from:pcb -##for:capacitor -##for:tantal - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "Tantalum SMT capacitor (pin 1 is +)" "" "TANT_A" 0 0 106 0 3 100 0x00) -( - ElementLine(-96 -43 -96 43 20) - ElementLine(-96 43 -72 55 10) - ElementLine(-72 55 86 55 10) - ElementLine(86 55 86 -55 10) - ElementLine(86 -55 -72 -55 10) - ElementLine(-72 -55 -96 -43 10) - Pad(-50 -18 - -50 18 - 49 20 55 "1" "1" 0x00000100) - Pad(50 -18 - 50 18 - 49 20 55 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TANT_A Tantalum SMT capacitor (pin 1 is +) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 24.5mil + -42.5mil + -24.5mil + -42.5mil + -24.5mil + 42.5mil + 24.5mil + 42.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 27.5mil + -45.5mil + -27.5mil + -45.5mil + -27.5mil + 45.5mil + 27.5mil + 45.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 24.5mil + -42.5mil + -24.5mil + -42.5mil + -24.5mil + 42.5mil + 24.5mil + 42.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.423183mm + rot = 0.000000 + y = 1.524392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 3.963183mm + rot = 0.000000 + y = 1.524392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 2.616592mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.432192mm + } + ha:line.10 { + clearance = 0.0 + y2 = 2.921392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.864383mm + ha:flags { + } + y1 = 2.616592mm + } + ha:line.13 { + clearance = 0.0 + y2 = 2.921392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.864383mm + x2 = 4.877583mm + ha:flags { + } + y1 = 2.921392mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.877583mm + x2 = 4.877583mm + ha:flags { + } + y1 = 2.921392mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 4.877583mm + x2 = 0.864383mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.432192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.864383mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 5.385583mm + y = 1.524392mm + 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.27 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.30 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.33 { + clearance = 0.0 + y2 = 1.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 2.693183mm + x2 = 3.693183mm + ha:flags { + } + y1 = 1.524392mm + } + ha:line.36 { + clearance = 0.0 + y2 = 2.524392mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 2.693183mm + x2 = 2.693183mm + ha:flags { + } + y1 = 1.524392mm + } + } + ha:combining { + } + } + } + } + uid = 26/rwM0jSKi02rxdXecAAAAB + ha:flags { + } + } +} Index: TANT_B.fp =================================================================== --- TANT_B.fp (revision 27120) +++ TANT_B.fp (revision 27121) @@ -1,21 +1,283 @@ -##from:pcb -##for:capacitor -##for:tantal - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "Tantalum SMT capacitor (pin 1 is +)" "" "TANT_B" 0 0 132 0 3 100 0x00) -( - ElementLine(-122 -77 -122 77 20) - ElementLine(-122 77 -87 99 10) - ElementLine(-87 99 112 99 10) - ElementLine(112 99 112 -99 10) - ElementLine(112 -99 -87 -99 10) - ElementLine(-87 -99 -122 -77 10) - Pad(-55 -41 - -55 41 - 71 20 77 "1" "1" 0x00000100) - Pad(55 -41 - 55 41 - 71 20 77 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TANT_B Tantalum SMT capacitor (pin 1 is +) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 35.5mil + -76.5mil + -35.5mil + -76.5mil + -35.5mil + 76.5mil + 35.5mil + 76.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 38.5mil + -79.5mil + -38.5mil + -79.5mil + -38.5mil + 79.5mil + 38.5mil + 79.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 + -76.5mil + -35.5mil + -76.5mil + -35.5mil + 76.5mil + 35.5mil + 76.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 1.956583mm + rot = 0.000000 + y = 2.641992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 4.750583mm + rot = 0.000000 + y = 2.641992mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 4.597792mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.686192mm + } + ha:line.10 { + clearance = 0.0 + y2 = 5.156592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.143783mm + ha:flags { + } + y1 = 4.597792mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.156592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.143783mm + x2 = 6.198383mm + ha:flags { + } + y1 = 5.156592mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 6.198383mm + x2 = 6.198383mm + ha:flags { + } + y1 = 5.156592mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 6.198383mm + x2 = 1.143783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.686192mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.143783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 6.706383mm + y = 2.641992mm + 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.27 { + clearance = 0.0 + y2 = 2.641992mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 3.353583mm + x2 = 3.353583mm + ha:flags { + } + y1 = 2.641992mm + } + ha:line.30 { + clearance = 0.0 + y2 = 2.641992mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 3.353583mm + x2 = 3.353583mm + ha:flags { + } + y1 = 2.641992mm + } + ha:line.33 { + clearance = 0.0 + y2 = 2.641992mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 3.353583mm + x2 = 4.353583mm + ha:flags { + } + y1 = 2.641992mm + } + ha:line.36 { + clearance = 0.0 + y2 = 3.641992mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 3.353583mm + x2 = 3.353583mm + ha:flags { + } + y1 = 2.641992mm + } + } + ha:combining { + } + } + } + } + uid = z+x6iElAGsr55qcSOkgAAAAB + ha:flags { + } + } +} Index: TANT_C.fp =================================================================== --- TANT_C.fp (revision 27120) +++ TANT_C.fp (revision 27121) @@ -1,21 +1,283 @@ -##from:pcb -##for:capacitor -##for:tantal - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "Tantalum SMT capacitor (pin 1 is +)" "" "TANT_C" 0 0 188 0 3 100 0x00) -( - ElementLine(-178 -87 -178 87 20) - ElementLine(-178 87 -130 112 10) - ElementLine(-130 112 168 112 10) - ElementLine(168 112 168 -112 10) - ElementLine(168 -112 -130 -112 10) - ElementLine(-130 -112 -178 -87 10) - Pad(-94 -39 - -94 39 - 97 20 103 "1" "1" 0x00000100) - Pad(94 -39 - 94 39 - 97 20 103 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TANT_C Tantalum SMT capacitor (pin 1 is +) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 48.5mil + -87.5mil + -48.5mil + -87.5mil + -48.5mil + 87.5mil + 48.5mil + 87.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 51.5mil + -90.5mil + -51.5mil + -90.5mil + -51.5mil + 90.5mil + 51.5mil + 90.5mil + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 48.5mil + -87.5mil + -48.5mil + -87.5mil + -48.5mil + 87.5mil + 48.5mil + 87.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.388383mm + rot = 0.000000 + y = 2.972192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 7.163583mm + rot = 0.000000 + y = 2.972192mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 5.181992mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.762392mm + } + ha:line.10 { + clearance = 0.0 + y2 = 5.816992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.473983mm + ha:flags { + } + y1 = 5.181992mm + } + ha:line.13 { + clearance = 0.0 + y2 = 5.816992mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.473983mm + x2 = 9.043183mm + ha:flags { + } + y1 = 5.816992mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 9.043183mm + x2 = 9.043183mm + ha:flags { + } + y1 = 5.816992mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 9.043183mm + x2 = 1.473983mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.762392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.473983mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 9.551183mm + y = 2.972192mm + 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.27 { + clearance = 0.0 + y2 = 2.972192mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 4.775983mm + x2 = 4.775983mm + ha:flags { + } + y1 = 2.972192mm + } + ha:line.30 { + clearance = 0.0 + y2 = 2.972192mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 4.775983mm + x2 = 4.775983mm + ha:flags { + } + y1 = 2.972192mm + } + ha:line.33 { + clearance = 0.0 + y2 = 2.972192mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 4.775983mm + x2 = 5.775983mm + ha:flags { + } + y1 = 2.972192mm + } + ha:line.36 { + clearance = 0.0 + y2 = 3.972192mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 4.775983mm + x2 = 4.775983mm + ha:flags { + } + y1 = 2.972192mm + } + } + ha:combining { + } + } + } + } + uid = JkGYP/uNTLhwqZKit+sAAAAB + ha:flags { + } + } +} Index: TANT_D.fp =================================================================== --- TANT_D.fp (revision 27120) +++ TANT_D.fp (revision 27121) @@ -1,21 +1,283 @@ -##from:pcb -##for:capacitor -##for:tantal - - # how much to grow the pads by for soldermask - # clearance from planes -Element(0x00 "Tantalum SMT capacitor (pin 1 is +)" "" "TANT_D" 0 0 229 0 3 100 0x00) -( - ElementLine(-219 -117 -219 117 20) - ElementLine(-219 117 -158 150 10) - ElementLine(-158 150 209 150 10) - ElementLine(209 150 209 -150 10) - ElementLine(209 -150 -158 -150 10) - ElementLine(-158 -150 -219 -117 10) - Pad(-115 -56 - -115 56 - 123 20 129 "1" "1" 0x00000100) - Pad(115 -56 - 115 56 - 123 20 129 "2" "2" 0x00000100) -) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = TANT_D Tantalum SMT capacitor (pin 1 is +) + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 61.5mil + -117.5mil + -61.5mil + -117.5mil + -61.5mil + 117.5mil + 61.5mil + 117.5mil + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 1.638299mm + -3.060699mm + -1.638299mm + -3.060699mm + -1.638299mm + 3.060699mm + 1.638299mm + 3.060699mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 61.5mil + -117.5mil + -61.5mil + -117.5mil + -61.5mil + 117.5mil + 61.5mil + 117.5mil + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.25 { + smirror = 0 + ha:attributes { + term = 1 + name = 1 + } + proto = 0 + xmirror = 0 + x = 2.896383mm + rot = 0.000000 + y = 3.937392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + ha:padstack_ref.26 { + smirror = 0 + ha:attributes { + term = 2 + name = 2 + } + proto = 0 + xmirror = 0 + x = 8.738383mm + rot = 0.000000 + y = 3.937392mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 10.0mil + } + } + li:layers { + ha:top-silk { + lid = 0 + ha:type { + silk = 1 + top = 1 + } + li:objects { + ha:line.7 { + clearance = 0.0 + y2 = 6.909192mm + thickness = 20.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.965592mm + } + ha:line.10 { + clearance = 0.0 + y2 = 7.747392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 0.254783mm + x2 = 1.804183mm + ha:flags { + } + y1 = 6.909192mm + } + ha:line.13 { + clearance = 0.0 + y2 = 7.747392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.804183mm + x2 = 11.125983mm + ha:flags { + } + y1 = 7.747392mm + } + ha:line.16 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 11.125983mm + x2 = 11.125983mm + ha:flags { + } + y1 = 7.747392mm + } + ha:line.19 { + clearance = 0.0 + y2 = 0.127392mm + thickness = 10.0mil + ha:attributes { + } + x1 = 11.125983mm + x2 = 1.804183mm + ha:flags { + } + y1 = 0.127392mm + } + ha:line.22 { + clearance = 0.0 + y2 = 0.965592mm + thickness = 10.0mil + ha:attributes { + } + x1 = 1.804183mm + x2 = 0.254783mm + ha:flags { + } + y1 = 0.127392mm + } + ha:text.6 { + scale = 100 + ha:attributes { + } + x = 11.633983mm + y = 3.937392mm + 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.27 { + clearance = 0.0 + y2 = 3.937392mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 5.817383mm + x2 = 5.817383mm + ha:flags { + } + y1 = 3.937392mm + } + ha:line.30 { + clearance = 0.0 + y2 = 3.937392mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 5.817383mm + x2 = 5.817383mm + ha:flags { + } + y1 = 3.937392mm + } + ha:line.33 { + clearance = 0.0 + y2 = 3.937392mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 5.817383mm + x2 = 6.817383mm + ha:flags { + } + y1 = 3.937392mm + } + ha:line.36 { + clearance = 0.0 + y2 = 4.937392mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 5.817383mm + x2 = 5.817383mm + ha:flags { + } + y1 = 3.937392mm + } + } + ha:combining { + } + } + } + } + uid = aZrmxsPqy0XUIP+9J8kAAAAB + ha:flags { + } + } +} Index: minimelf.fp =================================================================== --- minimelf.fp (revision 27120) +++ minimelf.fp (revision 27121) @@ -1,12 +1,233 @@ -##from:repo.hu/projects/openhw -##for:diode - - -Element["" "" "D101" "" 145669 141732 -3720 -2087 0 70 ""] -( - Pad[7087 -984 7087 984 5118 5000 7618 "" "1" "square"] - Pad[-7087 -984 -7087 984 5118 5000 7618 "" "2" "square"] - ElementLine [-3937 -3150 3937 -3150 787] - ElementLine [-3937 3150 3937 3150 787] - - ) +li:pcb-rnd-subcircuit-v6 { + ha:subc.5 { + ha:attributes { + footprint = minimelf + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + htop = 0 + hdia = 0.0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.899922mm + -0.649986mm + -0.899922mm + -0.649986mm + 0.899922mm + 0.649986mm + 0.899922mm + } + ha:layer_mask { + copper = 1 + top = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 38.09mil + -1.217422mm + -38.09mil + -1.217422mm + -38.09mil + 1.217422mm + 38.09mil + 1.217422mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0.0 + li:ps_poly { + 0.649986mm + -0.899922mm + -0.649986mm + -0.899922mm + -0.649986mm + 0.899922mm + 0.649986mm + 0.899922mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + hbottom = 0 + hplated = 0 + } + } + li:objects { + ha:padstack_ref.7 { + smirror = 0 + ha:attributes { + term = 1 + } + proto = 0 + xmirror = 0 + x = 1.52756in + rot = 0.000000 + y = 35.999928mm + li:thermal { + } + ha:flags { + clearline = 1 + } + clearance = 25.0mil + } + ha:padstack_ref.8 { + smirror = 0 + ha:attributes { + term = 2 + } + proto = 0 + xmirror = 0 + x = 1.38582in + rot = 0.000000 + y = 35.999928mm + 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.9 { + clearance = 0.0 + y2 = 1.38582in + thickness = 7.87mil + ha:attributes { + } + x1 = 35.999928mm + x2 = 37.999924mm + ha:flags { + } + y1 = 1.38582in + } + ha:line.12 { + clearance = 0.0 + y2 = 1.44882in + thickness = 7.87mil + ha:attributes { + } + x1 = 35.999928mm + x2 = 37.999924mm + ha:flags { + } + y1 = 1.44882in + } + ha:text.6 { + scale = 70 + ha:attributes { + } + x = 1.41949in + y = 35.46983mm + 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.15 { + clearance = 0.0 + y2 = 35.999928mm + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 1.45669in + x2 = 1.45669in + ha:flags { + } + y1 = 35.999928mm + } + ha:line.18 { + clearance = 0.0 + y2 = 35.999928mm + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 1.45669in + x2 = 1.45669in + ha:flags { + } + y1 = 35.999928mm + } + ha:line.21 { + clearance = 0.0 + y2 = 35.999928mm + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 1.45669in + x2 = 35.999926mm + ha:flags { + } + y1 = 35.999928mm + } + ha:line.24 { + clearance = 0.0 + y2 = 34.999928mm + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 1.45669in + x2 = 1.45669in + ha:flags { + } + y1 = 35.999928mm + } + } + ha:combining { + } + } + } + } + uid = kBcrKTtaM9kTfl/PmukAAAAB + ha:flags { + } + } +}