Index: parametric_lht/dip_lht =================================================================== --- parametric_lht/dip_lht (revision 27203) +++ parametric_lht/dip_lht (nonexistent) @@ -1,21 +0,0 @@ -#!/bin/sh - -#@@example dip(18) - -#@@purpose Generate classic DIP packages. - -#@@desc Generate thru-hole DIP packages with variable number of pins and -#@@desc row spacing -#@@params n, spacing - -#@@param:n number of pins - -#@@param:spacing spacing between the two rows of pins -#@@dim:spacing -#@@optional:spacing -#@@default:spacing 100 mil - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/dip.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/dip_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/acy_lht =================================================================== --- parametric_lht/acy_lht (revision 27203) +++ parametric_lht/acy_lht (nonexistent) @@ -1,56 +0,0 @@ -#!/bin/sh - -#@@example acy(300) - -#@@purpose Generate axial lead through-hole component - -#@@desc Generate axial lead through-hole component with 2 pins (typical use: resistor) -#@@params spacing,type,pol,dia - -#@@param:spacing spacing between the two pins -#@@dim:spacing - -#@@param:type silk symbol type -#@@enum:type:block eu-style block resistor symbol -#@@enum:type:endcap block resistor with caps on the ends -#@@enum:type:zigzag us-style zigzag resistor symbol -#@@enum:type:line a single line (e.g. for jumper wires) -#@@enum:type:standing vertically aligned, body standing on pin 1, pin 2 bent back -#@@enum:type:coil wavy coil symbol -#@@enum:type:core wavy coil symbol with a parallel line -#@@enum:type:core2 wavy coil symbol with two parallel lines -#@@optional:type -#@@default:type block -#@@preview_args:type 300 - -#@@param:pol how to mark polarity -#@@enum:pol:none no marking -#@@enum:pol:sign + and - signs; pin 1 is + -#@@enum:pol:bar bar next to pin 1 -#@@enum:pol:dot dot next to pin 1 -#@@optional:pol -#@@default:pol none -#@@preview_args:pol 300 - -#@@param:dia body diameter - affects silk size -#@@dim:dia -#@@optional:dia -#@@default:dia spacing/6 - - -#@@param:wiper silk symbol wiper type -#@@enum:wiper:none no wiper -#@@enum:wiper:parrow perpendicular arrow, pointing inwards -#@@enum:wiper:aarrow angled arrow, pointing outwards -#@@enum:wiper:looparrow arrow starting at pin 2 looping back to point inwards on the body -#@@enum:wiper:thermistor wiper of a thermistor symbol -#@@optional:wiper -#@@default:wiper none -#@@preview_args:wiper 400 - -#@@thumbsize 2 - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/acy.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/acy_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/screw_lht =================================================================== --- parametric_lht/screw_lht (revision 27203) +++ parametric_lht/screw_lht (nonexistent) @@ -1,35 +0,0 @@ -#!/bin/sh - -#@@example screw(3.2mm, 6mm, circle:hex) - -#@@purpose Generic screw. - -#@@desc Generate a "single pin" screw with optional head shapes -#@@params hole,head,shape,ring - -#@@param:hole hole diameter or name of a standard screw (e.g. M3) -#@@dim:hole - - -#@@param:head head outmost diameter (or optional head name for a standard screw: pan, button, cheese, flat-washer, internal-lock-washer) -#@@dim:head - -#@@param:ring copper ring outer diameter -#@@dim:ring -#@@optional:ring -#@@default:ring 80% of head diameter - - -#@@param:shape shape of the head drawn on silkmark; multiple values can be listed separated with colons, e.g. "shape=circle:hex" -#@@enum:shape:circle circle -#@@enum:shape:hex hexagon with straight line edges, size is from corner to corner -#@@enum:shape:tx "torx": hexagon with arced edges -#@@enum:shape:xzn "triple square" -#@@enum:shape:ph philips slot (cross) - useful together with circle -#@@enum:shape:slot a single straight line slot - useful together with circle -#@@default:shape circle -#@@preview_args:shape 3mm,6mm - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/screw.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" -v "genfull=$0" Property changes on: parametric_lht/screw_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/qfn_lht =================================================================== --- parametric_lht/qfn_lht (revision 27203) +++ parametric_lht/qfn_lht (nonexistent) @@ -1,24 +0,0 @@ -#!/bin/sh - -# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP - -#@@example qfn(16,3x3,0.5) - -#@@purpose Generate QFN packages -#@@desc Generate QFN packages - a simplified frontend to qf() - -#@@desc look up 3..4 data in the datasheet and get a regular QFN footprint! -#@@desc Should work for QFN, TQFN, etc. -#@@desc NOTE: some of the qf() parameters can be also used. - -#@@params pins,size,pitch,cpad_size - -#@@param:pins total number of pins (leads); must be divisible by 4 -#@@param:size a single integer N or NxN or NxNxH; the pad spacing dimension (outer dimension, lead-to-lead) in mm -#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mm; must be one of 0.4, 0.5, 0.65 - -#@@param:cpad_size width (and height) of the central pad, in mm -#@@optional:cpad_size -#@@default:cpad_size empty, there's no central pad - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/qfn.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/qfn_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/qfp_lht =================================================================== --- parametric_lht/qfp_lht (revision 27203) +++ parametric_lht/qfp_lht (nonexistent) @@ -1,24 +0,0 @@ -#!/bin/sh - -# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP - -#@@example qfp(32,7x7,0.8) - -#@@purpose Generate QFP packages -#@@desc Generate QFP packages - a simplified frontend to qf() - -#@@desc look up 3..4 data in the datasheet and get a regular QFP footprint! -#@@desc NOTE: some of the qf() parameters can be also used. -#@@desc Should work for QFP, TQFP, LQFP, etc. - -#@@params pins,size,pitch,cpad_size - -#@@param:pins total number of pins (leads); must be divisible by 4 -#@@param:size a single integer N or NxN or NxNxH; body dimension (width or height of the plastic body) in mm -#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mm; must be one of 0.4, 0.5, 0.65 - -#@@param:cpad_size width (and height) of the central pad, in mm -#@@optional:cpad_size -#@@default:cpad_size empty, there's no central pad - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/qfp.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/qfp_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/plcc_lht =================================================================== --- parametric_lht/plcc_lht (revision 27203) +++ parametric_lht/plcc_lht (nonexistent) @@ -1,29 +0,0 @@ -#!/bin/sh - -# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP - -#@@example plcc(20) - -#@@purpose Generate PLCC packages -#@@desc Generate square PLCC packages - a simplified frontend to qf() - -#@@desc only the number of pins is really needed for a square PLCC footprint! -#@@desc NOTE: some of the qf() parameters can be also used; PLCC32 is non-square, and can not be properly generated using this generator. - -#@@params pins,size,pitch,cpad_size - -#@@param:pins total number of pins (leads); must be divisible by 4 - -#@@param:size a single integer N or NxN or NxNxH; outmost dimensions (width or height of the package, leads included) in mil -#@@optional:size -#@@default:size calculated from total number of pins and pitch - -#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mil; must be 50 for now -#@@optional:pitch -#@@default:pitch 50mil - -#@@param:cpad_size width (and height) of the central pad, in mil -#@@optional:cpad_size -#@@default:cpad_size empty, there's no central pad - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/plcc.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/plcc_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/connector_lht =================================================================== --- parametric_lht/connector_lht (revision 27203) +++ parametric_lht/connector_lht (nonexistent) @@ -1,53 +0,0 @@ -#!/bin/sh - -#@@example connector(2, 3, silkmark=external, spacing=100) - -#@@purpose Generate pin-array connectors (e.g. headers). - -#@@desc Generate thru-hole connectors that consits of an array of -#@@desc evenly spaced pins, a plain frame and some optional pin marks -#@@desc on the silk layer. - -#@@params nx, ny, spacing, silkmark, eshift, etrunc - -#@@param:nx number of pins in the X direction -#@@param:ny number of pins in the Y direction -#@@param:spacing spacing between the pins -#@@dim:spacing -#@@default:spacing 100 mil - -#@@include silkmark.help -#@@optional:silkmark -#@@default:silkmark square -#@@preview_args:silkmark 2,3 - -#@@param:eshift shift even rows or columns by half spacing (optional; default: don't shift) -#@@enum:eshift:x shift columns -#@@enum:eshift:y shift rows -#@@enum:eshift:none do not shift anything -#@@default:eshift none -#@@optional:eshift -#@@preview_args:eshift 2,3 - -#@@param:etrunc truncate the last pin of a shifted row or column -#@@bool:etrunc -#@@default:etrunc false -#@@optional:etrunc -#@@preview_args:etrunc 2,3,eshift=x - -#@@param:sequence pin numbering sequence -#@@enum:sequence:normal increase by y first, then by x -#@@enum:sequence:pivot increase by x first, then by y -#@@enum:sequence:zigzag "dip-style" numbering in zig-zag: number odd x rows by y ascending, even x rows by y descending -#@@preview_args:sequence 2,4 -#@@thumbsize:sequence 3 -#@@thumbnum:sequence 1 -#@@default:sequence normal -#@@optional:sequence - - - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/connector.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/connector_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/rcy_lht =================================================================== --- parametric_lht/rcy_lht (revision 27203) +++ parametric_lht/rcy_lht (nonexistent) @@ -1,32 +0,0 @@ -#!/bin/sh - -#@@example rcy(300,bar+) - -#@@purpose Generate radial lead through-hole component - -#@@desc Generate radial lead through-hole component with 2 pins (typical use: electrolytic caps) -#@@params spacing,pol,dia - -#@@param:spacing spacing between the two pins -#@@dim:spacing - -#@@param:pol how to mark polarity: (optional; default: sign) -#@@enum:pol:none no marking -#@@enum:pol:sign print + next to pin 1 and - next to pin 2 -#@@enum:pol:bar+ draw a bar inside the circle, around pin 2 -#@@enum:pol:bar- draw a bar inside the circle, around pin 1 -#@@enum:pol:bar same as bar+ -#@@enum:pol:bar+sign bar+ and sign combined -#@@enum:pol:bar-sign bar- and sign combined -#@@optional:pol -#@@default:pol sign -#@@preview_args:pol 300 - -#@@param:dia body diameter - affects the silk circle -#@@optional:dia -#@@default:dia spacing*2 - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/rcy.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/rcy_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/msop_lht =================================================================== --- parametric_lht/msop_lht (revision 27203) +++ parametric_lht/msop_lht (nonexistent) @@ -1,34 +0,0 @@ -#!/bin/sh - -# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), MSOP - -#@@example msop(8) - -#@@purpose Generate MSOP packages. - -#@@desc Generate MSOP packages with variable number of pins and -#@@desc row spacing - -#@@include so -#@@include common_subc.awk - -#@@over@default:pad_spacing 0.65 mm -#@@over@default:row_spacing 4.9 mm -#@@over@default:int_bloat 0.6 mm -#@@over@default:ext_bloat 0.6 mm -#@@over@default:pad_thickness 0.45 mm - - -defaults=' -?pad_spacing=0.65mm, -?row_spacing=4.9mm, -?int_bloat=0.6mm, -?ext_bloat=0.4mm, -?rarc=25, -?silk_ext_x=18, -?silk_ext_y=22, -?pad_thickness=0.45mm -' - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/so.awk -v "args=$defaults,$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/msop_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/bga_lht =================================================================== --- parametric_lht/bga_lht (revision 27203) +++ parametric_lht/bga_lht (nonexistent) @@ -1,74 +0,0 @@ -#!/bin/sh - -# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP - -#@@example bga(map=a1:a2:a3:#:b1:!:b3:#:c1:c2:!) - -#@@purpose Generate ball grid array - -#@@desc Generate a grid of circular pads for BGA chips - -#@@params nx,ny,spacing,balldia,silkmark,map,width,height,automap,automap2 - -#@@param:nx number of pins in the X direction -#@@optional:nx -#@@default:nx deduced from the map - -#@@param:ny number of pins in the Y direction -#@@optional:ny -#@@default:ny deduced from the map - -#@@param:spacing spacing between the pins -#@@dim:spacing -#@@default:spacing 0.5 mm - -#@@param:balldia diameter of a ball -#@@dim:balldia -#@@default:spacing 0.35 mm - -#@@include silkmark.help -#@@optional:silkmark -#@@default:silkmark square -#@@preview_args:silkmark 3,3 - -#@@param:map pin name map; a colon separated list of names, from left to right, rows first. If a name is empty or is a hash mark, a new row is started. If a name is a !, the given pin is missing and no pad is generated. -#@@optional:map - -#@@param:width width of the box (silk rectangle x size) -#@@dim:width -#@@optional:width -#@@default:width two columns wider than the array - -#@@param:height height of the box (silk rectangle y size) -#@@dim:height -#@@optional:height -#@@default:height two columns higher than the array - - -#@@param:automap assume a regular nx*ny array, automap (autonumber) the pins -#@@optional:automap -#@@enum:automap:none do not autonumber pins -#@@enum:automap:alnum number y rows from A..Z (then AA..AZ) from top to bottom, number x rows from 0..nx left to right -#@@default:none -#@@preview_args:automap 3,3 -#@@thumbsize:automap 3 -#@@thumbnum:automap 1 - -#@@param:automap2 change how automap behaves - multiple values separated by colon are accepted (e.g. automap2=pivot,reversex) -#@@enum:automap2:pivot swap x and y -#@@enum:automap2:reversex number x from right to left -#@@enum:automap2:reversey number y from bottom up -#@@preview_args:automap2 3,3,automap=alnum -#@@thumbsize:automap2 3 -#@@thumbnum:automap2 1 - -#@@param:alphabet the alphabet automap may use for rows; use A..Z if unspecified, else use the letters in this alphabet (in order). List letters without separator, e.g. ABCDEF -#@@preview_args:automap2 3,3,automap=alnum,alphabet=QDT -#@@thumbsize:automap2 3 -#@@thumbnum:automap2 1 - - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/bga.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/bga_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/alf_lht =================================================================== --- parametric_lht/alf_lht (revision 27203) +++ parametric_lht/alf_lht (nonexistent) @@ -1,37 +0,0 @@ -#!/bin/sh - -#@@example alf(300, schottky) - -#@@purpose Generate ALF: axial lead through-hole component for diodes - -#@@desc Generate axial lead through-hole component with 2 pin diodes -#@@params spacing,type,dia -#@@thumbsize 2 - -#@@param:spacing spacing between the two pins -#@@dim:spacing - -#@@param:type symbol type -#@@enum:type:normal -#@@enum:type:schottky -#@@enum:type:zener -#@@enum:type:tunnel -#@@enum:type:varactor -#@@optional:type -#@@default:type normal -#@@preview_args:type 300 - -#@@param:dia body diameter - affects silk symbol size -#@@dim:dia -#@@optional:dia -#@@default:dia spacing/12 - -#@@param:aspect silk symbol aspect: total width expressed as a portion of spacing -#@@optional:aspect -#@@default:aspect spacing/6 - - -#@@include common_subc.awk - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/alf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/alf_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/so_lht =================================================================== --- parametric_lht/so_lht (revision 27203) +++ parametric_lht/so_lht (nonexistent) @@ -1,40 +0,0 @@ -#!/bin/sh - -#@@example so(14) - -#@@purpose Generate SO and SO-like packages. - -#@@desc Generate SO packages with variable number of pins and -#@@desc row spacing -#@@params n, row_spacing, pad_spacing - -#@@param:n number of pins - -#@@param:row_spacing spacing between the two rows of pads: distance between the end of the first and last pins -#@@dim:row_spacing -#@@optional:row_spacing -#@@default:row_spacing 250 mil - - -#@@param:pad_spacing spacing between the centerline of two pads -#@@dim:pad_spacing -#@@optional:pad_spacing -#@@default:pad_spacing 50 mil - - -#@@param:ext_bloat how much longer the pad should extend outwards from the end-point of the pin -#@@dim:ext_bloat -#@@optional:ext_bloat -#@@default:ext_bloat 10 mil - -#@@param:int_bloat how much longer the pad should extend inwards from the end-point of the pin -#@@dim:int_bloat -#@@optional:int_bloat -#@@default:int_bloat 55 mil - -#@@include common_subc.awk - -#@@over@ignore::pin_ - -awk -f `dirname $0`/common_subc.awk -f `dirname $0`/so.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - Property changes on: parametric_lht/so_lht ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: parametric_lht/acy =================================================================== --- parametric_lht/acy (nonexistent) +++ parametric_lht/acy (revision 27204) @@ -0,0 +1,56 @@ +#!/bin/sh + +#@@example acy(300) + +#@@purpose Generate axial lead through-hole component + +#@@desc Generate axial lead through-hole component with 2 pins (typical use: resistor) +#@@params spacing,type,pol,dia + +#@@param:spacing spacing between the two pins +#@@dim:spacing + +#@@param:type silk symbol type +#@@enum:type:block eu-style block resistor symbol +#@@enum:type:endcap block resistor with caps on the ends +#@@enum:type:zigzag us-style zigzag resistor symbol +#@@enum:type:line a single line (e.g. for jumper wires) +#@@enum:type:standing vertically aligned, body standing on pin 1, pin 2 bent back +#@@enum:type:coil wavy coil symbol +#@@enum:type:core wavy coil symbol with a parallel line +#@@enum:type:core2 wavy coil symbol with two parallel lines +#@@optional:type +#@@default:type block +#@@preview_args:type 300 + +#@@param:pol how to mark polarity +#@@enum:pol:none no marking +#@@enum:pol:sign + and - signs; pin 1 is + +#@@enum:pol:bar bar next to pin 1 +#@@enum:pol:dot dot next to pin 1 +#@@optional:pol +#@@default:pol none +#@@preview_args:pol 300 + +#@@param:dia body diameter - affects silk size +#@@dim:dia +#@@optional:dia +#@@default:dia spacing/6 + + +#@@param:wiper silk symbol wiper type +#@@enum:wiper:none no wiper +#@@enum:wiper:parrow perpendicular arrow, pointing inwards +#@@enum:wiper:aarrow angled arrow, pointing outwards +#@@enum:wiper:looparrow arrow starting at pin 2 looping back to point inwards on the body +#@@enum:wiper:thermistor wiper of a thermistor symbol +#@@optional:wiper +#@@default:wiper none +#@@preview_args:wiper 400 + +#@@thumbsize 2 + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/acy.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/acy ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/alf =================================================================== --- parametric_lht/alf (nonexistent) +++ parametric_lht/alf (revision 27204) @@ -0,0 +1,37 @@ +#!/bin/sh + +#@@example alf(300, schottky) + +#@@purpose Generate ALF: axial lead through-hole component for diodes + +#@@desc Generate axial lead through-hole component with 2 pin diodes +#@@params spacing,type,dia +#@@thumbsize 2 + +#@@param:spacing spacing between the two pins +#@@dim:spacing + +#@@param:type symbol type +#@@enum:type:normal +#@@enum:type:schottky +#@@enum:type:zener +#@@enum:type:tunnel +#@@enum:type:varactor +#@@optional:type +#@@default:type normal +#@@preview_args:type 300 + +#@@param:dia body diameter - affects silk symbol size +#@@dim:dia +#@@optional:dia +#@@default:dia spacing/12 + +#@@param:aspect silk symbol aspect: total width expressed as a portion of spacing +#@@optional:aspect +#@@default:aspect spacing/6 + + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/alf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/alf ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/bga =================================================================== --- parametric_lht/bga (nonexistent) +++ parametric_lht/bga (revision 27204) @@ -0,0 +1,74 @@ +#!/bin/sh + +# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP + +#@@example bga(map=a1:a2:a3:#:b1:!:b3:#:c1:c2:!) + +#@@purpose Generate ball grid array + +#@@desc Generate a grid of circular pads for BGA chips + +#@@params nx,ny,spacing,balldia,silkmark,map,width,height,automap,automap2 + +#@@param:nx number of pins in the X direction +#@@optional:nx +#@@default:nx deduced from the map + +#@@param:ny number of pins in the Y direction +#@@optional:ny +#@@default:ny deduced from the map + +#@@param:spacing spacing between the pins +#@@dim:spacing +#@@default:spacing 0.5 mm + +#@@param:balldia diameter of a ball +#@@dim:balldia +#@@default:spacing 0.35 mm + +#@@include silkmark.help +#@@optional:silkmark +#@@default:silkmark square +#@@preview_args:silkmark 3,3 + +#@@param:map pin name map; a colon separated list of names, from left to right, rows first. If a name is empty or is a hash mark, a new row is started. If a name is a !, the given pin is missing and no pad is generated. +#@@optional:map + +#@@param:width width of the box (silk rectangle x size) +#@@dim:width +#@@optional:width +#@@default:width two columns wider than the array + +#@@param:height height of the box (silk rectangle y size) +#@@dim:height +#@@optional:height +#@@default:height two columns higher than the array + + +#@@param:automap assume a regular nx*ny array, automap (autonumber) the pins +#@@optional:automap +#@@enum:automap:none do not autonumber pins +#@@enum:automap:alnum number y rows from A..Z (then AA..AZ) from top to bottom, number x rows from 0..nx left to right +#@@default:none +#@@preview_args:automap 3,3 +#@@thumbsize:automap 3 +#@@thumbnum:automap 1 + +#@@param:automap2 change how automap behaves - multiple values separated by colon are accepted (e.g. automap2=pivot,reversex) +#@@enum:automap2:pivot swap x and y +#@@enum:automap2:reversex number x from right to left +#@@enum:automap2:reversey number y from bottom up +#@@preview_args:automap2 3,3,automap=alnum +#@@thumbsize:automap2 3 +#@@thumbnum:automap2 1 + +#@@param:alphabet the alphabet automap may use for rows; use A..Z if unspecified, else use the letters in this alphabet (in order). List letters without separator, e.g. ABCDEF +#@@preview_args:automap2 3,3,automap=alnum,alphabet=QDT +#@@thumbsize:automap2 3 +#@@thumbnum:automap2 1 + + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/bga.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/bga ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/connector =================================================================== --- parametric_lht/connector (nonexistent) +++ parametric_lht/connector (revision 27204) @@ -0,0 +1,53 @@ +#!/bin/sh + +#@@example connector(2, 3, silkmark=external, spacing=100) + +#@@purpose Generate pin-array connectors (e.g. headers). + +#@@desc Generate thru-hole connectors that consits of an array of +#@@desc evenly spaced pins, a plain frame and some optional pin marks +#@@desc on the silk layer. + +#@@params nx, ny, spacing, silkmark, eshift, etrunc + +#@@param:nx number of pins in the X direction +#@@param:ny number of pins in the Y direction +#@@param:spacing spacing between the pins +#@@dim:spacing +#@@default:spacing 100 mil + +#@@include silkmark.help +#@@optional:silkmark +#@@default:silkmark square +#@@preview_args:silkmark 2,3 + +#@@param:eshift shift even rows or columns by half spacing (optional; default: don't shift) +#@@enum:eshift:x shift columns +#@@enum:eshift:y shift rows +#@@enum:eshift:none do not shift anything +#@@default:eshift none +#@@optional:eshift +#@@preview_args:eshift 2,3 + +#@@param:etrunc truncate the last pin of a shifted row or column +#@@bool:etrunc +#@@default:etrunc false +#@@optional:etrunc +#@@preview_args:etrunc 2,3,eshift=x + +#@@param:sequence pin numbering sequence +#@@enum:sequence:normal increase by y first, then by x +#@@enum:sequence:pivot increase by x first, then by y +#@@enum:sequence:zigzag "dip-style" numbering in zig-zag: number odd x rows by y ascending, even x rows by y descending +#@@preview_args:sequence 2,4 +#@@thumbsize:sequence 3 +#@@thumbnum:sequence 1 +#@@default:sequence normal +#@@optional:sequence + + + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/connector.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/connector ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/dip =================================================================== --- parametric_lht/dip (nonexistent) +++ parametric_lht/dip (revision 27204) @@ -0,0 +1,21 @@ +#!/bin/sh + +#@@example dip(18) + +#@@purpose Generate classic DIP packages. + +#@@desc Generate thru-hole DIP packages with variable number of pins and +#@@desc row spacing +#@@params n, spacing + +#@@param:n number of pins + +#@@param:spacing spacing between the two rows of pins +#@@dim:spacing +#@@optional:spacing +#@@default:spacing 100 mil + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/dip.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/dip ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/msop =================================================================== --- parametric_lht/msop (nonexistent) +++ parametric_lht/msop (revision 27204) @@ -0,0 +1,34 @@ +#!/bin/sh + +# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), MSOP + +#@@example msop(8) + +#@@purpose Generate MSOP packages. + +#@@desc Generate MSOP packages with variable number of pins and +#@@desc row spacing + +#@@include so +#@@include common_subc.awk + +#@@over@default:pad_spacing 0.65 mm +#@@over@default:row_spacing 4.9 mm +#@@over@default:int_bloat 0.6 mm +#@@over@default:ext_bloat 0.6 mm +#@@over@default:pad_thickness 0.45 mm + + +defaults=' +?pad_spacing=0.65mm, +?row_spacing=4.9mm, +?int_bloat=0.6mm, +?ext_bloat=0.4mm, +?rarc=25, +?silk_ext_x=18, +?silk_ext_y=22, +?pad_thickness=0.45mm +' + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/so.awk -v "args=$defaults,$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/msop ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/plcc =================================================================== --- parametric_lht/plcc (nonexistent) +++ parametric_lht/plcc (revision 27204) @@ -0,0 +1,29 @@ +#!/bin/sh + +# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP + +#@@example plcc(20) + +#@@purpose Generate PLCC packages +#@@desc Generate square PLCC packages - a simplified frontend to qf() - +#@@desc only the number of pins is really needed for a square PLCC footprint! +#@@desc NOTE: some of the qf() parameters can be also used; PLCC32 is non-square, and can not be properly generated using this generator. + +#@@params pins,size,pitch,cpad_size + +#@@param:pins total number of pins (leads); must be divisible by 4 + +#@@param:size a single integer N or NxN or NxNxH; outmost dimensions (width or height of the package, leads included) in mil +#@@optional:size +#@@default:size calculated from total number of pins and pitch + +#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mil; must be 50 for now +#@@optional:pitch +#@@default:pitch 50mil + +#@@param:cpad_size width (and height) of the central pad, in mil +#@@optional:cpad_size +#@@default:cpad_size empty, there's no central pad + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/plcc.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/plcc ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/qfn =================================================================== --- parametric_lht/qfn (nonexistent) +++ parametric_lht/qfn (revision 27204) @@ -0,0 +1,24 @@ +#!/bin/sh + +# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP + +#@@example qfn(16,3x3,0.5) + +#@@purpose Generate QFN packages +#@@desc Generate QFN packages - a simplified frontend to qf() - +#@@desc look up 3..4 data in the datasheet and get a regular QFN footprint! +#@@desc Should work for QFN, TQFN, etc. +#@@desc NOTE: some of the qf() parameters can be also used. + +#@@params pins,size,pitch,cpad_size + +#@@param:pins total number of pins (leads); must be divisible by 4 +#@@param:size a single integer N or NxN or NxNxH; the pad spacing dimension (outer dimension, lead-to-lead) in mm +#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mm; must be one of 0.4, 0.5, 0.65 + +#@@param:cpad_size width (and height) of the central pad, in mm +#@@optional:cpad_size +#@@default:cpad_size empty, there's no central pad + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/qfn.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/qfn ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/qfp =================================================================== --- parametric_lht/qfp (nonexistent) +++ parametric_lht/qfp (revision 27204) @@ -0,0 +1,24 @@ +#!/bin/sh + +# Reference: Microchip Packaging Specification DS00000049BX (en012702.pdf), SSOP + +#@@example qfp(32,7x7,0.8) + +#@@purpose Generate QFP packages +#@@desc Generate QFP packages - a simplified frontend to qf() - +#@@desc look up 3..4 data in the datasheet and get a regular QFP footprint! +#@@desc NOTE: some of the qf() parameters can be also used. +#@@desc Should work for QFP, TQFP, LQFP, etc. + +#@@params pins,size,pitch,cpad_size + +#@@param:pins total number of pins (leads); must be divisible by 4 +#@@param:size a single integer N or NxN or NxNxH; body dimension (width or height of the plastic body) in mm +#@@param:pitch lead pitch (distance between the centerline of two adjacent leads), in mm; must be one of 0.4, 0.5, 0.65 + +#@@param:cpad_size width (and height) of the central pad, in mm +#@@optional:cpad_size +#@@default:cpad_size empty, there's no central pad + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/qfp.awk -f `dirname $0`/qf.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/qfp ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/rcy =================================================================== --- parametric_lht/rcy (nonexistent) +++ parametric_lht/rcy (revision 27204) @@ -0,0 +1,32 @@ +#!/bin/sh + +#@@example rcy(300,bar+) + +#@@purpose Generate radial lead through-hole component + +#@@desc Generate radial lead through-hole component with 2 pins (typical use: electrolytic caps) +#@@params spacing,pol,dia + +#@@param:spacing spacing between the two pins +#@@dim:spacing + +#@@param:pol how to mark polarity: (optional; default: sign) +#@@enum:pol:none no marking +#@@enum:pol:sign print + next to pin 1 and - next to pin 2 +#@@enum:pol:bar+ draw a bar inside the circle, around pin 2 +#@@enum:pol:bar- draw a bar inside the circle, around pin 1 +#@@enum:pol:bar same as bar+ +#@@enum:pol:bar+sign bar+ and sign combined +#@@enum:pol:bar-sign bar- and sign combined +#@@optional:pol +#@@default:pol sign +#@@preview_args:pol 300 + +#@@param:dia body diameter - affects the silk circle +#@@optional:dia +#@@default:dia spacing*2 + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/rcy.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/rcy ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/screw =================================================================== --- parametric_lht/screw (nonexistent) +++ parametric_lht/screw (revision 27204) @@ -0,0 +1,35 @@ +#!/bin/sh + +#@@example screw(3.2mm, 6mm, circle:hex) + +#@@purpose Generic screw. + +#@@desc Generate a "single pin" screw with optional head shapes +#@@params hole,head,shape,ring + +#@@param:hole hole diameter or name of a standard screw (e.g. M3) +#@@dim:hole + + +#@@param:head head outmost diameter (or optional head name for a standard screw: pan, button, cheese, flat-washer, internal-lock-washer) +#@@dim:head + +#@@param:ring copper ring outer diameter +#@@dim:ring +#@@optional:ring +#@@default:ring 80% of head diameter + + +#@@param:shape shape of the head drawn on silkmark; multiple values can be listed separated with colons, e.g. "shape=circle:hex" +#@@enum:shape:circle circle +#@@enum:shape:hex hexagon with straight line edges, size is from corner to corner +#@@enum:shape:tx "torx": hexagon with arced edges +#@@enum:shape:xzn "triple square" +#@@enum:shape:ph philips slot (cross) - useful together with circle +#@@enum:shape:slot a single straight line slot - useful together with circle +#@@default:shape circle +#@@preview_args:shape 3mm,6mm + +#@@include common_subc.awk + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/screw.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" -v "genfull=$0" Property changes on: parametric_lht/screw ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: parametric_lht/so =================================================================== --- parametric_lht/so (nonexistent) +++ parametric_lht/so (revision 27204) @@ -0,0 +1,40 @@ +#!/bin/sh + +#@@example so(14) + +#@@purpose Generate SO and SO-like packages. + +#@@desc Generate SO packages with variable number of pins and +#@@desc row spacing +#@@params n, row_spacing, pad_spacing + +#@@param:n number of pins + +#@@param:row_spacing spacing between the two rows of pads: distance between the end of the first and last pins +#@@dim:row_spacing +#@@optional:row_spacing +#@@default:row_spacing 250 mil + + +#@@param:pad_spacing spacing between the centerline of two pads +#@@dim:pad_spacing +#@@optional:pad_spacing +#@@default:pad_spacing 50 mil + + +#@@param:ext_bloat how much longer the pad should extend outwards from the end-point of the pin +#@@dim:ext_bloat +#@@optional:ext_bloat +#@@default:ext_bloat 10 mil + +#@@param:int_bloat how much longer the pad should extend inwards from the end-point of the pin +#@@dim:int_bloat +#@@optional:int_bloat +#@@default:int_bloat 55 mil + +#@@include common_subc.awk + +#@@over@ignore::pin_ + +awk -f `dirname $0`/common_subc.awk -f `dirname $0`/so.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" + Property changes on: parametric_lht/so ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property