GenCAD exporter: export options made static
This commit is contained in:
parent
b53b7e3bc4
commit
13fc4c3c99
|
@ -218,6 +218,10 @@ static std::string fmt_mask( LSET aSet )
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Export options
|
||||||
|
static bool flipBottomPads;
|
||||||
|
static bool uniquePins;
|
||||||
|
static bool individualShapes;
|
||||||
|
|
||||||
// These are the export origin (the auxiliary axis)
|
// These are the export origin (the auxiliary axis)
|
||||||
static int GencadOffsetX, GencadOffsetY;
|
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
|
// GerbTool chokes on units different than INCH so this is the conversion factor
|
||||||
const static double SCALE_FACTOR = 1000.0 * IU_PER_MILS;
|
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
|
/* Two helper functions to calculate coordinates of modules in gencad values
|
||||||
* (GenCAD Y axis from bottom to top)
|
* (GenCAD Y axis from bottom to top)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue