Commit 2b7626a2 authored by jean-pierre charras's avatar jean-pierre charras

Fixed bug 658716 (Pads too large in gerber for rotated SMT module)

parent 2ddcbe1a
...@@ -458,14 +458,14 @@ void GERBER_PLOTTER::flash_pad_rect( wxPoint pos, wxSize size, ...@@ -458,14 +458,14 @@ void GERBER_PLOTTER::flash_pad_rect( wxPoint pos, wxSize size,
// coord[3] is assumed the lower right // coord[3] is assumed the lower right
/* Trace the outline. */ /* Trace the outline. */
coord[0].x = -size.x; // lower left coord[0].x = -size.x/2; // lower left
coord[0].y = size.y; coord[0].y = size.y/2;
coord[1].x = -size.x; // upper left coord[1].x = -size.x/2; // upper left
coord[1].y = -size.y; coord[1].y = -size.y/2;
coord[2].x = size.x; // upper right coord[2].x = size.x/2; // upper right
coord[2].y = -size.y; coord[2].y = -size.y/2;
coord[3].x = size.x; //lower right coord[3].x = size.x/2; //lower right
coord[3].y = size.y; coord[3].y = size.y/2;
flash_pad_trapez( pos, coord, orient, trace_mode ); flash_pad_trapez( pos, coord, orient, trace_mode );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment