@er1n not directly related, but you might find https://github.com/psas/antennas amusing
The first version was an Excel spreadsheet where once you entered the design parameters, one cell computed a series of commands that, when copied and pasted into Eagle, would construct the patch antenna layout.
Real antenna engineers quoted us $10k per antenna to design those, and we needed 3 of them. So we spent a year figuring out the math instead. Now it's a Python script and $100.