I don't know if there is anything that does exactly what you want, off the shelf, but you could use autolisp or something similar with an Intellicad based cad program.
I use Ashlar Graphite and it has a built in scripting language that I could set up to do this.
On the low dollar end of things, you could even use Qcad Professional (around $30) to do this, because it has it's own scripting language that you could use to generate the shapes.
There are a number of open source packages that could be hammered in place to do this for you too. FreeCad has built in scripting (and you can make nice menus for it too).
If you don't run across any commercial applications that do what you need, let me know and I could direct you a bit on rolling your own.