42 m_units( ODB_UNITS::MILLIMETERS ),
44 m_compressionMode( ODB_COMPRESSION::ZIP )
46 m_params.emplace_back(
new JOB_PARAM<wxString>(
"drawing_sheet", &m_drawingSheet, m_drawingSheet ) );
48 m_params.emplace_back(
new JOB_PARAM<int>(
"precision", &m_precision, m_precision ) );
50 m_compressionMode ) );
56 return wxString::Format(
_(
"ODB++ export" ) );
62 wxFileName fn = aReferenceName;
void SetDefaultOutputPath(const wxString &aReferenceName)
wxString GetDescription() override
An simple container class that lets us dispatch output jobs to kifaces.
void SetOutputPath(const wxString &aPath)
Some functions to handle hotkeys in KiCad.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_ODB::ODB_UNITS, { { JOB_EXPORT_PCB_ODB::ODB_UNITS::INCHES, "in" }, { JOB_EXPORT_PCB_ODB::ODB_UNITS::MILLIMETERS, "mm" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_ODB
#define REGISTER_JOB(job_name, title, face, T)
Definition of file extensions used in Kicad.