A good tool for drawing such artwork is
Inkscape, which is free and available for all OSes.
For example,
PDIP-14 0.4" wide; 1.6mm pins at 0.1" spacing 0.4" wide, 0.7mm traces, 7.62mm×5.08mm pads:
It is not "just" the artwork, it also contains a useful Inkscape template for working in millimeters but with a 0.1" = 2.54mm grid. The pins and pads are all clones, so changing the top left one changes all of them. Similarly, the top left four traces are cloned for the other three quadrants, symmetrically. In the
File >
Document Properties window,
Metadata tab shows you its title and author (me), and
License tab shows it is dedicated to public domain via CC0-1.0 license. As it is SVG format, it is vector graphics; and if you open it in a text editor, or in a browser and
View Source, you'll see everything it contains because SVG files are plain text (an XML format, this one using
SVG 1.1 specification).
SVG is simple enough to generate from your own script. For example, you could just generate the pins and pads, and then use Inkscape and the Pen tool (below the spiral) to draw nice old-timey curvy traces.