KiCad PCB EDA Suite
|
#include <list>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <Standard_Version.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <TDocStd_Document.hxx>
#include <XCAFApp_Application.hxx>
#include <XCAFDoc_ShapeTool.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Edge.hxx>
#include <math/vector2d.h>
#include <math/vector3.h>
#include <geometry/shape_poly_set.h>
Go to the source code of this file.
Classes | |
class | STEP_PCB_MODEL |
Typedefs | |
typedef std::pair< std::string, TDF_Label > | MODEL_DATUM |
typedef std::map< std::string, TDF_Label > | MODEL_MAP |
Functions | |
void | ReportMessage (const wxString &aMessage) |
Variables | |
static constexpr double | OCC_MAX_DISTANCE_TO_MERGE_POINTS = 0.001 |
Default distance between points to treat them as separate ones (mm) 0.001 mm or less is a reasonable value. More... | |
static constexpr double | BOARD_THICKNESS_DEFAULT_MM = 1.6 |
static constexpr double | BOARD_THICKNESS_MIN_MM = 0.01 |
static constexpr double | COPPER_THICKNESS_DEFAULT_MM = 0.035 |
static constexpr double | ARC_TO_SEGMENT_MAX_ERROR_MM = 0.005 |
typedef std::pair< std::string, TDF_Label > MODEL_DATUM |
Definition at line 72 of file step_pcb_model.h.
typedef std::map< std::string, TDF_Label > MODEL_MAP |
Definition at line 73 of file step_pcb_model.h.
void ReportMessage | ( | const wxString & | aMessage | ) |
Definition at line 60 of file exporter_step.cpp.
Referenced by STEP_PCB_MODEL::AddComponent(), STEP_PCB_MODEL::AddCopperPolygonShapes(), STEP_PCB_MODEL::AddPadShape(), EXPORTER_STEP::buildBoard3DShapes(), EXPORTER_STEP::buildFootprint3DShapes(), STEP_PCB_MODEL::CreatePCB(), EXPORTER_STEP::Export(), fileType(), STEP_PCB_MODEL::getModelLabel(), STEP_PCB_MODEL::MakeShapeAsCylinder(), STEP_PCB_MODEL::MakeShapeAsThickSegment(), STEP_PCB_MODEL::MakeShapes(), KiCadPrinter::Send(), STEP_PCB_MODEL::transferModel(), STEP_PCB_MODEL::WriteGLTF(), and STEP_PCB_MODEL::WriteSTEP().
|
staticconstexpr |
Definition at line 68 of file step_pcb_model.h.
Referenced by STEP_PCB_MODEL::STEP_PCB_MODEL().
|
staticconstexpr |
Definition at line 57 of file step_pcb_model.h.
Referenced by STEP_PCB_MODEL::SetPCBThickness(), and STEP_PCB_MODEL::STEP_PCB_MODEL().
|
staticconstexpr |
Definition at line 61 of file step_pcb_model.h.
Referenced by STEP_PCB_MODEL::SetPCBThickness().
|
staticconstexpr |
Definition at line 65 of file step_pcb_model.h.
Referenced by STEP_PCB_MODEL::STEP_PCB_MODEL().
|
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 54 of file step_pcb_model.h.
Referenced by EXPORTER_STEP::buildBoard3DShapes(), and STEP_PCB_MODEL::STEP_PCB_MODEL().