49 m_useDrillPlaceFileOrigin(
true ),
51 m_excludeFootprintsWithTh(
false ),
52 m_excludeDNP(
false ),
53 m_negateBottomX(
false ),
55 m_units( UNITS::MILLIMETERS ),
56 m_format( FORMAT::ASCII ),
57 m_gerberBoardEdge(
true )
59 m_params.emplace_back(
new JOB_PARAM<bool>(
"use_drill_place_file_origin",
60 &m_useDrillPlaceFileOrigin,
61 m_useDrillPlaceFileOrigin ) );
67 m_params.emplace_back(
new JOB_PARAM<bool>(
"exclude_footprints_with_th",
68 &m_excludeFootprintsWithTh,
69 m_excludeFootprintsWithTh ) );
81 m_gerberBoardEdge ) );
83 m_params.emplace_back(
new JOB_PARAM<SIDE>(
"side", &m_side, m_side ) );
91 return wxString::Format(
_(
"Placement data export" ) );
97 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 GerberFileExtension
static const std::string FootprintPlaceFileExtension
static const std::string CsvFileExtension
Some functions to handle hotkeys in KiCad.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_POS::FORMAT, { { JOB_EXPORT_PCB_POS::FORMAT::ASCII, "ascii" }, { JOB_EXPORT_PCB_POS::FORMAT::CSV, "csv" }, { JOB_EXPORT_PCB_POS::FORMAT::GERBER, "gerber" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_PCB_POS
#define REGISTER_JOB(job_name, title, face, T)
Definition of file extensions used in Kicad.