PathSimulator::PathSim Class Reference
The representation of a CNC Toolpath Simulator. More...
#include <PathSim.h>
Public Member Functions | |
Base::Placement * | ApplyCommand (Base::Placement *pos, Command *cmd) |
void | BeginSimulation (Part::TopoShape *stock, float resolution) |
PathSim () | |
void | SetToolShape (const TopoDS_Shape &toolShape, float resolution) |
~PathSim () | |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
virtual PyObject * | getPyObject (void) |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type | getTypeId (void) const |
bool | isDerivedFrom (const Type type) const |
virtual void | setPyObject (PyObject *) |
virtual | ~BaseClass () |
Destruction. More... | |
Public Attributes | |
cStock * | m_stock |
cSimTool * | m_tool |
Additional Inherited Members | |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create (void) |
static Type | getClassTypeId (void) |
static void | init (void) |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
Detailed Description
The representation of a CNC Toolpath Simulator.
Constructor & Destructor Documentation
◆ PathSim()
PathSim::PathSim | ( | ) |
◆ ~PathSim()
PathSim::~PathSim | ( | ) |
Member Function Documentation
◆ ApplyCommand()
Base::Placement * PathSim::ApplyCommand | ( | Base::Placement * | pos, |
Command * | cmd | ||
) |
References Path::Command::getCenter(), Path::Command::Name, Base::Placement::setPosition(), Point3D::UpdateCmd(), Point3D::x, Point3D::y, and Point3D::z.
Referenced by PathSimulator::PathSimPy::ApplyCommand().
◆ BeginSimulation()
void PathSim::BeginSimulation | ( | Part::TopoShape * | stock, |
float | resolution | ||
) |
References Part::TopoShape::getBoundBox(), Base::BoundBox3< _Precision >::LengthX(), Base::BoundBox3< _Precision >::LengthY(), Base::BoundBox3< _Precision >::LengthZ(), Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, and Base::BoundBox3< _Precision >::MinZ.
Referenced by PathSimulator::PathSimPy::BeginSimulation().
◆ SetToolShape()
void PathSim::SetToolShape | ( | const TopoDS_Shape & | toolShape, |
float | resolution | ||
) |
Member Data Documentation
◆ m_stock
cStock* PathSimulator::PathSim::m_stock |
Referenced by PathSimulator::PathSimPy::GetResultMesh().
◆ m_tool
cSimTool* PathSimulator::PathSim::m_tool |
The documentation for this class was generated from the following files:
- src/Mod/Path/PathSimulator/App/PathSim.h
- src/Mod/Path/PathSimulator/App/PathSim.cpp