KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcbnew_utils_3d.cpp File Reference
#include "pcbnew_utils_3d.h"
#include <memory>
#include <wx/filename.h>
#include <wx/wfstream.h>
#include <wx/log.h>
#include <TDocStd_Document.hxx>
#include <XCAFApp_Application.hxx>
#include <XCAFDoc_DocumentTool.hxx>
#include <XCAFDoc_ShapeTool.hxx>
#include <XCAFDoc_ColorTool.hxx>
#include <TopoDS.hxx>
#include <TopExp_Explorer.hxx>
#include <Bnd_Box.hxx>
#include <BRepBndLib.hxx>
#include <BRepTools.hxx>
#include <BRep_Builder.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <BRepBuilderAPI_GTransform.hxx>
#include <STEPCAFControl_Reader.hxx>
#include <STEPCAFControl_Writer.hxx>
#include <Interface_Static.hxx>
#include <XCAFDoc_Color.hxx>
#include <Quantity_Color.hxx>
#include <ShapeCustom.hxx>

Go to the source code of this file.

Classes

struct  UTILS_STEP_MODEL::DATA
 

Macros

#define USER_PREC   ( 0.14 )
 

Functions

static void transformDoc (Handle(TDocStd_Document) &source, Handle(TDocStd_Document) &dest, const gp_GTrsf &transform)
 

Macro Definition Documentation

◆ USER_PREC

#define USER_PREC   ( 0.14 )

Definition at line 59 of file pcbnew_utils_3d.cpp.

Function Documentation

◆ transformDoc()

static void transformDoc ( Handle(TDocStd_Document) &  source,
Handle(TDocStd_Document) &  dest,
const gp_GTrsf &  transform 
)
static

Definition at line 62 of file pcbnew_utils_3d.cpp.

Referenced by UTILS_STEP_MODEL::Scale(), and UTILS_STEP_MODEL::Translate().