KiCad PCB EDA Suite
Loading...
Searching...
No Matches
JOB_EXPORT_PCB_3D Class Reference

#include <job_export_pcb_3d.h>

Inheritance diagram for JOB_EXPORT_PCB_3D:
JOB

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_OUTPUTm_outputs
 

Detailed Description

Definition at line 101 of file job_export_pcb_3d.h.

Member Enumeration Documentation

◆ FORMAT

enum class JOB_EXPORT_PCB_3D::FORMAT
strong
Enumerator
UNKNOWN 
STEP 
BREP 
XAO 
GLB 
VRML 
PLY 
STL 

Definition at line 107 of file job_export_pcb_3d.h.

◆ VRML_UNITS

enum class JOB_EXPORT_PCB_3D::VRML_UNITS
strong
Enumerator
INCHES 
MILLIMETERS 
METERS 
TENTHS 

Definition at line 119 of file job_export_pcb_3d.h.

Constructor & Destructor Documentation

◆ JOB_EXPORT_PCB_3D()

Member Function Documentation

◆ AddOutput()

void JOB::AddOutput ( wxString  aOutputPath)
inlineinherited

Definition at line 111 of file job.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().

◆ ClearExistingOutputs()

void JOB::ClearExistingOutputs ( )
inlineinherited

Definition at line 103 of file job.h.

Referenced by JOB_DISPATCHER::RunJob().

◆ FromJson()

void JOB::FromJson ( const nlohmann::json &  j)
virtualinherited

Definition at line 53 of file job.cpp.

References JOB::m_params.

Referenced by from_json().

◆ GetDescription()

wxString JOB_EXPORT_PCB_3D::GetDescription ( )
overridevirtual

Reimplemented from JOB.

Definition at line 135 of file job_export_pcb_3d.cpp.

References _.

◆ GetFullOutputPath()

◆ GetOutputPath()

◆ GetOutputs()

const std::vector< JOB_OUTPUT > & JOB::GetOutputs ( )
inlineinherited

Definition at line 107 of file job.h.

◆ GetParams()

const std::vector< JOB_PARAM_BASE * > & JOB::GetParams ( )
inlineinherited

Definition at line 99 of file job.h.

◆ GetType()

const std::string & JOB::GetType ( ) const
inlineinherited

Definition at line 85 of file job.h.

Referenced by JOB_DISPATCHER::HandleJobConfig(), and JOB_DISPATCHER::RunJob().

◆ GetVarOverrides()

◆ OutputPathFullSpecified()

bool JOB::OutputPathFullSpecified ( ) const
inherited

Definition at line 135 of file job.cpp.

References JOB::m_outputPath, and JOB::m_outputPathIsDirectory.

Referenced by PCBNEW_JOBS_HANDLER::JobExportIpc2581().

◆ SetOutputPath()

◆ SetTempOutputDirectory()

void JOB::SetTempOutputDirectory ( const wxString &  aBase)
inherited

Definition at line 73 of file job.cpp.

References JOB::m_tempOutputDirectory.

◆ SetVarOverrides()

void JOB::SetVarOverrides ( const std::map< wxString, wxString > &  aVarOverrides)
inlineinherited

Definition at line 89 of file job.h.

Referenced by CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().

◆ ToJson()

void JOB::ToJson ( nlohmann::json &  j) const
virtualinherited

Definition at line 60 of file job.cpp.

References JOB::m_params.

Referenced by to_json().

Member Data Documentation

◆ m_3dparams

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().

◆ m_filename

wxString JOB_EXPORT_PCB_3D::m_filename

Definition at line 128 of file job_export_pcb_3d.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().

◆ m_format

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().

◆ m_hasUserOrigin

bool JOB_EXPORT_PCB_3D::m_hasUserOrigin

Definition at line 127 of file job_export_pcb_3d.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportStep().

◆ m_outputPath

wxString JOB::m_outputPath
protectedinherited

◆ m_outputPathIsDirectory

bool JOB::m_outputPathIsDirectory
protectedinherited

Definition at line 132 of file job.h.

Referenced by JOB::GetFullOutputPath(), JOB::JOB(), and JOB::OutputPathFullSpecified().

◆ m_outputs

std::vector<JOB_OUTPUT> JOB::m_outputs
protectedinherited

Definition at line 136 of file job.h.

◆ m_params

◆ m_tempOutputDirectory

wxString JOB::m_tempOutputDirectory
protectedinherited

Definition at line 129 of file job.h.

Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().

◆ m_type

std::string JOB::m_type
protectedinherited

Definition at line 126 of file job.h.

◆ m_varOverrides

std::map<wxString, wxString> JOB::m_varOverrides
protectedinherited

Definition at line 127 of file job.h.

◆ m_vrmlModelDir

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().

◆ m_vrmlRelativePaths

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().

◆ m_vrmlUnits

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().


The documentation for this class was generated from the following files: