ThisIsNotRocketScience / GerberTools

Tools to load/edit/create/panelizer sets of gerber files
MIT License
725 stars 144 forks source link

Feature request - flipping the board (top=>bottom, bottom=>top) #70

Open CRImier opened 5 years ago

CRImier commented 5 years ago

Sometimes, a board with weird shape just won't fit inside another board, but it would if it were flipped. I imagine it would be simple to implement, given that you already have a .RotateFlip method in code. If I infer its purpose correctly, it should be easy to apply .Rotate and RotateFlip conditionally based on a checkbox state.

StijnKuipers commented 5 years ago

The RotateFlip you see is for the standard .NET Bitmap class...

Flipping a gerber is a bit more involved (to remain compatible with the largest set of readers, macros would need to be flipped as well as polygons reversed...)

CRImier commented 5 years ago

Oh no. Well, there go my hopes ;-P Thank you for the clarification!

StijnKuipers commented 5 years ago

If they are your gerbers, you can always flip it in the tool that generated them ofcourse :-)