KiCad PCB EDA Suite
|
#include <job_export_pcb_pos.h>
Public Types | |
enum class | SIDE { FRONT , BACK , BOTH } |
enum class | UNITS { INCHES , MILLIMETERS } |
enum class | FORMAT { ASCII , CSV , GERBER } |
Public Member Functions | |
JOB_EXPORT_PCB_POS () | |
wxString | GetDescription () override |
void | SetDefaultOutputPath (const wxString &aReferenceName) |
const std::string & | GetType () const |
const std::map< wxString, wxString > & | GetVarOverrides () const |
void | SetVarOverrides (const std::map< wxString, wxString > &aVarOverrides) |
virtual void | FromJson (const nlohmann::json &j) |
virtual void | ToJson (nlohmann::json &j) const |
const std::vector< JOB_PARAM_BASE * > & | GetParams () |
void | ClearExistingOutputs () |
const std::vector< JOB_OUTPUT > & | GetOutputs () |
void | AddOutput (wxString aOutputPath) |
void | SetTempOutputDirectory (const wxString &aBase) |
void | SetOutputPath (const wxString &aPath) |
wxString | GetOutputPath () const |
wxString | GetFullOutputPath () const |
bool | OutputPathFullSpecified () const |
Public Attributes | |
wxString | m_filename |
bool | m_useDrillPlaceFileOrigin |
bool | m_smdOnly |
bool | m_excludeFootprintsWithTh |
bool | m_excludeDNP |
bool | m_negateBottomX |
SIDE | m_side |
UNITS | m_units |
FORMAT | m_format |
bool | m_gerberBoardEdge |
Protected Attributes | |
std::string | m_type |
std::map< wxString, wxString > | m_varOverrides |
wxString | m_tempOutputDirectory |
wxString | m_outputPath |
bool | m_outputPathIsDirectory |
std::vector< JOB_PARAM_BASE * > | m_params |
std::vector< JOB_OUTPUT > | m_outputs |
Definition at line 29 of file job_export_pcb_pos.h.
|
strong |
Enumerator | |
---|---|
ASCII | |
CSV | |
GERBER |
Definition at line 63 of file job_export_pcb_pos.h.
|
strong |
Enumerator | |
---|---|
FRONT | |
BACK | |
BOTH |
Definition at line 45 of file job_export_pcb_pos.h.
|
strong |
Enumerator | |
---|---|
INCHES | |
MILLIMETERS |
Definition at line 54 of file job_export_pcb_pos.h.
JOB_EXPORT_PCB_POS::JOB_EXPORT_PCB_POS | ( | ) |
|
inlineinherited |
Definition at line 111 of file job.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().
|
inlineinherited |
Definition at line 103 of file job.h.
Referenced by JOB_DISPATCHER::RunJob().
|
virtualinherited |
|
overridevirtual |
|
inherited |
Definition at line 87 of file job.cpp.
References JOB::m_outputPath, JOB::m_outputPathIsDirectory, JOB::m_tempOutputDirectory, and PrependDirectoryToPath().
Referenced by PCBNEW_JOBS_HANDLER::JobExportDrill(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGencad(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobExportIpc2581(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportPos(), PCBNEW_JOBS_HANDLER::JobExportStep(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and JOBS_RUNNER::runSpecialExecute().
|
inlineinherited |
Definition at line 119 of file job.h.
Referenced by DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::GenerateODBPPFiles(), DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), DIALOG_GENDRILL::InitDisplayParams(), DIALOG_PLOT_SCHEMATIC::initDlg(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGencad(), PCBNEW_JOBS_HANDLER::JobExportGerber(), EESCHEMA_JOBS_HANDLER::JobExportNetlist(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportPos(), EESCHEMA_JOBS_HANDLER::JobExportPythonBom(), and PCBNEW_JOBS_HANDLER::JobExportStep().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 85 of file job.h.
Referenced by JOB_DISPATCHER::HandleJobConfig(), and JOB_DISPATCHER::RunJob().
|
inlineinherited |
Definition at line 87 of file job.h.
Referenced by PCBNEW_JOBS_HANDLER::doFpExportSvg(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportDrc(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobExportPdf(), EESCHEMA_JOBS_HANDLER::JobExportPlot(), PCBNEW_JOBS_HANDLER::JobExportRender(), PCBNEW_JOBS_HANDLER::JobExportStep(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and EESCHEMA_JOBS_HANDLER::JobSchErc().
|
inherited |
Definition at line 135 of file job.cpp.
References JOB::m_outputPath, and JOB::m_outputPathIsDirectory.
Referenced by PCBNEW_JOBS_HANDLER::JobExportIpc2581(), and PCBNEW_JOBS_HANDLER::JobExportOdb().
void JOB_EXPORT_PCB_POS::SetDefaultOutputPath | ( | const wxString & | aReferenceName | ) |
Definition at line 95 of file job_export_pcb_pos.cpp.
References ASCII, CSV, FILEEXT::CsvFileExtension, FILEEXT::FootprintPlaceFileExtension, GERBER, FILEEXT::GerberFileExtension, m_format, and JOB::SetOutputPath().
|
inherited |
Definition at line 129 of file job.cpp.
References JOB::m_outputPath.
Referenced by PCB_EDIT_FRAME::GenODBPPFiles(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGencad(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportIpc2581(), EESCHEMA_JOBS_HANDLER::JobExportNetlist(), PCBNEW_JOBS_HANDLER::JobExportOdb(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportPos(), EESCHEMA_JOBS_HANDLER::JobExportPythonBom(), PCBNEW_JOBS_HANDLER::JobExportStep(), DIALOG_EXPORT_NETLIST::NetlistUpdateOpt(), DIALOG_EXPORT_STEP::onExportButton(), DIALOG_GENDRILL::OnGenDrillFile(), DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate(), CLI::PCB_EXPORT_GERBER_COMMAND::populateJob(), JOB_EXPORT_PCB_IPC2581::SetDefaultOutputPath(), JOB_EXPORT_PCB_ODB::SetDefaultOutputPath(), SetDefaultOutputPath(), DIALOG_SPECIAL_EXECUTE::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataFromWindow(), and DIALOG_EXPORT_ODBPP::TransferDataFromWindow().
|
inherited |
Definition at line 73 of file job.cpp.
References JOB::m_tempOutputDirectory.
|
inlineinherited |
Definition at line 89 of file job.h.
Referenced by CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
virtualinherited |
bool JOB_EXPORT_PCB_POS::m_excludeDNP |
Definition at line 42 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
bool JOB_EXPORT_PCB_POS::m_excludeFootprintsWithTh |
Definition at line 41 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
wxString JOB_EXPORT_PCB_POS::m_filename |
Definition at line 37 of file job_export_pcb_pos.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().
FORMAT JOB_EXPORT_PCB_POS::m_format |
Definition at line 70 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate(), and SetDefaultOutputPath().
bool JOB_EXPORT_PCB_POS::m_gerberBoardEdge |
Definition at line 72 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
bool JOB_EXPORT_PCB_POS::m_negateBottomX |
Definition at line 43 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
|
protectedinherited |
Definition at line 131 of file job.h.
Referenced by JOB::GetFullOutputPath(), JOB::JOB(), JOB::OutputPathFullSpecified(), and JOB::SetOutputPath().
|
protectedinherited |
Definition at line 132 of file job.h.
Referenced by JOB::GetFullOutputPath(), JOB::JOB(), and JOB::OutputPathFullSpecified().
|
protectedinherited |
|
protectedinherited |
Definition at line 134 of file job.h.
Referenced by JOB::FromJson(), JOB::JOB(), JOB_EXPORT_PCB_3D::JOB_EXPORT_PCB_3D(), JOB_EXPORT_PCB_GERBER::JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_GERBERS::JOB_EXPORT_PCB_GERBERS(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), JOB_EXPORT_SCH_BOM::JOB_EXPORT_SCH_BOM(), JOB_SPECIAL_EXECUTE::JOB_SPECIAL_EXECUTE(), JOB::ToJson(), and JOB::~JOB().
SIDE JOB_EXPORT_PCB_POS::m_side |
Definition at line 52 of file job_export_pcb_pos.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().
bool JOB_EXPORT_PCB_POS::m_smdOnly |
Definition at line 40 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
|
protectedinherited |
Definition at line 129 of file job.h.
Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().
UNITS JOB_EXPORT_PCB_POS::m_units |
Definition at line 60 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
bool JOB_EXPORT_PCB_POS::m_useDrillPlaceFileOrigin |
Definition at line 39 of file job_export_pcb_pos.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), PCBNEW_JOBS_HANDLER::JobExportPos(), and DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate().
|
protectedinherited |