39 JOB(
"ipc2581",
false ),
42 m_units( IPC2581_UNITS::MILLIMETERS ),
43 m_version( IPC2581_VERSION::C ),
52 m_params.emplace_back(
new JOB_PARAM<wxString>(
"drawing_sheet", &m_drawingSheet, m_drawingSheet ) );
55 m_params.emplace_back(
new JOB_PARAM<int>(
"precision", &m_precision, m_precision ) );
56 m_params.emplace_back(
new JOB_PARAM<bool>(
"compress", &m_compress, m_compress ) );
61 &m_colMfgPn, m_colMfgPn ) );
62 m_params.emplace_back(
new JOB_PARAM<wxString>(
"field_bom_map.mfg", &m_colMfg, m_colMfg ) );
66 m_params.emplace_back(
new JOB_PARAM<wxString>(
"field_bom_map.dist", &m_colDist, m_colDist ) );
72 return wxString::Format(
_(
"IPC2581 export" ) );
78 wxFileName fn = aReferenceName;
wxString GetDescription() override
void SetDefaultOutputPath(const wxString &aReferenceName)
An simple container class that lets us dispatch output jobs to kifaces.
void SetOutputPath(const wxString &aPath)
static const std::string Ipc2581FileExtension
Some functions to handle hotkeys in KiCad.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS, { { JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS::INCHES, "in" }, { JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS::MILLIMETERS, "mm" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_IPC2581
#define REGISTER_JOB(job_name, title, face, T)
Definition of file extensions used in Kicad.