MeshLib C Docs
Loading...
Searching...
No Matches
MRToolPath.h File Reference
#include <MRCMesh/MRAxis.h>
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef enum MR_BypassDirection MR_BypassDirection
 Direction in which the tool traverses each contour.
typedef struct MR_ToolPathParams MR_ToolPathParams
typedef struct MR_ConstantCuspParams MR_ConstantCuspParams
typedef struct MR_LineInterpolationParams MR_LineInterpolationParams
typedef struct MR_ArcInterpolationParams MR_ArcInterpolationParams
typedef enum MR_MoveType MR_MoveType
 G-code move command type.
typedef enum MR_ArcPlane MR_ArcPlane
 G-code arc plane selection.

Enumerations

enum  MR_BypassDirection { MR_BypassDirection_Clockwise = 0 , MR_BypassDirection_CounterClockwise = 1 }
 Direction in which the tool traverses each contour. More...
enum  MR_MoveType {
  MR_MoveType_None = -1 , MR_MoveType_FastLinear = 0 , MR_MoveType_Linear = 1 , MR_MoveType_ArcCW = 2 ,
  MR_MoveType_ArcCCW = 3
}
 G-code move command type. More...
enum  MR_ArcPlane { MR_ArcPlane_None = -1 , MR_ArcPlane_XY = 17 , MR_ArcPlane_XZ = 18 , MR_ArcPlane_YZ = 19 }
 G-code arc plane selection. More...

Functions

MRC_API const float * MR_ToolPathParams_Get_millRadius (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_millRadius (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_millRadius (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_voxelSize (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_voxelSize (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_voxelSize (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_sectionStep (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_sectionStep (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_sectionStep (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_critTransitionLength (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_critTransitionLength (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_critTransitionLength (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_plungeLength (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_plungeLength (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_plungeLength (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_retractLength (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_retractLength (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_retractLength (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_plungeFeed (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_plungeFeed (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_plungeFeed (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_retractFeed (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_retractFeed (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_retractFeed (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_baseFeed (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_baseFeed (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_baseFeed (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_safeZ (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_safeZ (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_safeZ (MR_ToolPathParams *_this)
MRC_API const MR_BypassDirectionMR_ToolPathParams_Get_bypassDir (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_bypassDir (MR_ToolPathParams *_this, MR_BypassDirection value)
MRC_API MR_BypassDirectionMR_ToolPathParams_GetMutable_bypassDir (MR_ToolPathParams *_this)
MRC_API const MR_AffineXf3f *const * MR_ToolPathParams_Get_xf (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_xf (MR_ToolPathParams *_this, const MR_AffineXf3f *value)
MRC_API const MR_AffineXf3f ** MR_ToolPathParams_GetMutable_xf (MR_ToolPathParams *_this)
MRC_API const bool * MR_ToolPathParams_Get_flatTool (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_flatTool (MR_ToolPathParams *_this, bool value)
MRC_API bool * MR_ToolPathParams_GetMutable_flatTool (MR_ToolPathParams *_this)
MRC_API const MR_std_function_bool_from_floatMR_ToolPathParams_Get_cb (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_cb (MR_ToolPathParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_function_bool_from_floatMR_ToolPathParams_GetMutable_cb (MR_ToolPathParams *_this)
MRC_API const float * MR_ToolPathParams_Get_toolpathExpansion (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_toolpathExpansion (MR_ToolPathParams *_this, float value)
MRC_API float * MR_ToolPathParams_GetMutable_toolpathExpansion (MR_ToolPathParams *_this)
MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_isolines (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_isolines (MR_ToolPathParams *_this, MR_std_vector_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_isolines (MR_ToolPathParams *_this)
MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_startContours (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_startContours (MR_ToolPathParams *_this, MR_std_vector_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_startContours (MR_ToolPathParams *_this)
MRC_API MR_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_startVertices (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_startVertices (MR_ToolPathParams *_this, MR_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_startVertices (MR_ToolPathParams *_this)
MRC_API MR_MeshPart *const * MR_ToolPathParams_Get_offsetMesh (const MR_ToolPathParams *_this)
MRC_API void MR_ToolPathParams_Set_offsetMesh (MR_ToolPathParams *_this, MR_MeshPart *value)
MRC_API MR_MeshPart ** MR_ToolPathParams_GetMutable_offsetMesh (MR_ToolPathParams *_this)
MRC_API MR_ToolPathParamsMR_ToolPathParams_DefaultConstruct (void)
MRC_API MR_ToolPathParamsMR_ToolPathParams_DefaultConstructArray (size_t num_elems)
MRC_API MR_ToolPathParamsMR_ToolPathParams_ConstructFrom (float millRadius, float voxelSize, float sectionStep, float critTransitionLength, float plungeLength, float retractLength, float plungeFeed, float retractFeed, float baseFeed, float safeZ, MR_BypassDirection bypassDir, const MR_AffineXf3f *xf, bool flatTool, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float toolpathExpansion, MR_std_vector_std_vector_MR_Vector3f *isolines, MR_std_vector_std_vector_MR_Vector3f *startContours, MR_std_vector_MR_Vector3f *startVertices, MR_MeshPart *offsetMesh)
MRC_API const MR_ToolPathParamsMR_ToolPathParams_OffsetPtr (const MR_ToolPathParams *ptr, ptrdiff_t i)
MRC_API MR_ToolPathParamsMR_ToolPathParams_OffsetMutablePtr (MR_ToolPathParams *ptr, ptrdiff_t i)
MRC_API MR_ToolPathParamsMR_ToolPathParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ToolPathParams *_other)
MRC_API void MR_ToolPathParams_Destroy (const MR_ToolPathParams *_this)
 Destroys a heap-allocated instance of MR_ToolPathParams. Does nothing if the pointer is null.
MRC_API void MR_ToolPathParams_DestroyArray (const MR_ToolPathParams *_this)
 Destroys a heap-allocated array of MR_ToolPathParams. Does nothing if the pointer is null.
MRC_API MR_ToolPathParamsMR_ToolPathParams_AssignFromAnother (MR_ToolPathParams *_this, MR_PassBy _other_pass_by, MR_ToolPathParams *_other)
MRC_API const bool * MR_ConstantCuspParams_Get_fromCenterToBoundary (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_fromCenterToBoundary (MR_ConstantCuspParams *_this, bool value)
MRC_API bool * MR_ConstantCuspParams_GetMutable_fromCenterToBoundary (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_millRadius (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_millRadius (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_millRadius (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_voxelSize (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_voxelSize (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_voxelSize (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_sectionStep (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_sectionStep (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_sectionStep (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_critTransitionLength (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_critTransitionLength (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_critTransitionLength (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_plungeLength (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_plungeLength (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_plungeLength (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_retractLength (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_retractLength (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_retractLength (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_plungeFeed (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_plungeFeed (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_plungeFeed (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_retractFeed (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_retractFeed (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_retractFeed (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_baseFeed (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_baseFeed (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_baseFeed (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_safeZ (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_safeZ (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_safeZ (MR_ConstantCuspParams *_this)
MRC_API const MR_BypassDirectionMR_ConstantCuspParams_Get_bypassDir (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_bypassDir (MR_ConstantCuspParams *_this, MR_BypassDirection value)
MRC_API MR_BypassDirectionMR_ConstantCuspParams_GetMutable_bypassDir (MR_ConstantCuspParams *_this)
MRC_API const MR_AffineXf3f *const * MR_ConstantCuspParams_Get_xf (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_xf (MR_ConstantCuspParams *_this, const MR_AffineXf3f *value)
MRC_API const MR_AffineXf3f ** MR_ConstantCuspParams_GetMutable_xf (MR_ConstantCuspParams *_this)
MRC_API const bool * MR_ConstantCuspParams_Get_flatTool (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_flatTool (MR_ConstantCuspParams *_this, bool value)
MRC_API bool * MR_ConstantCuspParams_GetMutable_flatTool (MR_ConstantCuspParams *_this)
MRC_API const MR_std_function_bool_from_floatMR_ConstantCuspParams_Get_cb (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_cb (MR_ConstantCuspParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_function_bool_from_floatMR_ConstantCuspParams_GetMutable_cb (MR_ConstantCuspParams *_this)
MRC_API const float * MR_ConstantCuspParams_Get_toolpathExpansion (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_toolpathExpansion (MR_ConstantCuspParams *_this, float value)
MRC_API float * MR_ConstantCuspParams_GetMutable_toolpathExpansion (MR_ConstantCuspParams *_this)
MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_isolines (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_isolines (MR_ConstantCuspParams *_this, MR_std_vector_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_isolines (MR_ConstantCuspParams *_this)
MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_startContours (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_startContours (MR_ConstantCuspParams *_this, MR_std_vector_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_startContours (MR_ConstantCuspParams *_this)
MRC_API MR_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_startVertices (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_startVertices (MR_ConstantCuspParams *_this, MR_std_vector_MR_Vector3f *value)
MRC_API MR_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_startVertices (MR_ConstantCuspParams *_this)
MRC_API MR_MeshPart *const * MR_ConstantCuspParams_Get_offsetMesh (const MR_ConstantCuspParams *_this)
MRC_API void MR_ConstantCuspParams_Set_offsetMesh (MR_ConstantCuspParams *_this, MR_MeshPart *value)
MRC_API MR_MeshPart ** MR_ConstantCuspParams_GetMutable_offsetMesh (MR_ConstantCuspParams *_this)
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_DefaultConstruct (void)
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_DefaultConstructArray (size_t num_elems)
MRC_API const MR_ConstantCuspParamsMR_ConstantCuspParams_OffsetPtr (const MR_ConstantCuspParams *ptr, ptrdiff_t i)
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_OffsetMutablePtr (MR_ConstantCuspParams *ptr, ptrdiff_t i)
MRC_API const MR_ToolPathParamsMR_ConstantCuspParams_UpcastTo_MR_ToolPathParams (const MR_ConstantCuspParams *object)
MRC_API MR_ToolPathParamsMR_ConstantCuspParams_MutableUpcastTo_MR_ToolPathParams (MR_ConstantCuspParams *object)
MRC_API const MR_ConstantCuspParamsMR_ConstantCuspParams_StaticDowncastFrom_MR_ToolPathParams (const MR_ToolPathParams *object)
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_MutableStaticDowncastFrom_MR_ToolPathParams (MR_ToolPathParams *object)
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ConstantCuspParams *_other)
MRC_API void MR_ConstantCuspParams_Destroy (const MR_ConstantCuspParams *_this)
 Destroys a heap-allocated instance of MR_ConstantCuspParams. Does nothing if the pointer is null.
MRC_API void MR_ConstantCuspParams_DestroyArray (const MR_ConstantCuspParams *_this)
 Destroys a heap-allocated array of MR_ConstantCuspParams. Does nothing if the pointer is null.
MRC_API MR_ConstantCuspParamsMR_ConstantCuspParams_AssignFromAnother (MR_ConstantCuspParams *_this, MR_PassBy _other_pass_by, MR_ConstantCuspParams *_other)
MRC_API const float * MR_LineInterpolationParams_Get_eps (const MR_LineInterpolationParams *_this)
MRC_API void MR_LineInterpolationParams_Set_eps (MR_LineInterpolationParams *_this, float value)
MRC_API float * MR_LineInterpolationParams_GetMutable_eps (MR_LineInterpolationParams *_this)
MRC_API const float * MR_LineInterpolationParams_Get_maxLength (const MR_LineInterpolationParams *_this)
MRC_API void MR_LineInterpolationParams_Set_maxLength (MR_LineInterpolationParams *_this, float value)
MRC_API float * MR_LineInterpolationParams_GetMutable_maxLength (MR_LineInterpolationParams *_this)
MRC_API const MR_std_function_bool_from_floatMR_LineInterpolationParams_Get_cb (const MR_LineInterpolationParams *_this)
MRC_API void MR_LineInterpolationParams_Set_cb (MR_LineInterpolationParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_function_bool_from_floatMR_LineInterpolationParams_GetMutable_cb (MR_LineInterpolationParams *_this)
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_DefaultConstruct (void)
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_DefaultConstructArray (size_t num_elems)
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_ConstructFrom (float eps, float maxLength, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API const MR_LineInterpolationParamsMR_LineInterpolationParams_OffsetPtr (const MR_LineInterpolationParams *ptr, ptrdiff_t i)
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_OffsetMutablePtr (MR_LineInterpolationParams *ptr, ptrdiff_t i)
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_LineInterpolationParams *_other)
MRC_API void MR_LineInterpolationParams_Destroy (const MR_LineInterpolationParams *_this)
 Destroys a heap-allocated instance of MR_LineInterpolationParams. Does nothing if the pointer is null.
MRC_API void MR_LineInterpolationParams_DestroyArray (const MR_LineInterpolationParams *_this)
 Destroys a heap-allocated array of MR_LineInterpolationParams. Does nothing if the pointer is null.
MRC_API MR_LineInterpolationParamsMR_LineInterpolationParams_AssignFromAnother (MR_LineInterpolationParams *_this, MR_PassBy _other_pass_by, MR_LineInterpolationParams *_other)
MRC_API const float * MR_ArcInterpolationParams_Get_eps (const MR_ArcInterpolationParams *_this)
MRC_API void MR_ArcInterpolationParams_Set_eps (MR_ArcInterpolationParams *_this, float value)
MRC_API float * MR_ArcInterpolationParams_GetMutable_eps (MR_ArcInterpolationParams *_this)
MRC_API const float * MR_ArcInterpolationParams_Get_maxRadius (const MR_ArcInterpolationParams *_this)
MRC_API void MR_ArcInterpolationParams_Set_maxRadius (MR_ArcInterpolationParams *_this, float value)
MRC_API float * MR_ArcInterpolationParams_GetMutable_maxRadius (MR_ArcInterpolationParams *_this)
MRC_API const MR_std_function_bool_from_floatMR_ArcInterpolationParams_Get_cb (const MR_ArcInterpolationParams *_this)
MRC_API void MR_ArcInterpolationParams_Set_cb (MR_ArcInterpolationParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_std_function_bool_from_floatMR_ArcInterpolationParams_GetMutable_cb (MR_ArcInterpolationParams *_this)
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_DefaultConstruct (void)
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_DefaultConstructArray (size_t num_elems)
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_ConstructFrom (float eps, float maxRadius, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API const MR_ArcInterpolationParamsMR_ArcInterpolationParams_OffsetPtr (const MR_ArcInterpolationParams *ptr, ptrdiff_t i)
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_OffsetMutablePtr (MR_ArcInterpolationParams *ptr, ptrdiff_t i)
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ArcInterpolationParams *_other)
MRC_API void MR_ArcInterpolationParams_Destroy (const MR_ArcInterpolationParams *_this)
 Destroys a heap-allocated instance of MR_ArcInterpolationParams. Does nothing if the pointer is null.
MRC_API void MR_ArcInterpolationParams_DestroyArray (const MR_ArcInterpolationParams *_this)
 Destroys a heap-allocated array of MR_ArcInterpolationParams. Does nothing if the pointer is null.
MRC_API MR_ArcInterpolationParamsMR_ArcInterpolationParams_AssignFromAnother (MR_ArcInterpolationParams *_this, MR_PassBy _other_pass_by, MR_ArcInterpolationParams *_other)
MRC_API const MR_MoveTypeMR_GCommand_Get_type (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_type (MR_GCommand *_this, MR_MoveType value)
MRC_API MR_MoveTypeMR_GCommand_GetMutable_type (MR_GCommand *_this)
MRC_API const MR_ArcPlaneMR_GCommand_Get_arcPlane (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_arcPlane (MR_GCommand *_this, MR_ArcPlane value)
MRC_API MR_ArcPlaneMR_GCommand_GetMutable_arcPlane (MR_GCommand *_this)
MRC_API const float * MR_GCommand_Get_feed (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_feed (MR_GCommand *_this, float value)
MRC_API float * MR_GCommand_GetMutable_feed (MR_GCommand *_this)
MRC_API const float * MR_GCommand_Get_x (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_x (MR_GCommand *_this, float value)
MRC_API float * MR_GCommand_GetMutable_x (MR_GCommand *_this)
MRC_API const float * MR_GCommand_Get_y (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_y (MR_GCommand *_this, float value)
MRC_API float * MR_GCommand_GetMutable_y (MR_GCommand *_this)
MRC_API const float * MR_GCommand_Get_z (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_z (MR_GCommand *_this, float value)
MRC_API float * MR_GCommand_GetMutable_z (MR_GCommand *_this)
MRC_API const MR_Vector3fMR_GCommand_Get_arcCenter (const MR_GCommand *_this)
MRC_API void MR_GCommand_Set_arcCenter (MR_GCommand *_this, MR_Vector3f value)
MRC_API MR_Vector3fMR_GCommand_GetMutable_arcCenter (MR_GCommand *_this)
MRC_API MR_GCommandMR_GCommand_DefaultConstruct (void)
MRC_API MR_GCommandMR_GCommand_DefaultConstructArray (size_t num_elems)
MRC_API MR_GCommandMR_GCommand_ConstructFrom (MR_MoveType type, MR_ArcPlane arcPlane, float feed, float x, float y, float z, MR_Vector3f arcCenter)
MRC_API const MR_GCommandMR_GCommand_OffsetPtr (const MR_GCommand *ptr, ptrdiff_t i)
MRC_API MR_GCommandMR_GCommand_OffsetMutablePtr (MR_GCommand *ptr, ptrdiff_t i)
MRC_API MR_GCommandMR_GCommand_ConstructFromAnother (const MR_GCommand *_other)
MRC_API void MR_GCommand_Destroy (const MR_GCommand *_this)
 Destroys a heap-allocated instance of MR_GCommand. Does nothing if the pointer is null.
MRC_API void MR_GCommand_DestroyArray (const MR_GCommand *_this)
 Destroys a heap-allocated array of MR_GCommand. Does nothing if the pointer is null.
MRC_API MR_GCommandMR_GCommand_AssignFromAnother (MR_GCommand *_this, const MR_GCommand *_other)
MRC_API const MR_MeshMR_ToolPathResult_Get_modifiedMesh (const MR_ToolPathResult *_this)
MRC_API void MR_ToolPathResult_Set_modifiedMesh (MR_ToolPathResult *_this, MR_PassBy value_pass_by, MR_Mesh *value)
MRC_API MR_MeshMR_ToolPathResult_GetMutable_modifiedMesh (MR_ToolPathResult *_this)
MRC_API const MR_FaceBitSetMR_ToolPathResult_Get_modifiedRegion (const MR_ToolPathResult *_this)
MRC_API void MR_ToolPathResult_Set_modifiedRegion (MR_ToolPathResult *_this, MR_PassBy value_pass_by, MR_FaceBitSet *value)
MRC_API MR_FaceBitSetMR_ToolPathResult_GetMutable_modifiedRegion (MR_ToolPathResult *_this)
MRC_API const MR_std_vector_MR_GCommandMR_ToolPathResult_Get_commands (const MR_ToolPathResult *_this)
MRC_API void MR_ToolPathResult_Set_commands (MR_ToolPathResult *_this, MR_PassBy value_pass_by, MR_std_vector_MR_GCommand *value)
MRC_API MR_std_vector_MR_GCommandMR_ToolPathResult_GetMutable_commands (MR_ToolPathResult *_this)
MRC_API MR_ToolPathResultMR_ToolPathResult_DefaultConstruct (void)
MRC_API MR_ToolPathResultMR_ToolPathResult_DefaultConstructArray (size_t num_elems)
MRC_API MR_ToolPathResultMR_ToolPathResult_ConstructFrom (MR_PassBy modifiedMesh_pass_by, MR_Mesh *modifiedMesh, MR_PassBy modifiedRegion_pass_by, MR_FaceBitSet *modifiedRegion, MR_PassBy commands_pass_by, MR_std_vector_MR_GCommand *commands)
MRC_API const MR_ToolPathResultMR_ToolPathResult_OffsetPtr (const MR_ToolPathResult *ptr, ptrdiff_t i)
MRC_API MR_ToolPathResultMR_ToolPathResult_OffsetMutablePtr (MR_ToolPathResult *ptr, ptrdiff_t i)
MRC_API MR_ToolPathResultMR_ToolPathResult_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ToolPathResult *_other)
MRC_API void MR_ToolPathResult_Destroy (const MR_ToolPathResult *_this)
 Destroys a heap-allocated instance of MR_ToolPathResult. Does nothing if the pointer is null.
MRC_API void MR_ToolPathResult_DestroyArray (const MR_ToolPathResult *_this)
 Destroys a heap-allocated array of MR_ToolPathResult. Does nothing if the pointer is null.
MRC_API MR_ToolPathResultMR_ToolPathResult_AssignFromAnother (MR_ToolPathResult *_this, MR_PassBy _other_pass_by, MR_ToolPathResult *_other)
MRC_API MR_expected_MR_ToolPathResult_std_stringMR_constantZToolPath (const MR_MeshPart *mp, const MR_ToolPathParams *params)
MRC_API MR_expected_MR_ToolPathResult_std_stringMR_lacingToolPath (const MR_MeshPart *mp, const MR_ToolPathParams *params, MR_Axis cutDirection)
MRC_API MR_expected_MR_ToolPathResult_std_stringMR_constantCuspToolPath (const MR_MeshPart *mp, const MR_ConstantCuspParams *params)
MRC_API MR_std_shared_ptr_MR_ObjectGcodeMR_exportToolPathToGCode (const MR_std_vector_MR_GCommand *commands)
MRC_API MR_expected_void_std_stringMR_interpolateLines (MR_std_vector_MR_GCommand *commands, const MR_LineInterpolationParams *params, MR_Axis axis)
MRC_API MR_expected_void_std_stringMR_interpolateArcs (MR_std_vector_MR_GCommand *commands, const MR_ArcInterpolationParams *params, MR_Axis axis)
MRC_API MR_FaceBitSetMR_smoothSelection (MR_Mesh *mesh, const MR_FaceBitSet *region, float expandOffset, float shrinkOffset)

Typedef Documentation

◆ MR_ArcInterpolationParams

Tolerance parameters for arc interpolation of tool path segments Generated from class MR::ArcInterpolationParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ArcPlane

typedef enum MR_ArcPlane MR_ArcPlane

G-code arc plane selection.

◆ MR_BypassDirection

Direction in which the tool traverses each contour.

◆ MR_ConstantCuspParams

Tool path parameters specific to the constant-cusp strategy Generated from class MR::ConstantCuspParams. Base classes: Direct: (non-virtual) MR::ToolPathParams Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_LineInterpolationParams

Tolerance parameters for linear interpolation of tool path segments Generated from class MR::LineInterpolationParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_MoveType

typedef enum MR_MoveType MR_MoveType

G-code move command type.

◆ MR_ToolPathParams

Parameters shared by all tool path generation functions Generated from class MR::ToolPathParams. Derived classes: Direct: (non-virtual) MR::ConstantCuspParams Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Enumeration Type Documentation

◆ MR_ArcPlane

G-code arc plane selection.

Enumerator
MR_ArcPlane_None 

No plane selected.

G17 — XY plane

MR_ArcPlane_XY 

G18 — XZ plane.

MR_ArcPlane_XZ 

G19 — YZ plane.

MR_ArcPlane_YZ 

◆ MR_BypassDirection

Direction in which the tool traverses each contour.

Enumerator
MR_BypassDirection_Clockwise 

Tool moves clockwise around the section.

Tool moves counter-clockwise around the section

MR_BypassDirection_CounterClockwise 

◆ MR_MoveType

G-code move command type.

Enumerator
MR_MoveType_None 

No movement.

G0 rapid positioning

MR_MoveType_FastLinear 

G1 linear interpolation at feed rate.

MR_MoveType_Linear 

G2 circular interpolation, clockwise.

MR_MoveType_ArcCW 

G3 circular interpolation, counter-clockwise.

MR_MoveType_ArcCCW 

Function Documentation

◆ MR_ArcInterpolationParams_AssignFromAnother()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_AssignFromAnother ( MR_ArcInterpolationParams * _this,
MR_PassBy _other_pass_by,
MR_ArcInterpolationParams * _other )

Generated from method MR::ArcInterpolationParams::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ArcInterpolationParams_ConstructFrom()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_ConstructFrom ( float eps,
float maxRadius,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs MR::ArcInterpolationParams elementwise. The reference to the parameter cb might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ArcInterpolationParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_ArcInterpolationParams_ConstructFromAnother()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ArcInterpolationParams * _other )

Generated from constructor MR::ArcInterpolationParams::ArcInterpolationParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ArcInterpolationParams_Destroy() to free it when you're done using it.

◆ MR_ArcInterpolationParams_DefaultConstruct()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ArcInterpolationParams_Destroy() to free it when you're done using it.

◆ MR_ArcInterpolationParams_DefaultConstructArray()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ArcInterpolationParams_DestroyArray(). Use MR_ArcInterpolationParams_OffsetMutablePtr() and MR_ArcInterpolationParams_OffsetPtr() to access the array elements.

◆ MR_ArcInterpolationParams_Destroy()

MRC_API void MR_ArcInterpolationParams_Destroy ( const MR_ArcInterpolationParams * _this)

Destroys a heap-allocated instance of MR_ArcInterpolationParams. Does nothing if the pointer is null.

◆ MR_ArcInterpolationParams_DestroyArray()

MRC_API void MR_ArcInterpolationParams_DestroyArray ( const MR_ArcInterpolationParams * _this)

Destroys a heap-allocated array of MR_ArcInterpolationParams. Does nothing if the pointer is null.

◆ MR_ArcInterpolationParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_ArcInterpolationParams_Get_cb ( const MR_ArcInterpolationParams * _this)

callback for reporting on progress Returns a pointer to a member variable of class MR::ArcInterpolationParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_Get_eps()

MRC_API const float * MR_ArcInterpolationParams_Get_eps ( const MR_ArcInterpolationParams * _this)

maximal deviation of arc from given path Returns a pointer to a member variable of class MR::ArcInterpolationParams named eps. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_Get_maxRadius()

MRC_API const float * MR_ArcInterpolationParams_Get_maxRadius ( const MR_ArcInterpolationParams * _this)

maximal radius of the arc Returns a pointer to a member variable of class MR::ArcInterpolationParams named maxRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_ArcInterpolationParams_GetMutable_cb ( MR_ArcInterpolationParams * _this)

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::ArcInterpolationParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_GetMutable_eps()

MRC_API float * MR_ArcInterpolationParams_GetMutable_eps ( MR_ArcInterpolationParams * _this)

maximal deviation of arc from given path Returns a mutable pointer to a member variable of class MR::ArcInterpolationParams named eps. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_GetMutable_maxRadius()

MRC_API float * MR_ArcInterpolationParams_GetMutable_maxRadius ( MR_ArcInterpolationParams * _this)

maximal radius of the arc Returns a mutable pointer to a member variable of class MR::ArcInterpolationParams named maxRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ArcInterpolationParams_OffsetMutablePtr()

MRC_API MR_ArcInterpolationParams * MR_ArcInterpolationParams_OffsetMutablePtr ( MR_ArcInterpolationParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ArcInterpolationParams_OffsetPtr()

MRC_API const MR_ArcInterpolationParams * MR_ArcInterpolationParams_OffsetPtr ( const MR_ArcInterpolationParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ArcInterpolationParams_Set_cb()

MRC_API void MR_ArcInterpolationParams_Set_cb ( MR_ArcInterpolationParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for reporting on progress Modifies a member variable of class MR::ArcInterpolationParams named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.

◆ MR_ArcInterpolationParams_Set_eps()

MRC_API void MR_ArcInterpolationParams_Set_eps ( MR_ArcInterpolationParams * _this,
float value )

maximal deviation of arc from given path Modifies a member variable of class MR::ArcInterpolationParams named eps. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in eps.

◆ MR_ArcInterpolationParams_Set_maxRadius()

MRC_API void MR_ArcInterpolationParams_Set_maxRadius ( MR_ArcInterpolationParams * _this,
float value )

maximal radius of the arc Modifies a member variable of class MR::ArcInterpolationParams named maxRadius. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxRadius.

◆ MR_ConstantCuspParams_AssignFromAnother()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_AssignFromAnother ( MR_ConstantCuspParams * _this,
MR_PassBy _other_pass_by,
MR_ConstantCuspParams * _other )

Generated from method MR::ConstantCuspParams::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ConstantCuspParams_ConstructFromAnother()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ConstantCuspParams * _other )

Generated from constructor MR::ConstantCuspParams::ConstantCuspParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ConstantCuspParams_Destroy() to free it when you're done using it.

◆ MR_ConstantCuspParams_DefaultConstruct()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ConstantCuspParams_Destroy() to free it when you're done using it.

◆ MR_ConstantCuspParams_DefaultConstructArray()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ConstantCuspParams_DestroyArray(). Use MR_ConstantCuspParams_OffsetMutablePtr() and MR_ConstantCuspParams_OffsetPtr() to access the array elements.

◆ MR_ConstantCuspParams_Destroy()

MRC_API void MR_ConstantCuspParams_Destroy ( const MR_ConstantCuspParams * _this)

Destroys a heap-allocated instance of MR_ConstantCuspParams. Does nothing if the pointer is null.

◆ MR_ConstantCuspParams_DestroyArray()

MRC_API void MR_ConstantCuspParams_DestroyArray ( const MR_ConstantCuspParams * _this)

Destroys a heap-allocated array of MR_ConstantCuspParams. Does nothing if the pointer is null.

◆ MR_ConstantCuspParams_Get_baseFeed()

MRC_API const float * MR_ConstantCuspParams_Get_baseFeed ( const MR_ConstantCuspParams * _this)

speed of regular milling Returns a pointer to a member variable of class MR::ConstantCuspParams named baseFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_bypassDir()

MRC_API const MR_BypassDirection * MR_ConstantCuspParams_Get_bypassDir ( const MR_ConstantCuspParams * _this)

which direction isolines or sections should be passed in Returns a pointer to a member variable of class MR::ConstantCuspParams named bypassDir. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_ConstantCuspParams_Get_cb ( const MR_ConstantCuspParams * _this)

callback for reporting on progress Returns a pointer to a member variable of class MR::ConstantCuspParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_critTransitionLength()

MRC_API const float * MR_ConstantCuspParams_Get_critTransitionLength ( const MR_ConstantCuspParams * _this)

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Returns a pointer to a member variable of class MR::ConstantCuspParams named critTransitionLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_flatTool()

MRC_API const bool * MR_ConstantCuspParams_Get_flatTool ( const MR_ConstantCuspParams * _this)

if true then a tool path for a flat milling tool will be generated Returns a pointer to a member variable of class MR::ConstantCuspParams named flatTool. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_fromCenterToBoundary()

MRC_API const bool * MR_ConstantCuspParams_Get_fromCenterToBoundary ( const MR_ConstantCuspParams * _this)

if true isolines will be processed from center point to the boundary (usually it means from up to down) Returns a pointer to a member variable of class MR::ConstantCuspParams named fromCenterToBoundary. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_isolines()

MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_isolines ( const MR_ConstantCuspParams * _this)

optional output, stores isolines without transits Returns a pointer to a member variable of class MR::ConstantCuspParams named isolines. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_millRadius()

MRC_API const float * MR_ConstantCuspParams_Get_millRadius ( const MR_ConstantCuspParams * _this)

radius of the milling tool Returns a pointer to a member variable of class MR::ConstantCuspParams named millRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_offsetMesh()

MRC_API MR_MeshPart *const * MR_ConstantCuspParams_Get_offsetMesh ( const MR_ConstantCuspParams * _this)

optional pre-computed offset mesh; if null, it will be computed internally Returns a pointer to a member variable of class MR::ConstantCuspParams named offsetMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_plungeFeed()

MRC_API const float * MR_ConstantCuspParams_Get_plungeFeed ( const MR_ConstantCuspParams * _this)

speed of slow movement down Returns a pointer to a member variable of class MR::ConstantCuspParams named plungeFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_plungeLength()

MRC_API const float * MR_ConstantCuspParams_Get_plungeLength ( const MR_ConstantCuspParams * _this)

when the mill is moving down, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named plungeLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_retractFeed()

MRC_API const float * MR_ConstantCuspParams_Get_retractFeed ( const MR_ConstantCuspParams * _this)

speed of slow movement up Returns a pointer to a member variable of class MR::ConstantCuspParams named retractFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_retractLength()

MRC_API const float * MR_ConstantCuspParams_Get_retractLength ( const MR_ConstantCuspParams * _this)

when the mill is moving up, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named retractLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_safeZ()

MRC_API const float * MR_ConstantCuspParams_Get_safeZ ( const MR_ConstantCuspParams * _this)

z-coordinate of plane where tool can move in any direction without touching the object Returns a pointer to a member variable of class MR::ConstantCuspParams named safeZ. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_sectionStep()

MRC_API const float * MR_ConstantCuspParams_Get_sectionStep ( const MR_ConstantCuspParams * _this)

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Returns a pointer to a member variable of class MR::ConstantCuspParams named sectionStep. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_startContours()

MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_startContours ( const MR_ConstantCuspParams * _this)

optional output, polyline containing start vertices for isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startContours. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_startVertices()

MRC_API MR_std_vector_MR_Vector3f *const * MR_ConstantCuspParams_Get_startVertices ( const MR_ConstantCuspParams * _this)

start vertices on the offset mesh used for calculating isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_toolpathExpansion()

MRC_API const float * MR_ConstantCuspParams_Get_toolpathExpansion ( const MR_ConstantCuspParams * _this)

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Returns a pointer to a member variable of class MR::ConstantCuspParams named toolpathExpansion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_voxelSize()

MRC_API const float * MR_ConstantCuspParams_Get_voxelSize ( const MR_ConstantCuspParams * _this)

size of voxel needed to offset mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_Get_xf()

MRC_API const MR_AffineXf3f *const * MR_ConstantCuspParams_Get_xf ( const MR_ConstantCuspParams * _this)

mesh can be transformed using xf parameter Returns a pointer to a member variable of class MR::ConstantCuspParams named xf. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_baseFeed()

MRC_API float * MR_ConstantCuspParams_GetMutable_baseFeed ( MR_ConstantCuspParams * _this)

speed of regular milling Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named baseFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_bypassDir()

MRC_API MR_BypassDirection * MR_ConstantCuspParams_GetMutable_bypassDir ( MR_ConstantCuspParams * _this)

which direction isolines or sections should be passed in Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named bypassDir. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_ConstantCuspParams_GetMutable_cb ( MR_ConstantCuspParams * _this)

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_critTransitionLength()

MRC_API float * MR_ConstantCuspParams_GetMutable_critTransitionLength ( MR_ConstantCuspParams * _this)

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named critTransitionLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_flatTool()

MRC_API bool * MR_ConstantCuspParams_GetMutable_flatTool ( MR_ConstantCuspParams * _this)

if true then a tool path for a flat milling tool will be generated Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named flatTool. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_fromCenterToBoundary()

MRC_API bool * MR_ConstantCuspParams_GetMutable_fromCenterToBoundary ( MR_ConstantCuspParams * _this)

if true isolines will be processed from center point to the boundary (usually it means from up to down) Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named fromCenterToBoundary. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_isolines()

MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_isolines ( MR_ConstantCuspParams * _this)

optional output, stores isolines without transits Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named isolines. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_millRadius()

MRC_API float * MR_ConstantCuspParams_GetMutable_millRadius ( MR_ConstantCuspParams * _this)

radius of the milling tool Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named millRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_offsetMesh()

MRC_API MR_MeshPart ** MR_ConstantCuspParams_GetMutable_offsetMesh ( MR_ConstantCuspParams * _this)

optional pre-computed offset mesh; if null, it will be computed internally Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named offsetMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_plungeFeed()

MRC_API float * MR_ConstantCuspParams_GetMutable_plungeFeed ( MR_ConstantCuspParams * _this)

speed of slow movement down Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named plungeFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_plungeLength()

MRC_API float * MR_ConstantCuspParams_GetMutable_plungeLength ( MR_ConstantCuspParams * _this)

when the mill is moving down, it will be slowed down in this distance from mesh Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named plungeLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_retractFeed()

MRC_API float * MR_ConstantCuspParams_GetMutable_retractFeed ( MR_ConstantCuspParams * _this)

speed of slow movement up Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named retractFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_retractLength()

MRC_API float * MR_ConstantCuspParams_GetMutable_retractLength ( MR_ConstantCuspParams * _this)

when the mill is moving up, it will be slowed down in this distance from mesh Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named retractLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_safeZ()

MRC_API float * MR_ConstantCuspParams_GetMutable_safeZ ( MR_ConstantCuspParams * _this)

z-coordinate of plane where tool can move in any direction without touching the object Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named safeZ. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_sectionStep()

MRC_API float * MR_ConstantCuspParams_GetMutable_sectionStep ( MR_ConstantCuspParams * _this)

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named sectionStep. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_startContours()

MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_startContours ( MR_ConstantCuspParams * _this)

optional output, polyline containing start vertices for isolines Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named startContours. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_startVertices()

MRC_API MR_std_vector_MR_Vector3f ** MR_ConstantCuspParams_GetMutable_startVertices ( MR_ConstantCuspParams * _this)

start vertices on the offset mesh used for calculating isolines Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named startVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_toolpathExpansion()

MRC_API float * MR_ConstantCuspParams_GetMutable_toolpathExpansion ( MR_ConstantCuspParams * _this)

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named toolpathExpansion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_voxelSize()

MRC_API float * MR_ConstantCuspParams_GetMutable_voxelSize ( MR_ConstantCuspParams * _this)

size of voxel needed to offset mesh Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_GetMutable_xf()

MRC_API const MR_AffineXf3f ** MR_ConstantCuspParams_GetMutable_xf ( MR_ConstantCuspParams * _this)

mesh can be transformed using xf parameter Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named xf. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ConstantCuspParams_MutableStaticDowncastFrom_MR_ToolPathParams()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_MutableStaticDowncastFrom_MR_ToolPathParams ( MR_ToolPathParams * object)

Downcasts an instance of MR::ToolPathParams to a derived class MR::ConstantCuspParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_ConstantCuspParams_MutableUpcastTo_MR_ToolPathParams()

MRC_API MR_ToolPathParams * MR_ConstantCuspParams_MutableUpcastTo_MR_ToolPathParams ( MR_ConstantCuspParams * object)

Upcasts an instance of MR::ConstantCuspParams to its base class MR::ToolPathParams. The reference to the parameter object might be preserved in the return value.

◆ MR_ConstantCuspParams_OffsetMutablePtr()

MRC_API MR_ConstantCuspParams * MR_ConstantCuspParams_OffsetMutablePtr ( MR_ConstantCuspParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ConstantCuspParams_OffsetPtr()

MRC_API const MR_ConstantCuspParams * MR_ConstantCuspParams_OffsetPtr ( const MR_ConstantCuspParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ConstantCuspParams_Set_baseFeed()

MRC_API void MR_ConstantCuspParams_Set_baseFeed ( MR_ConstantCuspParams * _this,
float value )

speed of regular milling Modifies a member variable of class MR::ConstantCuspParams named baseFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in baseFeed.

◆ MR_ConstantCuspParams_Set_bypassDir()

MRC_API void MR_ConstantCuspParams_Set_bypassDir ( MR_ConstantCuspParams * _this,
MR_BypassDirection value )

which direction isolines or sections should be passed in Modifies a member variable of class MR::ConstantCuspParams named bypassDir. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element bypassDir. When this function is called, this object will drop object references it held previously in bypassDir.

◆ MR_ConstantCuspParams_Set_cb()

MRC_API void MR_ConstantCuspParams_Set_cb ( MR_ConstantCuspParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for reporting on progress Modifies a member variable of class MR::ConstantCuspParams named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.

◆ MR_ConstantCuspParams_Set_critTransitionLength()

MRC_API void MR_ConstantCuspParams_Set_critTransitionLength ( MR_ConstantCuspParams * _this,
float value )

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Modifies a member variable of class MR::ConstantCuspParams named critTransitionLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in critTransitionLength.

◆ MR_ConstantCuspParams_Set_flatTool()

MRC_API void MR_ConstantCuspParams_Set_flatTool ( MR_ConstantCuspParams * _this,
bool value )

if true then a tool path for a flat milling tool will be generated Modifies a member variable of class MR::ConstantCuspParams named flatTool. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in flatTool.

◆ MR_ConstantCuspParams_Set_fromCenterToBoundary()

MRC_API void MR_ConstantCuspParams_Set_fromCenterToBoundary ( MR_ConstantCuspParams * _this,
bool value )

if true isolines will be processed from center point to the boundary (usually it means from up to down) Modifies a member variable of class MR::ConstantCuspParams named fromCenterToBoundary. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in fromCenterToBoundary.

◆ MR_ConstantCuspParams_Set_isolines()

MRC_API void MR_ConstantCuspParams_Set_isolines ( MR_ConstantCuspParams * _this,
MR_std_vector_std_vector_MR_Vector3f * value )

optional output, stores isolines without transits Modifies a member variable of class MR::ConstantCuspParams named isolines. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element isolines. When this function is called, this object will drop object references it held previously in isolines.

◆ MR_ConstantCuspParams_Set_millRadius()

MRC_API void MR_ConstantCuspParams_Set_millRadius ( MR_ConstantCuspParams * _this,
float value )

radius of the milling tool Modifies a member variable of class MR::ConstantCuspParams named millRadius. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in millRadius.

◆ MR_ConstantCuspParams_Set_offsetMesh()

MRC_API void MR_ConstantCuspParams_Set_offsetMesh ( MR_ConstantCuspParams * _this,
MR_MeshPart * value )

optional pre-computed offset mesh; if null, it will be computed internally Modifies a member variable of class MR::ConstantCuspParams named offsetMesh. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element offsetMesh. When this function is called, this object will drop object references it held previously in offsetMesh.

◆ MR_ConstantCuspParams_Set_plungeFeed()

MRC_API void MR_ConstantCuspParams_Set_plungeFeed ( MR_ConstantCuspParams * _this,
float value )

speed of slow movement down Modifies a member variable of class MR::ConstantCuspParams named plungeFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in plungeFeed.

◆ MR_ConstantCuspParams_Set_plungeLength()

MRC_API void MR_ConstantCuspParams_Set_plungeLength ( MR_ConstantCuspParams * _this,
float value )

when the mill is moving down, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ConstantCuspParams named plungeLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in plungeLength.

◆ MR_ConstantCuspParams_Set_retractFeed()

MRC_API void MR_ConstantCuspParams_Set_retractFeed ( MR_ConstantCuspParams * _this,
float value )

speed of slow movement up Modifies a member variable of class MR::ConstantCuspParams named retractFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in retractFeed.

◆ MR_ConstantCuspParams_Set_retractLength()

MRC_API void MR_ConstantCuspParams_Set_retractLength ( MR_ConstantCuspParams * _this,
float value )

when the mill is moving up, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ConstantCuspParams named retractLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in retractLength.

◆ MR_ConstantCuspParams_Set_safeZ()

MRC_API void MR_ConstantCuspParams_Set_safeZ ( MR_ConstantCuspParams * _this,
float value )

z-coordinate of plane where tool can move in any direction without touching the object Modifies a member variable of class MR::ConstantCuspParams named safeZ. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in safeZ.

◆ MR_ConstantCuspParams_Set_sectionStep()

MRC_API void MR_ConstantCuspParams_Set_sectionStep ( MR_ConstantCuspParams * _this,
float value )

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Modifies a member variable of class MR::ConstantCuspParams named sectionStep. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in sectionStep.

◆ MR_ConstantCuspParams_Set_startContours()

MRC_API void MR_ConstantCuspParams_Set_startContours ( MR_ConstantCuspParams * _this,
MR_std_vector_std_vector_MR_Vector3f * value )

optional output, polyline containing start vertices for isolines Modifies a member variable of class MR::ConstantCuspParams named startContours. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element startContours. When this function is called, this object will drop object references it held previously in startContours.

◆ MR_ConstantCuspParams_Set_startVertices()

MRC_API void MR_ConstantCuspParams_Set_startVertices ( MR_ConstantCuspParams * _this,
MR_std_vector_MR_Vector3f * value )

start vertices on the offset mesh used for calculating isolines Modifies a member variable of class MR::ConstantCuspParams named startVertices. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element startVertices. When this function is called, this object will drop object references it held previously in startVertices.

◆ MR_ConstantCuspParams_Set_toolpathExpansion()

MRC_API void MR_ConstantCuspParams_Set_toolpathExpansion ( MR_ConstantCuspParams * _this,
float value )

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Modifies a member variable of class MR::ConstantCuspParams named toolpathExpansion. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in toolpathExpansion.

◆ MR_ConstantCuspParams_Set_voxelSize()

MRC_API void MR_ConstantCuspParams_Set_voxelSize ( MR_ConstantCuspParams * _this,
float value )

size of voxel needed to offset mesh Modifies a member variable of class MR::ConstantCuspParams named voxelSize. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in voxelSize.

◆ MR_ConstantCuspParams_Set_xf()

MRC_API void MR_ConstantCuspParams_Set_xf ( MR_ConstantCuspParams * _this,
const MR_AffineXf3f * value )

mesh can be transformed using xf parameter Modifies a member variable of class MR::ConstantCuspParams named xf. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element xf. When this function is called, this object will drop object references it held previously in xf.

◆ MR_ConstantCuspParams_StaticDowncastFrom_MR_ToolPathParams()

MRC_API const MR_ConstantCuspParams * MR_ConstantCuspParams_StaticDowncastFrom_MR_ToolPathParams ( const MR_ToolPathParams * object)

Downcasts an instance of MR::ToolPathParams to a derived class MR::ConstantCuspParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ConstantCuspParams_UpcastTo_MR_ToolPathParams()

MRC_API const MR_ToolPathParams * MR_ConstantCuspParams_UpcastTo_MR_ToolPathParams ( const MR_ConstantCuspParams * object)

Upcasts an instance of MR::ConstantCuspParams to its base class MR::ToolPathParams. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_constantCuspToolPath()

MRC_API MR_expected_MR_ToolPathResult_std_string * MR_constantCuspToolPath ( const MR_MeshPart * mp,
const MR_ConstantCuspParams * params )

Computes a constant-cusp milling tool path for the given mesh. The toolpath is built from geodesic parallels diverging from a given start point or from the boundaries of selected areas. If neither is specified, the lowest section by XY plane will be used as a start contour. The mesh can be transformed using params.xf.

Parameters
mpinput mesh part to mill
paramsmilling and cusp parameters
Returns
tool path result, or an error string on failure Generated from function MR::constantCuspToolPath. Parameter mp can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_ToolPathResult_std_string_Destroy() to free it when you're done using it.

◆ MR_constantZToolPath()

MRC_API MR_expected_MR_ToolPathResult_std_string * MR_constantZToolPath ( const MR_MeshPart * mp,
const MR_ToolPathParams * params )

Computes a Z-level (constant-Z) milling tool path for the given mesh. Sections are built along the Z-axis from top to bottom. The mesh can be transformed using params.xf.

Parameters
mpinput mesh part to mill
paramsmilling parameters (offsets, feeds, voxel size, etc.)
Returns
tool path result, or an error string on failure Generated from function MR::constantZToolPath. Parameter mp can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_ToolPathResult_std_string_Destroy() to free it when you're done using it.

◆ MR_exportToolPathToGCode()

MRC_API MR_std_shared_ptr_MR_ObjectGcode * MR_exportToolPathToGCode ( const MR_std_vector_MR_GCommand * commands)

Generates a G-Code object from a list of G-code commands

Parameters
commandslist of G-code move commands to export
Returns
shared pointer to the resulting G-code object Generated from function MR::exportToolPathToGCode. Parameter commands can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_ObjectGcode_Destroy() to free it when you're done using it.

◆ MR_GCommand_AssignFromAnother()

MRC_API MR_GCommand * MR_GCommand_AssignFromAnother ( MR_GCommand * _this,
const MR_GCommand * _other )

Generated from method MR::GCommand::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_GCommand_ConstructFrom()

MRC_API MR_GCommand * MR_GCommand_ConstructFrom ( MR_MoveType type,
MR_ArcPlane arcPlane,
float feed,
float x,
float y,
float z,
MR_Vector3f arcCenter )

Constructs MR::GCommand elementwise. The reference to the parameter type might be preserved in the constructed object. The reference to the parameter arcPlane might be preserved in the constructed object. The reference to the parameter arcCenter might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_GCommand_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_GCommand_ConstructFromAnother()

MRC_API MR_GCommand * MR_GCommand_ConstructFromAnother ( const MR_GCommand * _other)

Generated from constructor MR::GCommand::GCommand. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_GCommand_Destroy() to free it when you're done using it.

◆ MR_GCommand_DefaultConstruct()

MRC_API MR_GCommand * MR_GCommand_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_GCommand_Destroy() to free it when you're done using it.

◆ MR_GCommand_DefaultConstructArray()

MRC_API MR_GCommand * MR_GCommand_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_GCommand_DestroyArray(). Use MR_GCommand_OffsetMutablePtr() and MR_GCommand_OffsetPtr() to access the array elements.

◆ MR_GCommand_Destroy()

MRC_API void MR_GCommand_Destroy ( const MR_GCommand * _this)

Destroys a heap-allocated instance of MR_GCommand. Does nothing if the pointer is null.

◆ MR_GCommand_DestroyArray()

MRC_API void MR_GCommand_DestroyArray ( const MR_GCommand * _this)

Destroys a heap-allocated array of MR_GCommand. Does nothing if the pointer is null.

◆ MR_GCommand_Get_arcCenter()

MRC_API const MR_Vector3f * MR_GCommand_Get_arcCenter ( const MR_GCommand * _this)

if type is ArcCW or ArcCCW center of the arc should be specified Returns a pointer to a member variable of class MR::GCommand named arcCenter. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_arcPlane()

MRC_API const MR_ArcPlane * MR_GCommand_Get_arcPlane ( const MR_GCommand * _this)

plane of the arc; only relevant when type is ArcCW or ArcCCW Returns a pointer to a member variable of class MR::GCommand named arcPlane. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_feed()

MRC_API const float * MR_GCommand_Get_feed ( const MR_GCommand * _this)

feedrate for move Returns a pointer to a member variable of class MR::GCommand named feed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_type()

MRC_API const MR_MoveType * MR_GCommand_Get_type ( const MR_GCommand * _this)

type of command GX (G0, G1, etc). By default - G1 Returns a pointer to a member variable of class MR::GCommand named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_x()

MRC_API const float * MR_GCommand_Get_x ( const MR_GCommand * _this)

coordinates of destination point Returns a pointer to a member variable of class MR::GCommand named x. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_y()

MRC_API const float * MR_GCommand_Get_y ( const MR_GCommand * _this)

Returns a pointer to a member variable of class MR::GCommand named y. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_Get_z()

MRC_API const float * MR_GCommand_Get_z ( const MR_GCommand * _this)

Returns a pointer to a member variable of class MR::GCommand named z. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_arcCenter()

MRC_API MR_Vector3f * MR_GCommand_GetMutable_arcCenter ( MR_GCommand * _this)

if type is ArcCW or ArcCCW center of the arc should be specified Returns a mutable pointer to a member variable of class MR::GCommand named arcCenter. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_arcPlane()

MRC_API MR_ArcPlane * MR_GCommand_GetMutable_arcPlane ( MR_GCommand * _this)

plane of the arc; only relevant when type is ArcCW or ArcCCW Returns a mutable pointer to a member variable of class MR::GCommand named arcPlane. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_feed()

MRC_API float * MR_GCommand_GetMutable_feed ( MR_GCommand * _this)

feedrate for move Returns a mutable pointer to a member variable of class MR::GCommand named feed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_type()

MRC_API MR_MoveType * MR_GCommand_GetMutable_type ( MR_GCommand * _this)

type of command GX (G0, G1, etc). By default - G1 Returns a mutable pointer to a member variable of class MR::GCommand named type. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_x()

MRC_API float * MR_GCommand_GetMutable_x ( MR_GCommand * _this)

coordinates of destination point Returns a mutable pointer to a member variable of class MR::GCommand named x. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_y()

MRC_API float * MR_GCommand_GetMutable_y ( MR_GCommand * _this)

Returns a mutable pointer to a member variable of class MR::GCommand named y. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_GetMutable_z()

MRC_API float * MR_GCommand_GetMutable_z ( MR_GCommand * _this)

Returns a mutable pointer to a member variable of class MR::GCommand named z. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_GCommand_OffsetMutablePtr()

MRC_API MR_GCommand * MR_GCommand_OffsetMutablePtr ( MR_GCommand * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_GCommand_OffsetPtr()

MRC_API const MR_GCommand * MR_GCommand_OffsetPtr ( const MR_GCommand * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_GCommand_Set_arcCenter()

MRC_API void MR_GCommand_Set_arcCenter ( MR_GCommand * _this,
MR_Vector3f value )

if type is ArcCW or ArcCCW center of the arc should be specified Modifies a member variable of class MR::GCommand named arcCenter. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element arcCenter. When this function is called, this object will drop object references it held previously in arcCenter.

◆ MR_GCommand_Set_arcPlane()

MRC_API void MR_GCommand_Set_arcPlane ( MR_GCommand * _this,
MR_ArcPlane value )

plane of the arc; only relevant when type is ArcCW or ArcCCW Modifies a member variable of class MR::GCommand named arcPlane. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element arcPlane. When this function is called, this object will drop object references it held previously in arcPlane.

◆ MR_GCommand_Set_feed()

MRC_API void MR_GCommand_Set_feed ( MR_GCommand * _this,
float value )

feedrate for move Modifies a member variable of class MR::GCommand named feed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in feed.

◆ MR_GCommand_Set_type()

MRC_API void MR_GCommand_Set_type ( MR_GCommand * _this,
MR_MoveType value )

type of command GX (G0, G1, etc). By default - G1 Modifies a member variable of class MR::GCommand named type. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element type. When this function is called, this object will drop object references it held previously in type.

◆ MR_GCommand_Set_x()

MRC_API void MR_GCommand_Set_x ( MR_GCommand * _this,
float value )

coordinates of destination point Modifies a member variable of class MR::GCommand named x. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in x.

◆ MR_GCommand_Set_y()

MRC_API void MR_GCommand_Set_y ( MR_GCommand * _this,
float value )

Modifies a member variable of class MR::GCommand named y. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in y.

◆ MR_GCommand_Set_z()

MRC_API void MR_GCommand_Set_z ( MR_GCommand * _this,
float value )

Modifies a member variable of class MR::GCommand named z. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in z.

◆ MR_interpolateArcs()

MRC_API MR_expected_void_std_string * MR_interpolateArcs ( MR_std_vector_MR_GCommand * commands,
const MR_ArcInterpolationParams * params,
MR_Axis axis )

Interpolates the given path with circular arc moves

Parameters
commandsG-code command list to simplify in place
paramsarc interpolation tolerance parameters
axisprincipal axis used for interpolation
Returns
error string on failure Generated from function MR::interpolateArcs. Parameter commands can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_interpolateLines()

MRC_API MR_expected_void_std_string * MR_interpolateLines ( MR_std_vector_MR_GCommand * commands,
const MR_LineInterpolationParams * params,
MR_Axis axis )

Interpolates runs of collinear points with a single linear move

Parameters
commandsG-code command list to simplify in place
paramsline interpolation tolerance parameters
axisprincipal axis used for interpolation
Returns
error string on failure Generated from function MR::interpolateLines. Parameter commands can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_lacingToolPath()

MRC_API MR_expected_MR_ToolPathResult_std_string * MR_lacingToolPath ( const MR_MeshPart * mp,
const MR_ToolPathParams * params,
MR_Axis cutDirection )

Computes a lacing (raster) milling tool path for the given mesh. This is a traditional lace-roughing toolpath; slices are built along the axis defined by cutDirection.

Parameters
mpinput mesh part to mill
paramsmilling parameters (offsets, feeds, voxel size, etc.)
cutDirectionaxis along which slices are built (Axis::X or Axis::Y)
Returns
tool path result, or an error string on failure Generated from function MR::lacingToolPath. Parameter mp can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_ToolPathResult_std_string_Destroy() to free it when you're done using it.

◆ MR_LineInterpolationParams_AssignFromAnother()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_AssignFromAnother ( MR_LineInterpolationParams * _this,
MR_PassBy _other_pass_by,
MR_LineInterpolationParams * _other )

Generated from method MR::LineInterpolationParams::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_LineInterpolationParams_ConstructFrom()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_ConstructFrom ( float eps,
float maxLength,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs MR::LineInterpolationParams elementwise. The reference to the parameter cb might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineInterpolationParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_LineInterpolationParams_ConstructFromAnother()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_LineInterpolationParams * _other )

Generated from constructor MR::LineInterpolationParams::LineInterpolationParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineInterpolationParams_Destroy() to free it when you're done using it.

◆ MR_LineInterpolationParams_DefaultConstruct()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_LineInterpolationParams_Destroy() to free it when you're done using it.

◆ MR_LineInterpolationParams_DefaultConstructArray()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_LineInterpolationParams_DestroyArray(). Use MR_LineInterpolationParams_OffsetMutablePtr() and MR_LineInterpolationParams_OffsetPtr() to access the array elements.

◆ MR_LineInterpolationParams_Destroy()

MRC_API void MR_LineInterpolationParams_Destroy ( const MR_LineInterpolationParams * _this)

Destroys a heap-allocated instance of MR_LineInterpolationParams. Does nothing if the pointer is null.

◆ MR_LineInterpolationParams_DestroyArray()

MRC_API void MR_LineInterpolationParams_DestroyArray ( const MR_LineInterpolationParams * _this)

Destroys a heap-allocated array of MR_LineInterpolationParams. Does nothing if the pointer is null.

◆ MR_LineInterpolationParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_LineInterpolationParams_Get_cb ( const MR_LineInterpolationParams * _this)

callback for reporting on progress Returns a pointer to a member variable of class MR::LineInterpolationParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_Get_eps()

MRC_API const float * MR_LineInterpolationParams_Get_eps ( const MR_LineInterpolationParams * _this)

maximal deviation from given line Returns a pointer to a member variable of class MR::LineInterpolationParams named eps. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_Get_maxLength()

MRC_API const float * MR_LineInterpolationParams_Get_maxLength ( const MR_LineInterpolationParams * _this)

maximal length of the line Returns a pointer to a member variable of class MR::LineInterpolationParams named maxLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_LineInterpolationParams_GetMutable_cb ( MR_LineInterpolationParams * _this)

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_GetMutable_eps()

MRC_API float * MR_LineInterpolationParams_GetMutable_eps ( MR_LineInterpolationParams * _this)

maximal deviation from given line Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named eps. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_GetMutable_maxLength()

MRC_API float * MR_LineInterpolationParams_GetMutable_maxLength ( MR_LineInterpolationParams * _this)

maximal length of the line Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named maxLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_LineInterpolationParams_OffsetMutablePtr()

MRC_API MR_LineInterpolationParams * MR_LineInterpolationParams_OffsetMutablePtr ( MR_LineInterpolationParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_LineInterpolationParams_OffsetPtr()

MRC_API const MR_LineInterpolationParams * MR_LineInterpolationParams_OffsetPtr ( const MR_LineInterpolationParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_LineInterpolationParams_Set_cb()

MRC_API void MR_LineInterpolationParams_Set_cb ( MR_LineInterpolationParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for reporting on progress Modifies a member variable of class MR::LineInterpolationParams named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.

◆ MR_LineInterpolationParams_Set_eps()

MRC_API void MR_LineInterpolationParams_Set_eps ( MR_LineInterpolationParams * _this,
float value )

maximal deviation from given line Modifies a member variable of class MR::LineInterpolationParams named eps. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in eps.

◆ MR_LineInterpolationParams_Set_maxLength()

MRC_API void MR_LineInterpolationParams_Set_maxLength ( MR_LineInterpolationParams * _this,
float value )

maximal length of the line Modifies a member variable of class MR::LineInterpolationParams named maxLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxLength.

◆ MR_smoothSelection()

MRC_API MR_FaceBitSet * MR_smoothSelection ( MR_Mesh * mesh,
const MR_FaceBitSet * region,
float expandOffset,
float shrinkOffset )

Smooths the given face selection by expanding the boundary outward and then shrinking it back. The input mesh is modified because new edges are cut along the new boundaries.

Parameters
meshinput mesh, modified in place
regionface selection to smooth
expandOffsetdistance by which the boundary is expanded outward
shrinkOffsetdistance by which the boundary is shrunk back inward
Returns
the smoothed face selection Generated from function MR::smoothSelection. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FaceBitSet_Destroy() to free it when you're done using it.

◆ MR_ToolPathParams_AssignFromAnother()

MRC_API MR_ToolPathParams * MR_ToolPathParams_AssignFromAnother ( MR_ToolPathParams * _this,
MR_PassBy _other_pass_by,
MR_ToolPathParams * _other )

Generated from method MR::ToolPathParams::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ToolPathParams_ConstructFrom()

MRC_API MR_ToolPathParams * MR_ToolPathParams_ConstructFrom ( float millRadius,
float voxelSize,
float sectionStep,
float critTransitionLength,
float plungeLength,
float retractLength,
float plungeFeed,
float retractFeed,
float baseFeed,
float safeZ,
MR_BypassDirection bypassDir,
const MR_AffineXf3f * xf,
bool flatTool,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
float toolpathExpansion,
MR_std_vector_std_vector_MR_Vector3f * isolines,
MR_std_vector_std_vector_MR_Vector3f * startContours,
MR_std_vector_MR_Vector3f * startVertices,
MR_MeshPart * offsetMesh )

Constructs MR::ToolPathParams elementwise. The reference to the parameter bypassDir might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter isolines might be preserved in the constructed object. The reference to the parameter startContours might be preserved in the constructed object. The reference to the parameter startVertices might be preserved in the constructed object. The reference to the parameter offsetMesh might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_ToolPathParams_ConstructFromAnother()

MRC_API MR_ToolPathParams * MR_ToolPathParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ToolPathParams * _other )

Generated from constructor MR::ToolPathParams::ToolPathParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathParams_Destroy() to free it when you're done using it.

◆ MR_ToolPathParams_DefaultConstruct()

MRC_API MR_ToolPathParams * MR_ToolPathParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathParams_Destroy() to free it when you're done using it.

◆ MR_ToolPathParams_DefaultConstructArray()

MRC_API MR_ToolPathParams * MR_ToolPathParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ToolPathParams_DestroyArray(). Use MR_ToolPathParams_OffsetMutablePtr() and MR_ToolPathParams_OffsetPtr() to access the array elements.

◆ MR_ToolPathParams_Destroy()

MRC_API void MR_ToolPathParams_Destroy ( const MR_ToolPathParams * _this)

Destroys a heap-allocated instance of MR_ToolPathParams. Does nothing if the pointer is null.

◆ MR_ToolPathParams_DestroyArray()

MRC_API void MR_ToolPathParams_DestroyArray ( const MR_ToolPathParams * _this)

Destroys a heap-allocated array of MR_ToolPathParams. Does nothing if the pointer is null.

◆ MR_ToolPathParams_Get_baseFeed()

MRC_API const float * MR_ToolPathParams_Get_baseFeed ( const MR_ToolPathParams * _this)

speed of regular milling Returns a pointer to a member variable of class MR::ToolPathParams named baseFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_bypassDir()

MRC_API const MR_BypassDirection * MR_ToolPathParams_Get_bypassDir ( const MR_ToolPathParams * _this)

which direction isolines or sections should be passed in Returns a pointer to a member variable of class MR::ToolPathParams named bypassDir. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_ToolPathParams_Get_cb ( const MR_ToolPathParams * _this)

callback for reporting on progress Returns a pointer to a member variable of class MR::ToolPathParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_critTransitionLength()

MRC_API const float * MR_ToolPathParams_Get_critTransitionLength ( const MR_ToolPathParams * _this)

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Returns a pointer to a member variable of class MR::ToolPathParams named critTransitionLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_flatTool()

MRC_API const bool * MR_ToolPathParams_Get_flatTool ( const MR_ToolPathParams * _this)

if true then a tool path for a flat milling tool will be generated Returns a pointer to a member variable of class MR::ToolPathParams named flatTool. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_isolines()

MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_isolines ( const MR_ToolPathParams * _this)

optional output, stores isolines without transits Returns a pointer to a member variable of class MR::ToolPathParams named isolines. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_millRadius()

MRC_API const float * MR_ToolPathParams_Get_millRadius ( const MR_ToolPathParams * _this)

radius of the milling tool Returns a pointer to a member variable of class MR::ToolPathParams named millRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_offsetMesh()

MRC_API MR_MeshPart *const * MR_ToolPathParams_Get_offsetMesh ( const MR_ToolPathParams * _this)

optional pre-computed offset mesh; if null, it will be computed internally Returns a pointer to a member variable of class MR::ToolPathParams named offsetMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_plungeFeed()

MRC_API const float * MR_ToolPathParams_Get_plungeFeed ( const MR_ToolPathParams * _this)

speed of slow movement down Returns a pointer to a member variable of class MR::ToolPathParams named plungeFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_plungeLength()

MRC_API const float * MR_ToolPathParams_Get_plungeLength ( const MR_ToolPathParams * _this)

when the mill is moving down, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ToolPathParams named plungeLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_retractFeed()

MRC_API const float * MR_ToolPathParams_Get_retractFeed ( const MR_ToolPathParams * _this)

speed of slow movement up Returns a pointer to a member variable of class MR::ToolPathParams named retractFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_retractLength()

MRC_API const float * MR_ToolPathParams_Get_retractLength ( const MR_ToolPathParams * _this)

when the mill is moving up, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ToolPathParams named retractLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_safeZ()

MRC_API const float * MR_ToolPathParams_Get_safeZ ( const MR_ToolPathParams * _this)

z-coordinate of plane where tool can move in any direction without touching the object Returns a pointer to a member variable of class MR::ToolPathParams named safeZ. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_sectionStep()

MRC_API const float * MR_ToolPathParams_Get_sectionStep ( const MR_ToolPathParams * _this)

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Returns a pointer to a member variable of class MR::ToolPathParams named sectionStep. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_startContours()

MRC_API MR_std_vector_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_startContours ( const MR_ToolPathParams * _this)

optional output, polyline containing start vertices for isolines Returns a pointer to a member variable of class MR::ToolPathParams named startContours. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_startVertices()

MRC_API MR_std_vector_MR_Vector3f *const * MR_ToolPathParams_Get_startVertices ( const MR_ToolPathParams * _this)

start vertices on the offset mesh used for calculating isolines Returns a pointer to a member variable of class MR::ToolPathParams named startVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_toolpathExpansion()

MRC_API const float * MR_ToolPathParams_Get_toolpathExpansion ( const MR_ToolPathParams * _this)

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Returns a pointer to a member variable of class MR::ToolPathParams named toolpathExpansion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_voxelSize()

MRC_API const float * MR_ToolPathParams_Get_voxelSize ( const MR_ToolPathParams * _this)

size of voxel needed to offset mesh Returns a pointer to a member variable of class MR::ToolPathParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_Get_xf()

MRC_API const MR_AffineXf3f *const * MR_ToolPathParams_Get_xf ( const MR_ToolPathParams * _this)

mesh can be transformed using xf parameter Returns a pointer to a member variable of class MR::ToolPathParams named xf. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_baseFeed()

MRC_API float * MR_ToolPathParams_GetMutable_baseFeed ( MR_ToolPathParams * _this)

speed of regular milling Returns a mutable pointer to a member variable of class MR::ToolPathParams named baseFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_bypassDir()

MRC_API MR_BypassDirection * MR_ToolPathParams_GetMutable_bypassDir ( MR_ToolPathParams * _this)

which direction isolines or sections should be passed in Returns a mutable pointer to a member variable of class MR::ToolPathParams named bypassDir. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_ToolPathParams_GetMutable_cb ( MR_ToolPathParams * _this)

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::ToolPathParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_critTransitionLength()

MRC_API float * MR_ToolPathParams_GetMutable_critTransitionLength ( MR_ToolPathParams * _this)

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Returns a mutable pointer to a member variable of class MR::ToolPathParams named critTransitionLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_flatTool()

MRC_API bool * MR_ToolPathParams_GetMutable_flatTool ( MR_ToolPathParams * _this)

if true then a tool path for a flat milling tool will be generated Returns a mutable pointer to a member variable of class MR::ToolPathParams named flatTool. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_isolines()

MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_isolines ( MR_ToolPathParams * _this)

optional output, stores isolines without transits Returns a mutable pointer to a member variable of class MR::ToolPathParams named isolines. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_millRadius()

MRC_API float * MR_ToolPathParams_GetMutable_millRadius ( MR_ToolPathParams * _this)

radius of the milling tool Returns a mutable pointer to a member variable of class MR::ToolPathParams named millRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_offsetMesh()

MRC_API MR_MeshPart ** MR_ToolPathParams_GetMutable_offsetMesh ( MR_ToolPathParams * _this)

optional pre-computed offset mesh; if null, it will be computed internally Returns a mutable pointer to a member variable of class MR::ToolPathParams named offsetMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_plungeFeed()

MRC_API float * MR_ToolPathParams_GetMutable_plungeFeed ( MR_ToolPathParams * _this)

speed of slow movement down Returns a mutable pointer to a member variable of class MR::ToolPathParams named plungeFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_plungeLength()

MRC_API float * MR_ToolPathParams_GetMutable_plungeLength ( MR_ToolPathParams * _this)

when the mill is moving down, it will be slowed down in this distance from mesh Returns a mutable pointer to a member variable of class MR::ToolPathParams named plungeLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_retractFeed()

MRC_API float * MR_ToolPathParams_GetMutable_retractFeed ( MR_ToolPathParams * _this)

speed of slow movement up Returns a mutable pointer to a member variable of class MR::ToolPathParams named retractFeed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_retractLength()

MRC_API float * MR_ToolPathParams_GetMutable_retractLength ( MR_ToolPathParams * _this)

when the mill is moving up, it will be slowed down in this distance from mesh Returns a mutable pointer to a member variable of class MR::ToolPathParams named retractLength. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_safeZ()

MRC_API float * MR_ToolPathParams_GetMutable_safeZ ( MR_ToolPathParams * _this)

z-coordinate of plane where tool can move in any direction without touching the object Returns a mutable pointer to a member variable of class MR::ToolPathParams named safeZ. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_sectionStep()

MRC_API float * MR_ToolPathParams_GetMutable_sectionStep ( MR_ToolPathParams * _this)

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Returns a mutable pointer to a member variable of class MR::ToolPathParams named sectionStep. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_startContours()

MRC_API MR_std_vector_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_startContours ( MR_ToolPathParams * _this)

optional output, polyline containing start vertices for isolines Returns a mutable pointer to a member variable of class MR::ToolPathParams named startContours. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_startVertices()

MRC_API MR_std_vector_MR_Vector3f ** MR_ToolPathParams_GetMutable_startVertices ( MR_ToolPathParams * _this)

start vertices on the offset mesh used for calculating isolines Returns a mutable pointer to a member variable of class MR::ToolPathParams named startVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_toolpathExpansion()

MRC_API float * MR_ToolPathParams_GetMutable_toolpathExpansion ( MR_ToolPathParams * _this)

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Returns a mutable pointer to a member variable of class MR::ToolPathParams named toolpathExpansion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_voxelSize()

MRC_API float * MR_ToolPathParams_GetMutable_voxelSize ( MR_ToolPathParams * _this)

size of voxel needed to offset mesh Returns a mutable pointer to a member variable of class MR::ToolPathParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_GetMutable_xf()

MRC_API const MR_AffineXf3f ** MR_ToolPathParams_GetMutable_xf ( MR_ToolPathParams * _this)

mesh can be transformed using xf parameter Returns a mutable pointer to a member variable of class MR::ToolPathParams named xf. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathParams_OffsetMutablePtr()

MRC_API MR_ToolPathParams * MR_ToolPathParams_OffsetMutablePtr ( MR_ToolPathParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ToolPathParams_OffsetPtr()

MRC_API const MR_ToolPathParams * MR_ToolPathParams_OffsetPtr ( const MR_ToolPathParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ToolPathParams_Set_baseFeed()

MRC_API void MR_ToolPathParams_Set_baseFeed ( MR_ToolPathParams * _this,
float value )

speed of regular milling Modifies a member variable of class MR::ToolPathParams named baseFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in baseFeed.

◆ MR_ToolPathParams_Set_bypassDir()

MRC_API void MR_ToolPathParams_Set_bypassDir ( MR_ToolPathParams * _this,
MR_BypassDirection value )

which direction isolines or sections should be passed in Modifies a member variable of class MR::ToolPathParams named bypassDir. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element bypassDir. When this function is called, this object will drop object references it held previously in bypassDir.

◆ MR_ToolPathParams_Set_cb()

MRC_API void MR_ToolPathParams_Set_cb ( MR_ToolPathParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for reporting on progress Modifies a member variable of class MR::ToolPathParams named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.

◆ MR_ToolPathParams_Set_critTransitionLength()

MRC_API void MR_ToolPathParams_Set_critTransitionLength ( MR_ToolPathParams * _this,
float value )

if distance to the next section is smaller than it, transition will be performed along the surface; otherwise transition will be through the safe plane Modifies a member variable of class MR::ToolPathParams named critTransitionLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in critTransitionLength.

◆ MR_ToolPathParams_Set_flatTool()

MRC_API void MR_ToolPathParams_Set_flatTool ( MR_ToolPathParams * _this,
bool value )

if true then a tool path for a flat milling tool will be generated Modifies a member variable of class MR::ToolPathParams named flatTool. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in flatTool.

◆ MR_ToolPathParams_Set_isolines()

MRC_API void MR_ToolPathParams_Set_isolines ( MR_ToolPathParams * _this,
MR_std_vector_std_vector_MR_Vector3f * value )

optional output, stores isolines without transits Modifies a member variable of class MR::ToolPathParams named isolines. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element isolines. When this function is called, this object will drop object references it held previously in isolines.

◆ MR_ToolPathParams_Set_millRadius()

MRC_API void MR_ToolPathParams_Set_millRadius ( MR_ToolPathParams * _this,
float value )

radius of the milling tool Modifies a member variable of class MR::ToolPathParams named millRadius. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in millRadius.

◆ MR_ToolPathParams_Set_offsetMesh()

MRC_API void MR_ToolPathParams_Set_offsetMesh ( MR_ToolPathParams * _this,
MR_MeshPart * value )

optional pre-computed offset mesh; if null, it will be computed internally Modifies a member variable of class MR::ToolPathParams named offsetMesh. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element offsetMesh. When this function is called, this object will drop object references it held previously in offsetMesh.

◆ MR_ToolPathParams_Set_plungeFeed()

MRC_API void MR_ToolPathParams_Set_plungeFeed ( MR_ToolPathParams * _this,
float value )

speed of slow movement down Modifies a member variable of class MR::ToolPathParams named plungeFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in plungeFeed.

◆ MR_ToolPathParams_Set_plungeLength()

MRC_API void MR_ToolPathParams_Set_plungeLength ( MR_ToolPathParams * _this,
float value )

when the mill is moving down, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ToolPathParams named plungeLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in plungeLength.

◆ MR_ToolPathParams_Set_retractFeed()

MRC_API void MR_ToolPathParams_Set_retractFeed ( MR_ToolPathParams * _this,
float value )

speed of slow movement up Modifies a member variable of class MR::ToolPathParams named retractFeed. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in retractFeed.

◆ MR_ToolPathParams_Set_retractLength()

MRC_API void MR_ToolPathParams_Set_retractLength ( MR_ToolPathParams * _this,
float value )

when the mill is moving up, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ToolPathParams named retractLength. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in retractLength.

◆ MR_ToolPathParams_Set_safeZ()

MRC_API void MR_ToolPathParams_Set_safeZ ( MR_ToolPathParams * _this,
float value )

z-coordinate of plane where tool can move in any direction without touching the object Modifies a member variable of class MR::ToolPathParams named safeZ. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in safeZ.

◆ MR_ToolPathParams_Set_sectionStep()

MRC_API void MR_ToolPathParams_Set_sectionStep ( MR_ToolPathParams * _this,
float value )

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Modifies a member variable of class MR::ToolPathParams named sectionStep. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in sectionStep.

◆ MR_ToolPathParams_Set_startContours()

MRC_API void MR_ToolPathParams_Set_startContours ( MR_ToolPathParams * _this,
MR_std_vector_std_vector_MR_Vector3f * value )

optional output, polyline containing start vertices for isolines Modifies a member variable of class MR::ToolPathParams named startContours. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element startContours. When this function is called, this object will drop object references it held previously in startContours.

◆ MR_ToolPathParams_Set_startVertices()

MRC_API void MR_ToolPathParams_Set_startVertices ( MR_ToolPathParams * _this,
MR_std_vector_MR_Vector3f * value )

start vertices on the offset mesh used for calculating isolines Modifies a member variable of class MR::ToolPathParams named startVertices. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element startVertices. When this function is called, this object will drop object references it held previously in startVertices.

◆ MR_ToolPathParams_Set_toolpathExpansion()

MRC_API void MR_ToolPathParams_Set_toolpathExpansion ( MR_ToolPathParams * _this,
float value )

if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas; the area has the shape of a box; lacing specific only Modifies a member variable of class MR::ToolPathParams named toolpathExpansion. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in toolpathExpansion.

◆ MR_ToolPathParams_Set_voxelSize()

MRC_API void MR_ToolPathParams_Set_voxelSize ( MR_ToolPathParams * _this,
float value )

size of voxel needed to offset mesh Modifies a member variable of class MR::ToolPathParams named voxelSize. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in voxelSize.

◆ MR_ToolPathParams_Set_xf()

MRC_API void MR_ToolPathParams_Set_xf ( MR_ToolPathParams * _this,
const MR_AffineXf3f * value )

mesh can be transformed using xf parameter Modifies a member variable of class MR::ToolPathParams named xf. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element xf. When this function is called, this object will drop object references it held previously in xf.

◆ MR_ToolPathResult_AssignFromAnother()

MRC_API MR_ToolPathResult * MR_ToolPathResult_AssignFromAnother ( MR_ToolPathResult * _this,
MR_PassBy _other_pass_by,
MR_ToolPathResult * _other )

Generated from method MR::ToolPathResult::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ToolPathResult_ConstructFrom()

MRC_API MR_ToolPathResult * MR_ToolPathResult_ConstructFrom ( MR_PassBy modifiedMesh_pass_by,
MR_Mesh * modifiedMesh,
MR_PassBy modifiedRegion_pass_by,
MR_FaceBitSet * modifiedRegion,
MR_PassBy commands_pass_by,
MR_std_vector_MR_GCommand * commands )

Constructs MR::ToolPathResult elementwise. The reference to the parameter modifiedMesh might be preserved in the constructed object. The reference to the parameter modifiedRegion might be preserved in the constructed object. The reference to the parameter commands might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathResult_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_ToolPathResult_ConstructFromAnother()

MRC_API MR_ToolPathResult * MR_ToolPathResult_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ToolPathResult * _other )

Generated from constructor MR::ToolPathResult::ToolPathResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathResult_Destroy() to free it when you're done using it.

◆ MR_ToolPathResult_DefaultConstruct()

MRC_API MR_ToolPathResult * MR_ToolPathResult_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ToolPathResult_Destroy() to free it when you're done using it.

◆ MR_ToolPathResult_DefaultConstructArray()

MRC_API MR_ToolPathResult * MR_ToolPathResult_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ToolPathResult_DestroyArray(). Use MR_ToolPathResult_OffsetMutablePtr() and MR_ToolPathResult_OffsetPtr() to access the array elements.

◆ MR_ToolPathResult_Destroy()

MRC_API void MR_ToolPathResult_Destroy ( const MR_ToolPathResult * _this)

Destroys a heap-allocated instance of MR_ToolPathResult. Does nothing if the pointer is null.

◆ MR_ToolPathResult_DestroyArray()

MRC_API void MR_ToolPathResult_DestroyArray ( const MR_ToolPathResult * _this)

Destroys a heap-allocated array of MR_ToolPathResult. Does nothing if the pointer is null.

◆ MR_ToolPathResult_Get_commands()

MRC_API const MR_std_vector_MR_GCommand * MR_ToolPathResult_Get_commands ( const MR_ToolPathResult * _this)

contains type of movement and its feed Returns a pointer to a member variable of class MR::ToolPathResult named commands. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_Get_modifiedMesh()

MRC_API const MR_Mesh * MR_ToolPathResult_Get_modifiedMesh ( const MR_ToolPathResult * _this)

mesh after fixing undercuts and offset Returns a pointer to a member variable of class MR::ToolPathResult named modifiedMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_Get_modifiedRegion()

MRC_API const MR_FaceBitSet * MR_ToolPathResult_Get_modifiedRegion ( const MR_ToolPathResult * _this)

selected region projected from the original mesh to the offset Returns a pointer to a member variable of class MR::ToolPathResult named modifiedRegion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_GetMutable_commands()

MRC_API MR_std_vector_MR_GCommand * MR_ToolPathResult_GetMutable_commands ( MR_ToolPathResult * _this)

contains type of movement and its feed Returns a mutable pointer to a member variable of class MR::ToolPathResult named commands. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_GetMutable_modifiedMesh()

MRC_API MR_Mesh * MR_ToolPathResult_GetMutable_modifiedMesh ( MR_ToolPathResult * _this)

mesh after fixing undercuts and offset Returns a mutable pointer to a member variable of class MR::ToolPathResult named modifiedMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_GetMutable_modifiedRegion()

MRC_API MR_FaceBitSet * MR_ToolPathResult_GetMutable_modifiedRegion ( MR_ToolPathResult * _this)

selected region projected from the original mesh to the offset Returns a mutable pointer to a member variable of class MR::ToolPathResult named modifiedRegion. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_ToolPathResult_OffsetMutablePtr()

MRC_API MR_ToolPathResult * MR_ToolPathResult_OffsetMutablePtr ( MR_ToolPathResult * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ToolPathResult_OffsetPtr()

MRC_API const MR_ToolPathResult * MR_ToolPathResult_OffsetPtr ( const MR_ToolPathResult * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ToolPathResult_Set_commands()

MRC_API void MR_ToolPathResult_Set_commands ( MR_ToolPathResult * _this,
MR_PassBy value_pass_by,
MR_std_vector_MR_GCommand * value )

contains type of movement and its feed Modifies a member variable of class MR::ToolPathResult named commands. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element commands. When this function is called, this object will drop object references it held previously in commands.

◆ MR_ToolPathResult_Set_modifiedMesh()

MRC_API void MR_ToolPathResult_Set_modifiedMesh ( MR_ToolPathResult * _this,
MR_PassBy value_pass_by,
MR_Mesh * value )

mesh after fixing undercuts and offset Modifies a member variable of class MR::ToolPathResult named modifiedMesh. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element modifiedMesh. When this function is called, this object will drop object references it held previously in modifiedMesh.

◆ MR_ToolPathResult_Set_modifiedRegion()

MRC_API void MR_ToolPathResult_Set_modifiedRegion ( MR_ToolPathResult * _this,
MR_PassBy value_pass_by,
MR_FaceBitSet * value )

selected region projected from the original mesh to the offset Modifies a member variable of class MR::ToolPathResult named modifiedRegion. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element modifiedRegion. When this function is called, this object will drop object references it held previously in modifiedRegion.