I need to rotate Gerber and Excellon files before processing them for G-Code for a tiny CNC. Problem I have is that it's an existing Gerber + Excellon drill file with no source. And I have a tiny CNC (10×15cm) so I need to rotate them by 90°.
gerbv
does have this feature, but as of 2.6.0 – which is the only one I could get hold of via homebrew – the drill files aren't rotated upon export. It might be fixed in later versions but I'm not sure.
I'm currently delving into either:
- building gerbv from latest sources which unfortunately seems hard on my machine
- using a later version from a virtualbox
- start to script the rotation of the file myself
How would I accomplish that in the easiest way possible?