You mean they actually made a _tool_ for that? I
Oh yes. And for many other non-circular components (IEC mains connectors,
rocker switches, etc). The only problems are (a) the price and (b) they
don't work on thick metal panels (or most plastics).
always used a 1/4" drill bit and one of those
Radio
Shack nibbler tools. <grin>
Given 'normal' tools, I found the easiest way was to use a drill bit the
same diameter as the width of the D-connector (it's not that large).
Drile a line of holes along the centre line of the connector position,
then cut between them and file to shape.
I've been known to use a 118" slot drill in a milling machine [1] to cut
rectangular holes in diecast boxes... Takes time, but it makes a lovely
job of it.
[1] Actually a small lathe with a vertical slide.
-tony