cutting_tools Class Reference

This class is the main class for the cutting Algorithms. More...

#include <cutting_tools.h>

List of all members.

Public Member Functions

bool arrangecuts_FEATURE_BASED ()
bool arrangecuts_SPIRAL ()
bool arrangecuts_ZLEVEL ()
 Hier finden wir eine tolle Funktion.
bool calculateAccurateSlaveZLevel (std::vector< std::pair< gp_Pnt, double > > &OffsetPoints, double current_z_level, double &slave_z_level, double &average_sheet_thickness, double &average_angle, bool &cutpos)
 cutting_tools (TopoDS_Shape aShape, float pitch)
 The second standard constructor.
 cutting_tools (TopoDS_Shape aShape)
 The standard constructor.
std::vector< std::pair< float,
TopoDS_Shape > > 
getCutShape ()
double GetEdgeLength (const TopoDS_Edge &anEdge)
std::vector< float > getFlatAreas ()
const std::vector
< Handle_Geom_BSplineCurve > * 
getOutputhigh ()
const std::vector
< Handle_Geom_BSplineCurve > * 
getOutputlow ()
bool initializeMeshStuff ()
bool OffsetWires_FeatureBased ()
bool OffsetWires_Spiral ()
bool OffsetWires_Standard ()
TopoDS_Wire ordercutShape (const TopoDS_Shape &aShape)
bool SetMachiningOrder (const TopoDS_Face &aFace, float x, float y, float z)
 ~cutting_tools ()
 The standard destructor.

Public Attributes

CuttingToolsSettings m_UserSettings

Detailed Description

This class is the main class for the cutting Algorithms.

Its idea is to provide the basic functionality for cutting CAD surfaces. In this class you can also find functions useful for generating spiral and feature based toolpaths

Definition at line 123 of file cutting_tools.h.


Constructor & Destructor Documentation

cutting_tools::cutting_tools ( TopoDS_Shape  aShape  ) 

The standard constructor.

Parameters:
aShape A TopoDS_Shape

Definition at line 116 of file cutting_tools.cpp.

References MeshCore::MeshKernel::Clear(), and initializeMeshStuff().

cutting_tools::cutting_tools ( TopoDS_Shape  aShape,
float  pitch 
)

The second standard constructor.

This one gets a vertical step down value as well

Parameters:
aShape A TopoDS_Shape
pitch A vertical step down in[mm]

Definition at line 88 of file cutting_tools.cpp.

References MeshCore::MeshKernel::Clear(), and initializeMeshStuff().

cutting_tools::~cutting_tools (  ) 

The standard destructor.

Definition at line 137 of file cutting_tools.cpp.


Member Function Documentation

bool cutting_tools::arrangecuts_FEATURE_BASED (  ) 
bool cutting_tools::arrangecuts_SPIRAL (  ) 
bool cutting_tools::arrangecuts_ZLEVEL (  ) 
bool cutting_tools::calculateAccurateSlaveZLevel ( std::vector< std::pair< gp_Pnt, double > > &  OffsetPoints,
double  current_z_level,
double &  slave_z_level,
double &  average_sheet_thickness,
double &  average_angle,
bool &  cutpos 
)
std::vector<std::pair<float,TopoDS_Shape> > cutting_tools::getCutShape (  )  [inline]

Definition at line 171 of file cutting_tools.h.

double cutting_tools::GetEdgeLength ( const TopoDS_Edge &  anEdge  ) 

Definition at line 3639 of file cutting_tools.cpp.

Referenced by OffsetWires_Spiral().

std::vector< float > cutting_tools::getFlatAreas (  ) 
const std::vector<Handle_Geom_BSplineCurve>* cutting_tools::getOutputhigh (  )  [inline]
const std::vector<Handle_Geom_BSplineCurve>* cutting_tools::getOutputlow (  )  [inline]
bool cutting_tools::initializeMeshStuff (  ) 

Definition at line 310 of file cutting_tools.cpp.

Referenced by cutting_tools().

bool cutting_tools::OffsetWires_FeatureBased (  ) 
bool cutting_tools::OffsetWires_Spiral (  ) 
bool cutting_tools::OffsetWires_Standard (  ) 
TopoDS_Wire cutting_tools::ordercutShape ( const TopoDS_Shape &  aShape  ) 
bool cutting_tools::SetMachiningOrder ( const TopoDS_Face &  aFace,
float  x,
float  y,
float  z 
)

Definition at line 144 of file cutting_tools.cpp.

Referenced by CamGui::Cutting::setFace().


Member Data Documentation


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

Generated on Wed Nov 23 19:01:37 2011 for FreeCAD by  doxygen 1.6.1