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, REPORTER *aReporter)
 
 ~EXPORTER_STEP ()
 
bool Export ()
 

Public Attributes

wxString m_outputFile
 

Private Member Functions

bool buildBoard3DShapes ()
 
bool buildFootprint3DShapes (FOOTPRINT *aFootprint, VECTOR2D aOrigin, SHAPE_POLY_SET *aClipPolygon)
 
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
 
REPORTERm_reporter
 
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, std::map< wxString, SHAPE_POLY_SET > > m_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 46 of file exporter_step.h.

Constructor & Destructor Documentation

◆ EXPORTER_STEP()

◆ ~EXPORTER_STEP()

EXPORTER_STEP::~EXPORTER_STEP ( )

Definition at line 157 of file exporter_step.cpp.

Member Function Documentation

◆ buildBoard3DShapes()

◆ buildFootprint3DShapes()

bool EXPORTER_STEP::buildFootprint3DShapes ( FOOTPRINT aFootprint,
VECTOR2D  aOrigin,
SHAPE_POLY_SET aClipPolygon 
)
private

◆ buildGraphic3DShape()

◆ buildTrack3DShape()

◆ buildZones3DShape()

◆ Export()

◆ initOutputVariant()

Member Data Documentation

◆ m_board

BOARD* EXPORTER_STEP::m_board
private

◆ m_copperColor

KIGFX::COLOR4D EXPORTER_STEP::m_copperColor
private

Definition at line 83 of file exporter_step.h.

Referenced by buildBoard3DShapes(), and EXPORTER_STEP().

◆ m_layersToExport

LSET EXPORTER_STEP::m_layersToExport
private

◆ m_outputFile

wxString EXPORTER_STEP::m_outputFile

Definition at line 54 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 84 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 75 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 86 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 79 of file exporter_step.h.

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

◆ m_poly_shapes

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

◆ m_reporter

REPORTER* EXPORTER_STEP::m_reporter
private

Definition at line 68 of file exporter_step.h.

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

◆ m_resolver

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

Definition at line 65 of file exporter_step.h.

Referenced by buildFootprint3DShapes(), and EXPORTER_STEP().


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