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)
 
void initOutputVariant ()
 

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_shapes
 
std::map< PCB_LAYER_ID, SHAPE_POLY_SETm_poly_holes
 
LSET m_layersToExport
 
KIGFX::COLOR4D m_copperColor
 
KIGFX::COLOR4D m_padColor
 
int m_platingThickness
 

Detailed Description

Definition at line 45 of file exporter_step.h.

Constructor & Destructor Documentation

◆ EXPORTER_STEP()

◆ ~EXPORTER_STEP()

EXPORTER_STEP::~EXPORTER_STEP ( )

Definition at line 153 of file exporter_step.cpp.

Member Function Documentation

◆ buildBoard3DShapes()

◆ buildFootprint3DShapes()

◆ buildGraphic3DShape()

◆ buildTrack3DShape()

◆ buildZones3DShape()

◆ Export()

◆ initOutputVariant()

◆ SetError()

void EXPORTER_STEP::SetError ( )
inline

Definition at line 55 of file exporter_step.h.

References m_error.

Referenced by KiCadPrinter::Send().

◆ SetFail()

void EXPORTER_STEP::SetFail ( )
inline

Definition at line 56 of file exporter_step.h.

References m_fail.

Referenced by KiCadPrinter::Send().

◆ SetWarn()

void EXPORTER_STEP::SetWarn ( )
inline

Definition at line 57 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 87 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_error

bool EXPORTER_STEP::m_error
private

Definition at line 71 of file exporter_step.h.

Referenced by Export(), and SetError().

◆ m_fail

bool EXPORTER_STEP::m_fail
private

Definition at line 72 of file exporter_step.h.

Referenced by Export(), and SetFail().

◆ m_layersToExport

LSET EXPORTER_STEP::m_layersToExport
private

◆ m_outputFile

wxString EXPORTER_STEP::m_outputFile

Definition at line 53 of file exporter_step.h.

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

◆ m_padColor

KIGFX::COLOR4D EXPORTER_STEP::m_padColor
private

Definition at line 88 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ 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 80 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_platingThickness

int EXPORTER_STEP::m_platingThickness
private

Definition at line 90 of file exporter_step.h.

Referenced by buildFootprint3DShapes(), buildTrack3DShape(), and EXPORTER_STEP().

◆ m_poly_holes

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

Definition at line 83 of file exporter_step.h.

Referenced by buildBoard3DShapes(), buildFootprint3DShapes(), and buildTrack3DShape().

◆ m_poly_shapes

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

◆ m_resolver

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

Definition at line 68 of file exporter_step.h.

Referenced by buildFootprint3DShapes(), and EXPORTER_STEP().

◆ m_warn

bool EXPORTER_STEP::m_warn
private

Definition at line 73 of file exporter_step.h.

Referenced by Export(), and SetWarn().


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