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

#include <exporter_step.h>

Public Member Functions

 EXPORTER_STEP (BOARD *aBoard, const EXPORTER_STEP_PARAMS &aParams)
 
 ~EXPORTER_STEP ()
 
bool Export ()
 
void SetError ()
 
void SetFail ()
 
void SetWarn ()
 

Public Attributes

wxString m_outputFile
 

Private Member Functions

bool buildBoard3DShapes ()
 
bool buildFootprint3DShapes (FOOTPRINT *aFootprint, VECTOR2D aOrigin)
 
bool buildTrack3DShape (PCB_TRACK *aTrack, VECTOR2D aOrigin)
 
void buildZones3DShape (VECTOR2D aOrigin)
 
bool buildGraphic3DShape (BOARD_ITEM *aItem, VECTOR2D aOrigin)
 

Private Attributes

EXPORTER_STEP_PARAMS m_params
 
std::unique_ptr< FILENAME_RESOLVERm_resolver
 
bool m_error
 
bool m_fail
 
bool m_warn
 
BOARDm_board
 
std::unique_ptr< STEP_PCB_MODELm_pcbModel
 
wxString m_pcbBaseName
 the name of the project (board short filename (no path, no ext) used to identify items in step file
 
std::map< PCB_LAYER_ID, SHAPE_POLY_SETm_poly_copper_shapes
 
KIGFX::COLOR4D m_solderMaskColor
 
KIGFX::COLOR4D m_copperColor
 

Detailed Description

Definition at line 102 of file exporter_step.h.

Constructor & Destructor Documentation

◆ EXPORTER_STEP()

EXPORTER_STEP::EXPORTER_STEP ( BOARD aBoard,
const EXPORTER_STEP_PARAMS aParams 
)

◆ ~EXPORTER_STEP()

EXPORTER_STEP::~EXPORTER_STEP ( )

Definition at line 171 of file exporter_step.cpp.

Member Function Documentation

◆ buildBoard3DShapes()

◆ buildFootprint3DShapes()

◆ buildGraphic3DShape()

◆ buildTrack3DShape()

◆ buildZones3DShape()

◆ Export()

◆ SetError()

void EXPORTER_STEP::SetError ( )
inline

Definition at line 112 of file exporter_step.h.

References m_error.

Referenced by KiCadPrinter::Send().

◆ SetFail()

void EXPORTER_STEP::SetFail ( )
inline

Definition at line 113 of file exporter_step.h.

References m_fail.

Referenced by KiCadPrinter::Send().

◆ SetWarn()

void EXPORTER_STEP::SetWarn ( )
inline

Definition at line 114 of file exporter_step.h.

References m_warn.

Referenced by KiCadPrinter::Send().

Member Data Documentation

◆ m_board

BOARD* EXPORTER_STEP::m_board
private

◆ m_copperColor

KIGFX::COLOR4D EXPORTER_STEP::m_copperColor
private

Definition at line 141 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_error

bool EXPORTER_STEP::m_error
private

Definition at line 127 of file exporter_step.h.

Referenced by Export(), and SetError().

◆ m_fail

bool EXPORTER_STEP::m_fail
private

Definition at line 128 of file exporter_step.h.

Referenced by Export(), and SetFail().

◆ m_outputFile

wxString EXPORTER_STEP::m_outputFile

Definition at line 110 of file exporter_step.h.

Referenced by Export(), and PCBNEW_JOBS_HANDLER::JobExportStep().

◆ m_params

◆ m_pcbBaseName

wxString EXPORTER_STEP::m_pcbBaseName
private

the name of the project (board short filename (no path, no ext) used to identify items in step file

Definition at line 136 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_pcbModel

std::unique_ptr<STEP_PCB_MODEL> EXPORTER_STEP::m_pcbModel
private

◆ m_poly_copper_shapes

std::map<PCB_LAYER_ID, SHAPE_POLY_SET> EXPORTER_STEP::m_poly_copper_shapes
private

◆ m_resolver

std::unique_ptr<FILENAME_RESOLVER> EXPORTER_STEP::m_resolver
private

Definition at line 124 of file exporter_step.h.

Referenced by buildFootprint3DShapes(), and EXPORTER_STEP().

◆ m_solderMaskColor

KIGFX::COLOR4D EXPORTER_STEP::m_solderMaskColor
private

Definition at line 140 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_warn

bool EXPORTER_STEP::m_warn
private

Definition at line 129 of file exporter_step.h.

Referenced by Export(), and SetWarn().


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