49 m_useDrillPlaceFileOrigin(
true ),
51 m_excludeFootprintsWithTh(
false ),
52 m_excludeDNP(
false ),
53 m_negateBottomX(
false ),
54 m_singleFile(
false ),
55 m_nakedFilename(
false ),
57 m_units( UNITS::MILLIMETERS ),
58 m_format( FORMAT::ASCII ),
59 m_gerberBoardEdge(
true )
61 m_params.emplace_back(
new JOB_PARAM<bool>(
"use_drill_place_file_origin",
62 &m_useDrillPlaceFileOrigin,
63 m_useDrillPlaceFileOrigin ) );
69 m_params.emplace_back(
new JOB_PARAM<bool>(
"exclude_footprints_with_th",
70 &m_excludeFootprintsWithTh,
71 m_excludeFootprintsWithTh ) );
87 m_gerberBoardEdge ) );
89 m_params.emplace_back(
new JOB_PARAM<SIDE>(
"side", &m_side, m_side ) );
97 return _(
"Export position data" );
103 return _(
"Export Position Data Job Settings" );
109 wxFileName fn = aReferenceName;
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
void SetDefaultOutputPath(const wxString &aReferenceName)
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.
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.