Plotting focal mechanism 'beachballs' in QGIS

Cross-posted from the GEM Hazard Blog
One of the major annoyances of working in earthquake and tectonic sciences is the difficulty of browsing earthquake focal mechanism 'beachball' data, and plotting it in GIS. The typical way of displaying this data spatially is to use a script in Matlab (probably using …