#include <list>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <Standard_Handle.hxx>
#include <TDF_Label.hxx>
#include <TopoDS_Shape.hxx>
#include <math/vector2d.h>
#include <math/vector3.h>
#include <geometry/shape_poly_set.h>
#include <board_stackup_manager/board_stackup.h>
Go to the source code of this file.
|
typedef std::pair< std::string, TDF_Label > | MODEL_DATUM |
|
typedef std::map< std::string, TDF_Label > | MODEL_MAP |
|
◆ MODEL_DATUM
typedef std::pair< std::string, TDF_Label > MODEL_DATUM |
◆ MODEL_MAP
typedef std::map< std::string, TDF_Label > MODEL_MAP |
◆ OUTPUT_FORMAT
Enumerator |
---|
FMT_OUT_UNKNOWN | |
FMT_OUT_STEP | |
FMT_OUT_IGES | |
FMT_OUT_BREP | |
FMT_OUT_XAO | |
FMT_OUT_GLTF | |
FMT_OUT_PLY | |
FMT_OUT_STL | |
Definition at line 78 of file step_pcb_model.h.
◆ ReportMessage()
void ReportMessage |
( |
const wxString & |
aMessage | ) |
|
Definition at line 63 of file exporter_step.cpp.
Referenced by STEP_PCB_MODEL::AddComponent(), STEP_PCB_MODEL::AddPadShape(), STEP_PCB_MODEL::AddPolygonShapes(), EXPORTER_STEP::buildBoard3DShapes(), EXPORTER_STEP::buildFootprint3DShapes(), STEP_PCB_MODEL::CreatePCB(), EXPORTER_STEP::Export(), fileType(), fuseShapes(), STEP_PCB_MODEL::getModelLabel(), STEP_PCB_MODEL::MakeShapeAsThickSegment(), STEP_PCB_MODEL::MakeShapes(), makeWireFromChain(), STEP_PCB_MODEL::performMeshing(), KiCadPrinter::Send(), STEP_PCB_MODEL::WriteBREP(), STEP_PCB_MODEL::WriteGLTF(), STEP_PCB_MODEL::WritePLY(), STEP_PCB_MODEL::WriteSTEP(), STEP_PCB_MODEL::WriteSTL(), and STEP_PCB_MODEL::WriteXAO().
◆ ARC_TO_SEGMENT_MAX_ERROR_MM
constexpr double ARC_TO_SEGMENT_MAX_ERROR_MM = 0.005 |
|
staticconstexpr |
◆ BOARD_THICKNESS_DEFAULT_MM
constexpr double BOARD_THICKNESS_DEFAULT_MM = 1.6 |
|
staticconstexpr |
◆ BOARD_THICKNESS_MIN_MM
constexpr double BOARD_THICKNESS_MIN_MM = 0.01 |
|
staticconstexpr |
◆ COPPER_THICKNESS_DEFAULT_MM
constexpr double COPPER_THICKNESS_DEFAULT_MM = 0.035 |
|
staticconstexpr |
◆ OCC_MAX_DISTANCE_TO_MERGE_POINTS
constexpr double OCC_MAX_DISTANCE_TO_MERGE_POINTS = 0.001 |
|
staticconstexpr |
Default distance between points to treat them as separate ones (mm) 0.001 mm or less is a reasonable value.
A too large value creates issues by merging points that should be different. Remember we are a 3D space, so a thin shape can be broken if 2 points are merged (in X, Y, Z coords) when they should not. round shapes converted to polygon can also be not good with a to large value
Definition at line 51 of file step_pcb_model.h.
Referenced by EXPORTER_STEP::buildBoard3DShapes(), and STEP_PCB_MODEL::STEP_PCB_MODEL().