
GENSMTPACK
----------

This program will generate an Eagle Script file that can
in turn be run within Eagle to generate a package design
for a two-sided, surface mount part. Pin options are gullwing,
jlead and concave (dimpled parts like panasonic resistor networks)

Run this program and redirect the output to a file called
"partname.scr" in a directory in Eagle's script file
search path. Then, within eagle, open a library, create a 
new, empty package, and then run the script partname.scr.

Most of the command-line arguments for this program should be
simple transcriptions from dimensions cited either in the part
data sheet or on the land pattern.

Released to Public Domain, March 2000
Bob Drzyzgula, Federal Reserve Board, bob@frb.gov

NO WARRANTY: The user of this program should not assume that it
does anything even remotely resembling what it appears to do.
IF YOU GENERATE A PART WITH THIS PROGRAM, CHECK IT OVER CAREFULLY!
IF YOUR BOARD IS RUNIED BY USING THE OUTPUT OF THIS PROGRAM, IT IS
NOT MY FAULT.

NB: IN PARTICULAR, PLEASE DOUBLE-CHECK THAT NO MARKINGS ON LAYERS
THAT WILL CARRY FORWARD TO THE SILKSCREEN (E.G. tPlace) WILL OBSCURE
ANY SMDS. THE POSITIONING OF TEXT IS AUTOMATICALLY CALCULATED AND
I AM NOT SURE THAT SUCH AN ERROR CANNOT OCCUR.

Usage:
   gensmtpack [options] >partname.scr 
   
Informational options:
   --help print this message
   
Pin-specific options:
   --pincount=<integer> Number of pins on part (default 24) 
   --pindent=<float> mm diameter of concave dent in pins (default 0.0)
   --pinlength=<float> mm length of physical pins (default 1.0)
   --pinsetback=<float> mm how far back from the edge of the package (default 0.0)
   --pintype=<string> [gullwing|concave|jlead] (default gullwing) 
   --pinwidth=<float> mm width of physical pins (default 0.25)
   --jwidth=<float> mm width of lower contact portion of J-lead pins (default 0.0)
   --pitch=<float> mm center-to-center distance between pins (default 0.65)
   
Package Dimensioning options:
   --endoffset=<float> mm from end of package body to center of first pin
       (default 0.35)
   --keepout=<float> mm margain around part for tKeepOut layer (default 0.3)
   --bodywidth=<float> mm width (from pin side to pin side) of package body (default 4.4)
   
SMD options:
   --smddx=<float>  mm x width of SMDs (default 0.4)
   --smddy=<float>  mm y height of SMDs (default 1.1)
   --smdsep=<float> mm distance between the SMDs on one side of package to
       SMDs on other side of package. Probably a tiny bit more than --bodywidth (default 4.6)
   
Documentation & scaling options:
   --gridfinal=<float> mm grid spacing upon return (default 0.005 mm)
   --gridfinalmult=<int> grid spacing multiple for drawing gridlines (default 50)
   --gridworking=<float> mm grid spacing to use while parts are being deposited (default 0.005)
   --des1=<string>, --des2=<string>, --des3=<string>
       three lines of description will be put on layer 250
       (default "" [null string]). Use them in order starting from des1 -- e.g. if des2 is 
       specified but des1 is not, des2 will not be recognized
   
By default, the script should generate a poorly-labeled TSSOP 24,
because that's what I needed when I wrote the script.
   
I mean, the TSSOP 24, not the poorly-labled part :-)
   
Please report errors, bugs, comments, etc to bob@frb.gov
See the script file text for more information on the workings of this program
