#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 | 
|   | 
 | 
| enum class   | OUTPUT_FORMAT {  
  FMT_OUT_UNKNOWN = 0
, FMT_OUT_STEP
, FMT_OUT_STEPZ
, FMT_OUT_IGES
,  
  FMT_OUT_BREP
, FMT_OUT_XAO
, FMT_OUT_GLTF
, FMT_OUT_PLY
,  
  FMT_OUT_STL
, FMT_OUT_U3D
, FMT_OUT_PDF
 
 } | 
|   | 
◆ 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_STEPZ  |  | 
| FMT_OUT_IGES  |  | 
| FMT_OUT_BREP  |  | 
| FMT_OUT_XAO  |  | 
| FMT_OUT_GLTF  |  | 
| FMT_OUT_PLY  |  | 
| FMT_OUT_STL  |  | 
| FMT_OUT_U3D  |  | 
| FMT_OUT_PDF  |  | 
Definition at line 77 of file step_pcb_model.h.
 
 
◆ ARC_TO_SEGMENT_MAX_ERROR_MM
  
  
      
        
          | double ARC_TO_SEGMENT_MAX_ERROR_MM = 0.005 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ BOARD_THICKNESS_DEFAULT_MM
  
  
      
        
          | double BOARD_THICKNESS_DEFAULT_MM = 1.6 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ BOARD_THICKNESS_MIN_MM
  
  
      
        
          | double BOARD_THICKNESS_MIN_MM = 0.01 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ COPPER_THICKNESS_DEFAULT_MM
  
  
      
        
          | double COPPER_THICKNESS_DEFAULT_MM = 0.035 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ OCC_MAX_DISTANCE_TO_MERGE_POINTS
  
  
      
        
          | 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().