Index: TODO/test_fp.rf =================================================================== --- TODO/test_fp.rf (nonexistent) +++ TODO/test_fp.rf (revision 38063) @@ -0,0 +1,328 @@ +li:pcb-rnd-subcircuit-v6 { + ha:subc.2{ + ha:attributes { + footprint = {tube:7,4.75mm,6mm,1.25mm,8.9mm} + refdes = X1 + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.0 { + hdia = 1.25mm + hplated = 1 + htop = 0 + hbottom = 0 + li:shape { + ha:ps_shape_v4 { + clearance = 0 + ha:ps_line { + x1=-0.5mm; y1=0mm; x2=0.625mm; y2=0mm; + thickness=1.875mm; square=0 + } + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + ha:ps_line { + x1=-0.5mm; y1=0mm; x2=0.625mm; y2=0mm; + thickness=1.875mm; square=0 + } + ha:layer_mask { + intern = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + ha:ps_line { + x1=-0.5mm; y1=0mm; x2=0.625mm; y2=0mm; + thickness=1.875mm; square=0 + } + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + ha:ps_line { + x1=0mm; y1=0mm; x2=0mm; y2=0mm; + thickness=30mm; square=0 + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0 + ha:ps_line { + x1=0mm; y1=0mm; x2=0mm; y2=0mm; + thickness=30mm; square=0 + } + ha:layer_mask { + bottom = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + } + + } +# non plated through hole 6mm + ha:ps_proto_v6.1 { + hdia = 6mm + hplated = 0 + htop = 0 + hbottom = 0 + li:shape { + ha:ps_shape_v4 { + clearance = 0 + ps_hshadow = {} + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + ps_hshadow = {} + ha:layer_mask { + intern = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + ps_hshadow = {} + ha:layer_mask { + bottom = 1 + copper = 1 + } + ha:combining { + } + } + } + + } + } + li:objects { + + ha:padstack_ref.7 { + proto = 0 + x = 4.75mm + y = 0mm + rot = 0 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 1 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.8 { + proto = 0 + x = 3.35876mm + y = -3.35876mm + rot = 45 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 2 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.9 { + proto = 0 + x = -9.74241e-10mm + y = -4.75mm + rot = 90 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 3 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.10 { + proto = 0 + x = -3.35876mm + y = -3.35876mm + rot = 135 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 4 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.11 { + proto = 0 + x = -4.75mm + y = 1.94848e-09mm + rot = 180 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 5 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.12 { + proto = 0 + x = -3.35876mm + y = 3.35876mm + rot = 225 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 6 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.13 { + proto = 0 + x = 2.92272e-09mm + y = 4.75mm + rot = 270 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 7 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + ha:padstack_ref.15 { + proto = 1 + x = 0mm + y = 0mm + rot = 0 + smirror = 0; xmirror = 0 + clearance = 0.1mm + ha:attributes { + term = 0 + } + li:thermal { } + ha:flags { clearline = 1; } + } + + } + li:layers { + ha:subc-aux { + lid = 0 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + + ha:line.4 { + x1 = 0mm + y1 = 0mm + x2 = 1mm + y2 = 0mm + thickness = 0.1mm + clearance = 0mm + ha:attributes {subc-role = x} + ha:flags {} + } + + ha:line.5 { + x1 = 0mm + y1 = 0mm + x2 = 0mm + y2 = 1mm + thickness = 0.1mm + clearance = 0mm + ha:attributes {subc-role = y} + ha:flags {} + } + + ha:line.6 { + x1 = 0mm + y1 = 0mm + x2 = 0mm + y2 = 0mm + thickness = 0.1mm + clearance = 0mm + ha:attributes {subc-role = origin} + ha:flags {} + } + + } + ha:combining { + } + } + ha:top-silk { + lid = 0 + ha:type { + top = 1 + silk = 1 + } + li:objects { + + ha:text.3{ + scale = 100 + x = 0mm + y = -2.54mm + rot = 0 + string = %a.parent.refdes% + fid = 0 + ha:flags {dyntext = 1;floater=1;} + } + + ha:arc.14 { + x = 0mm + y = 0mm + astart = 0 + adelta = 360 + thickness = 0.2032mm + clearance = 0mm + width = 8.9mm + height = 8.9mm + ha:flags {} + } + + } + ha:combining { + } + } + } + } + uid = Prm/8/dHkaZS0m4vQmD1cHAA + } +}