MeshLib Documentation
Loading...
Searching...
No Matches
MRToolPath.h File Reference
#include "MRVoxelsFwd.h"
#include "MRMesh/MRAxis.h"
#include "MRMesh/MRMesh.h"
#include "MRMesh/MRPolyline.h"
#include "MRMesh/MRProgressCallback.h"
#include "MRMesh/MRExpected.h"

Go to the source code of this file.

Classes

struct  MR::ToolPathParams
 
struct  MR::ConstantCuspParams
 
struct  MR::LineInterpolationParams
 
struct  MR::ArcInterpolationParams
 
struct  MR::GCommand
 
struct  MR::ToolPathResult
 

Namespaces

namespace  MR
 

Enumerations

enum class  MR::BypassDirection { MR::Clockwise , MR::CounterClockwise }
 
enum class  MR::MoveType {
  MR::None = -1 , MR::FastLinear = 0 , MR::Linear = 1 , MR::ArcCW = 2 ,
  MR::ArcCCW = 3
}
 
enum class  MR::ArcPlane { MR::None = -1 , MR::XY = 17 , MR::XZ = 18 , MR::YZ = 19 }
 

Functions

MRVOXELS_API Expected< ToolPathResultMR::constantZToolPath (const MeshPart &mp, const ToolPathParams &params)
 
MRVOXELS_API Expected< ToolPathResultMR::lacingToolPath (const MeshPart &mp, const ToolPathParams &params, Axis cutDirection)
 
MRVOXELS_API Expected< ToolPathResultMR::constantCuspToolPath (const MeshPart &mp, const ConstantCuspParams &params)
 
MRVOXELS_API std::shared_ptr< ObjectGcodeMR::exportToolPathToGCode (const std::vector< GCommand > &commands)
 
MRVOXELS_API Expected< void > MR::interpolateLines (std::vector< GCommand > &commands, const LineInterpolationParams &params, Axis axis)
 
MRVOXELS_API Expected< void > MR::interpolateArcs (std::vector< GCommand > &commands, const ArcInterpolationParams &params, Axis axis)
 
MRVOXELS_API FaceBitSet MR::smoothSelection (Mesh &mesh, const FaceBitSet &region, float expandOffset, float shrinkOffset)