49 m_useDrillPlaceFileOrigin(
true ),
51 m_excludeFootprintsWithTh(
false ),
52 m_excludeDNP(
false ),
53 m_excludeBOM(
false ),
54 m_negateBottomX(
false ),
55 m_singleFile(
false ),
56 m_nakedFilename(
false ),
59 m_format( FORMAT::ASCII ),
60 m_gerberBoardEdge(
true )
62 m_params.emplace_back(
new JOB_PARAM<bool>(
"use_drill_place_file_origin",
63 &m_useDrillPlaceFileOrigin,
64 m_useDrillPlaceFileOrigin ) );
70 m_params.emplace_back(
new JOB_PARAM<bool>(
"exclude_footprints_with_th",
71 &m_excludeFootprintsWithTh,
72 m_excludeFootprintsWithTh ) );
92 m_gerberBoardEdge ) );
94 m_params.emplace_back(
new JOB_PARAM<SIDE>(
"side", &m_side, m_side ) );
102 return _(
"Export position data" );
108 return _(
"Export Position Data Job Settings" );
114 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.