by Igor2
The next group of footprints I decided to generate are qfn(), tqfp(), lqfp(). The generic set of rules for these footprints is:
On the other hand, in practice we need qfn() and tqfp(), which are special cases of qf(). To nail the common use cases, qfn() and tqfp() narrows down the number of parameters to 3..4. Even better, these parameters are exactly those that are in the name of a typical QFN or TQFP footprint or in the first few lines of the dimensions table. I call these scripts frontends to qf().
This makes the common footprints very easy to produce using frontends while leaves a (bit more complicated) plan B, qf(), for special cases.