Operations
-
class Operation
base-class for low-level cam algorithms
base-class for cam algorithms
Subclassed by ocl::AdaptivePathDropCutter, ocl::BatchDropCutter, ocl::BatchPushCutter, ocl::clsurf::CutterLocationSurface, ocl::FiberPushCutter, ocl::PathDropCutter, ocl::PointDropCutter, ocl::Waterline
Public Functions
-
inline virtual void setCutter(const MillingCutter *c)
set the MillingCutter to use
-
inline void setThreads(unsigned int n)
set number of OpenMP threads. Defaults to OpenMP::omp_get_num_procs()
-
inline int getThreads() const
return number of OpenMP threads
-
inline int getBucketSize() const
return the kd-tree bucket-size
-
inline void setBucketSize(unsigned int s)
set the kd-tree bucket-size
-
inline int getCalls() const
return number of low-level calls
-
inline virtual void setSampling(double s)
set the sampling interval for this Operation and all sub-operations
-
inline virtual double getSampling()
return the sampling interval
-
virtual void run() = 0
run the algorithm
-
inline virtual void setXDirection()
used by batchpushcutter
-
inline virtual void setYDirection()
used by batchpushcutter
-
inline virtual void setCutter(const MillingCutter *c)
-
class AdaptiveWaterline : public ocl::Waterline
a Waterline toolpath follows the shape of the model at a constant z-height in the xy-plane
-
class Waterline : public ocl::Operation
a Waterline toolpath follows the shape of the model at a constant z-height in the xy-plane
The Waterline object is used for generating waterline or z-slice toolpaths from an STL-model. Waterline uses two BatchPushCutter sub-operations to find out where the CL-points are located and a Weave to split and order the CL-points correctly into loops.
Subclassed by ocl::AdaptiveWaterline
-
class ZigZag
zgizag 2D operation
-
class PathDropCutter : public ocl::Operation
path drop cutter finish Path generation
Public Functions
-
PathDropCutter()
construct an empty PathDropCutter object
-
inline void setZ(const double z)
set the minimum z-value, or “floor” for drop-cutter
-
inline double getZ() const
return Z
-
PathDropCutter()
-
class PointDropCutter : public ocl::Operation
run drop-cutter on an STL-surface at a single input CLPoint