MeshLib
 
Loading...
Searching...
No Matches
MRToolPath.h File Reference
#include "MRMeshFwd.h"
#include "MRAxis.h"
#include "MRMesh.h"
#include "MRPolyline.h"
#include "MRProgressCallback.h"
#include "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

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