43 m_units( ODB_UNITS::MILLIMETERS ),
45 m_compressionMode( ODB_COMPRESSION::ZIP )
47 m_params.emplace_back(
new JOB_PARAM<wxString>(
"drawing_sheet", &m_drawingSheet, m_drawingSheet ) );
49 m_params.emplace_back(
new JOB_PARAM<int>(
"precision", &m_precision, m_precision ) );
51 m_compressionMode ) );
57 return _(
"Export ODB++" );
63 return _(
"Export ODB++ Job Settings" );
69 wxFileName fn = aReferenceName;
void SetDefaultOutputPath(const wxString &aReferenceName)
wxString GetSettingsDialogTitle() const override
wxString GetDefaultDescription() const override
An simple container class that lets us dispatch output jobs to kifaces.
void SetConfiguredOutputPath(const wxString &aPath)
Sets the configured output path for the job, this path is always saved to file.
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.