KiCad PCB EDA Suite
|
#include <job_export_pcb_gerber.h>
Public Types | |
enum class | PLOT_FORMAT { HPGL , GERBER , POST , DXF , PDF , SVG } |
Public Member Functions | |
JOB_EXPORT_PCB_GERBER (const std::string &aType, bool aIsCli) | |
JOB_EXPORT_PCB_GERBER (bool aIsCli) | |
wxString | GetDescription () override |
const std::string & | GetType () const |
bool | IsCli () 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 | |
bool | m_subtractSolderMaskFromSilk |
bool | m_includeNetlistAttributes |
bool | m_useX2Format |
bool | m_disableApertureMacros |
bool | m_useAuxOrigin |
bool | m_useProtelFileExtension |
int | m_precision |
PLOT_FORMAT | m_plotFormat |
wxString | m_filename |
wxString | m_colorTheme |
wxString | m_drawingSheet |
bool | m_mirror |
Common Options. | |
bool | m_blackAndWhite |
bool | m_negative |
bool | m_sketchPadsOnFabLayers |
bool | m_hideDNPFPsOnFabLayers |
bool | m_sketchDNPFPsOnFabLayers |
bool | m_crossoutDNPFPsOnFabLayers |
bool | m_plotFootprintValues |
bool | m_plotRefDes |
bool | m_plotDrawingSheet |
LSEQ | m_printMaskLayer |
int | m_drillShapeOption |
Protected Attributes | |
std::string | m_type |
bool | m_isCli |
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 30 of file job_export_pcb_gerber.h.
|
stronginherited |
Enumerator | |
---|---|
HPGL | |
GERBER | |
POST | |
DXF | |
SVG |
Definition at line 33 of file job_export_pcb_plot.h.
JOB_EXPORT_PCB_GERBER::JOB_EXPORT_PCB_GERBER | ( | const std::string & | aType, |
bool | aIsCli | ||
) |
Definition at line 26 of file job_export_pcb_gerber.cpp.
References m_disableApertureMacros, JOB_EXPORT_PCB_PLOT::m_drawingSheet, m_includeNetlistAttributes, JOB::m_params, JOB_EXPORT_PCB_PLOT::m_plotDrawingSheet, JOB_EXPORT_PCB_PLOT::m_plotFootprintValues, JOB_EXPORT_PCB_PLOT::m_plotRefDes, m_precision, JOB_EXPORT_PCB_PLOT::m_printMaskLayer, m_subtractSolderMaskFromSilk, m_useAuxOrigin, m_useProtelFileExtension, and m_useX2Format.
JOB_EXPORT_PCB_GERBER::JOB_EXPORT_PCB_GERBER | ( | bool | aIsCli | ) |
Definition at line 74 of file job_export_pcb_gerber.cpp.
|
inlineinherited |
Definition at line 112 of file job.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().
|
inlineinherited |
Definition at line 104 of file job.h.
Referenced by JOB_DISPATCHER::RunJob().
|
virtualinherited |
|
overridevirtual |
Reimplemented from JOB.
Reimplemented in JOB_EXPORT_PCB_GERBERS.
Definition at line 80 of file job_export_pcb_gerber.cpp.
References _.
|
inherited |
Definition at line 88 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(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
|
inlineinherited |
Definition at line 120 of file job.h.
Referenced by DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), 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::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 88 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().
|
inlineinherited |
Definition at line 86 of file job.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportFpSvg(), PCBNEW_JOBS_HANDLER::JobExportFpUpgrade(), PCBNEW_JOBS_HANDLER::JobExportGencad(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
|
inherited |
Definition at line 136 of file job.cpp.
References JOB::m_outputPath, and JOB::m_outputPathIsDirectory.
Referenced by PCBNEW_JOBS_HANDLER::JobExportIpc2581(), and PCBNEW_JOBS_HANDLER::JobExportPdf().
|
inherited |
Definition at line 130 of file job.cpp.
References JOB::m_outputPath.
Referenced by 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::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_POS::SetDefaultOutputPath(), and DIALOG_EXPORT_2581::TransferDataFromWindow().
|
inherited |
Definition at line 74 of file job.cpp.
References JOB::m_tempOutputDirectory.
|
inlineinherited |
Definition at line 90 of file job.h.
Referenced by CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
virtualinherited |
|
inherited |
Definition at line 55 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
|
inherited |
Definition at line 48 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
|
inherited |
Definition at line 61 of file job_export_pcb_plot.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and DIALOG_PLOT::updateJobFromDialog().
bool JOB_EXPORT_PCB_GERBER::m_disableApertureMacros |
Definition at line 40 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 49 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 71 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and DIALOG_PLOT::updateJobFromDialog().
|
inherited |
Definition at line 47 of file job_export_pcb_plot.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 59 of file job_export_pcb_plot.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and DIALOG_PLOT::updateJobFromDialog().
bool JOB_EXPORT_PCB_GERBER::m_includeNetlistAttributes |
Definition at line 38 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Common Options.
Definition at line 54 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and DIALOG_PLOT::updateJobFromDialog().
|
inherited |
Definition at line 56 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
|
protectedinherited |
Definition at line 133 of file job.h.
Referenced by JOB::GetFullOutputPath(), JOB::JOB(), JOB::OutputPathFullSpecified(), and JOB::SetOutputPath().
|
protectedinherited |
Definition at line 134 of file job.h.
Referenced by JOB::GetFullOutputPath(), JOB::JOB(), and JOB::OutputPathFullSpecified().
|
protectedinherited |
|
protectedinherited |
Definition at line 136 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_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::ToJson(), and JOB::~JOB().
|
inherited |
Definition at line 65 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), CLI::PCB_EXPORT_GERBER_COMMAND::populateJob(), and DIALOG_PLOT::updateJobFromDialog().
|
inherited |
Definition at line 63 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 45 of file job_export_pcb_plot.h.
Referenced by DIALOG_PLOT::init_Dialog().
|
inherited |
Definition at line 64 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
int JOB_EXPORT_PCB_GERBER::m_precision |
Definition at line 44 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 67 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_GERBER(), JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
inherited |
Definition at line 60 of file job_export_pcb_plot.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPdf(), PCBNEW_JOBS_HANDLER::JobExportSvg(), and DIALOG_PLOT::updateJobFromDialog().
|
inherited |
Definition at line 58 of file job_export_pcb_plot.h.
Referenced by JOB_EXPORT_PCB_PDF::JOB_EXPORT_PCB_PDF(), JOB_EXPORT_PCB_SVG::JOB_EXPORT_PCB_SVG(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::JobExportSvg().
bool JOB_EXPORT_PCB_GERBER::m_subtractSolderMaskFromSilk |
Definition at line 37 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
protectedinherited |
Definition at line 131 of file job.h.
Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().
bool JOB_EXPORT_PCB_GERBER::m_useAuxOrigin |
Definition at line 41 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
bool JOB_EXPORT_PCB_GERBER::m_useProtelFileExtension |
Definition at line 42 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
bool JOB_EXPORT_PCB_GERBER::m_useX2Format |
Definition at line 39 of file job_export_pcb_gerber.h.
Referenced by JOB_EXPORT_PCB_GERBER(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().
|
protectedinherited |