KiCad PCB EDA Suite
|
#include <job_export_pcb_3d.h>
Public Types | |
enum class | FORMAT { UNKNOWN , STEP , BREP , XAO , GLB , VRML , PLY , STL } |
enum class | VRML_UNITS { INCHES , MILLIMETERS , METERS , TENTHS } |
Public Member Functions | |
JOB_EXPORT_PCB_3D () | |
wxString | GetDescription () override |
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 | |
bool | m_hasUserOrigin |
wxString | m_filename |
JOB_EXPORT_PCB_3D::FORMAT | m_format |
EXPORTER_STEP_PARAMS | m_3dparams |
Despite the name; also used for other formats. | |
VRML_UNITS | m_vrmlUnits |
wxString | m_vrmlModelDir |
bool | m_vrmlRelativePaths |
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 101 of file job_export_pcb_3d.h.
|
strong |
Enumerator | |
---|---|
UNKNOWN | |
STEP | |
BREP | |
XAO | |
GLB | |
VRML | |
PLY | |
STL |
Definition at line 107 of file job_export_pcb_3d.h.
|
strong |
Enumerator | |
---|---|
INCHES | |
MILLIMETERS | |
METERS | |
TENTHS |
Definition at line 119 of file job_export_pcb_3d.h.
JOB_EXPORT_PCB_3D::JOB_EXPORT_PCB_3D | ( | ) |
Definition at line 77 of file job_export_pcb_3d.cpp.
References m_3dparams, EXPORTER_STEP_PARAMS::m_BoardOnly, EXPORTER_STEP_PARAMS::m_BoardOutlinesChainingEpsilon, EXPORTER_STEP_PARAMS::m_ExportBoardBody, EXPORTER_STEP_PARAMS::m_ExportComponents, EXPORTER_STEP_PARAMS::m_ExportInnerCopper, EXPORTER_STEP_PARAMS::m_ExportPads, EXPORTER_STEP_PARAMS::m_ExportSilkscreen, EXPORTER_STEP_PARAMS::m_ExportSoldermask, EXPORTER_STEP_PARAMS::m_ExportTracksVias, EXPORTER_STEP_PARAMS::m_ExportZones, EXPORTER_STEP_PARAMS::m_FuseShapes, EXPORTER_STEP_PARAMS::m_IncludeDNP, EXPORTER_STEP_PARAMS::m_IncludeUnspecified, EXPORTER_STEP_PARAMS::m_OptimizeStep, EXPORTER_STEP_PARAMS::m_Origin, EXPORTER_STEP_PARAMS::m_Overwrite, JOB::m_params, EXPORTER_STEP_PARAMS::m_SubstModels, EXPORTER_STEP_PARAMS::m_UseDrillOrigin, EXPORTER_STEP_PARAMS::m_UseGridOrigin, m_vrmlModelDir, m_vrmlRelativePaths, VECTOR2< T >::x, and VECTOR2< T >::y.
|
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_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().
|
inherited |
Definition at line 129 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(), DIALOG_SPECIAL_EXECUTE::TransferDataFromWindow(), and DIALOG_EXPORT_2581::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 |
EXPORTER_STEP_PARAMS JOB_EXPORT_PCB_3D::m_3dparams |
Despite the name; also used for other formats.
Definition at line 133 of file job_export_pcb_3d.h.
Referenced by DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), JOB_EXPORT_PCB_3D(), PCBNEW_JOBS_HANDLER::JobExportStep(), and DIALOG_EXPORT_STEP::onExportButton().
wxString JOB_EXPORT_PCB_3D::m_filename |
Definition at line 128 of file job_export_pcb_3d.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().
JOB_EXPORT_PCB_3D::FORMAT JOB_EXPORT_PCB_3D::m_format |
Definition at line 130 of file job_export_pcb_3d.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().
bool JOB_EXPORT_PCB_3D::m_hasUserOrigin |
Definition at line 127 of file job_export_pcb_3d.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().
|
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_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().
|
protectedinherited |
Definition at line 129 of file job.h.
Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().
|
protectedinherited |
wxString JOB_EXPORT_PCB_3D::m_vrmlModelDir |
Definition at line 136 of file job_export_pcb_3d.h.
Referenced by JOB_EXPORT_PCB_3D(), and PCBNEW_JOBS_HANDLER::JobExportStep().
bool JOB_EXPORT_PCB_3D::m_vrmlRelativePaths |
Definition at line 137 of file job_export_pcb_3d.h.
Referenced by JOB_EXPORT_PCB_3D(), and PCBNEW_JOBS_HANDLER::JobExportStep().
VRML_UNITS JOB_EXPORT_PCB_3D::m_vrmlUnits |
Definition at line 135 of file job_export_pcb_3d.h.
Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().