GenCAD exporter: export options made static

This commit is contained in:
Maciej Suminski 2017-10-19 11:41:40 +02:00
parent b53b7e3bc4
commit 13fc4c3c99
1 changed files with 4 additions and 5 deletions

View File

@ -218,6 +218,10 @@ static std::string fmt_mask( LSET aSet )
#endif
}
// Export options
static bool flipBottomPads;
static bool uniquePins;
static bool individualShapes;
// These are the export origin (the auxiliary axis)
static int GencadOffsetX, GencadOffsetY;
@ -228,11 +232,6 @@ static std::map<MODULE*, wxString> m_componentShapes;
// GerbTool chokes on units different than INCH so this is the conversion factor
const static double SCALE_FACTOR = 1000.0 * IU_PER_MILS;
// Export options
bool flipBottomPads;
bool uniquePins;
bool individualShapes;
/* Two helper functions to calculate coordinates of modules in gencad values
* (GenCAD Y axis from bottom to top)
*/