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 ()
 
bool ExportTracksAndVias ()
 Return rue to export tracks and vias on top and bottom copper layers.
 

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

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
 
double m_boardThickness
 
SHAPE_POLY_SET m_top_copper_shapes
 
SHAPE_POLY_SET m_bottom_copper_shapes
 
KIGFX::COLOR4D m_solderMaskColor
 
KIGFX::COLOR4D m_copperColor
 

Detailed Description

Definition at line 93 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 165 of file exporter_step.cpp.

Member Function Documentation

◆ buildBoard3DShapes()

◆ buildFootprint3DShapes()

◆ buildGraphic3DShape()

◆ buildTrack3DShape()

◆ buildZones3DShape()

void EXPORTER_STEP::buildZones3DShape ( VECTOR2D  aOrigin)
private

◆ calculatePcbThickness()

◆ Export()

◆ ExportTracksAndVias()

bool EXPORTER_STEP::ExportTracksAndVias ( )
inline

Return rue to export tracks and vias on top and bottom copper layers.

Definition at line 108 of file exporter_step.h.

References EXPORTER_STEP_PARAMS::m_exportTracks, and m_params.

Referenced by buildBoard3DShapes(), and buildFootprint3DShapes().

◆ SetError()

void EXPORTER_STEP::SetError ( )
inline

Definition at line 103 of file exporter_step.h.

References m_error.

Referenced by KiCadPrinter::Send().

◆ SetFail()

void EXPORTER_STEP::SetFail ( )
inline

Definition at line 104 of file exporter_step.h.

References m_fail.

Referenced by KiCadPrinter::Send().

◆ SetWarn()

void EXPORTER_STEP::SetWarn ( )
inline

Definition at line 105 of file exporter_step.h.

References m_warn.

Referenced by KiCadPrinter::Send().

Member Data Documentation

◆ m_board

◆ m_boardThickness

double EXPORTER_STEP::m_boardThickness
private

Definition at line 133 of file exporter_step.h.

Referenced by buildBoard3DShapes(), calculatePcbThickness(), and Export().

◆ m_bottom_copper_shapes

SHAPE_POLY_SET EXPORTER_STEP::m_bottom_copper_shapes
private

◆ m_copperColor

KIGFX::COLOR4D EXPORTER_STEP::m_copperColor
private

Definition at line 139 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_error

bool EXPORTER_STEP::m_error
private

Definition at line 122 of file exporter_step.h.

Referenced by Export(), and SetError().

◆ m_fail

bool EXPORTER_STEP::m_fail
private

Definition at line 123 of file exporter_step.h.

Referenced by Export(), and SetFail().

◆ m_outputFile

wxString EXPORTER_STEP::m_outputFile

Definition at line 101 of file exporter_step.h.

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

◆ m_params

EXPORTER_STEP_PARAMS EXPORTER_STEP::m_params
private

◆ 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 131 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_resolver

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

Definition at line 119 of file exporter_step.h.

Referenced by buildFootprint3DShapes(), and EXPORTER_STEP().

◆ m_solderMaskColor

KIGFX::COLOR4D EXPORTER_STEP::m_solderMaskColor
private

Definition at line 138 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_top_copper_shapes

SHAPE_POLY_SET EXPORTER_STEP::m_top_copper_shapes
private

◆ m_warn

bool EXPORTER_STEP::m_warn
private

Definition at line 124 of file exporter_step.h.

Referenced by Export(), and SetWarn().


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