MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::ConstantCuspParams Struct Reference
Inheritance diagram for meshlib::ConstantCuspParams:

Public Member Functions

auto assign_from_another (_other:&meshlib::ConstantCuspParams) -> &mut meshlib::ConstantCuspParams
auto from_center_to_boundary () const -> &bool
auto from_center_to_boundary_mut () -> &mut bool
void set_from_center_to_boundary (value:bool)
auto mill_radius () const -> &f32
auto mill_radius_mut () -> &mut f32
void set_mill_radius (value:f32)
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto section_step () const -> &f32
auto section_step_mut () -> &mut f32
void set_section_step (value:f32)
auto crit_transition_length () const -> &f32
auto crit_transition_length_mut () -> &mut f32
void set_crit_transition_length (value:f32)
auto plunge_length () const -> &f32
auto plunge_length_mut () -> &mut f32
void set_plunge_length (value:f32)
auto retract_length () const -> &f32
auto retract_length_mut () -> &mut f32
void set_retract_length (value:f32)
auto plunge_feed () const -> &f32
auto plunge_feed_mut () -> &mut f32
void set_plunge_feed (value:f32)
auto retract_feed () const -> &f32
auto retract_feed_mut () -> &mut f32
void set_retract_feed (value:f32)
auto base_feed () const -> &f32
auto base_feed_mut () -> &mut f32
void set_base_feed (value:f32)
auto safe_z () const -> &f32
auto safe_z_mut () -> &mut f32
void set_safe_z (value:f32)
auto bypass_dir () const -> &meshlib::BypassDirection
auto bypass_dir_mut () -> &mut meshlib::BypassDirection
void set_bypass_dir (value:meshlib::BypassDirection)
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)
auto flat_tool () const -> &bool
auto flat_tool_mut () -> &mut bool
void set_flat_tool (value:bool)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)
auto toolpath_expansion () const -> &f32
auto toolpath_expansion_mut () -> &mut f32
void set_toolpath_expansion (value:f32)
auto isolines () const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f
auto isolines_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f
void set_isolines (value:Option<&mut meshlib::std_vector_std_vector_MR_Vector3f >)
auto start_contours () const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f
auto start_contours_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f
void set_start_contours (value:Option<&mut meshlib::std_vector_std_vector_MR_Vector3f >)
auto start_vertices () const -> *const *mut meshlib::ffi::MR_std_vector_MR_Vector3f
auto start_vertices_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_Vector3f
void set_start_vertices (value:Option<&mut meshlib::std_vector_MR_Vector3f >)
auto offset_mesh () const -> *const *mut meshlib::ffi::MR_MeshPart
auto offset_mesh_mut () -> *mut *mut meshlib::ffi::MR_MeshPart
void set_offset_mesh (value:Option<&mut meshlib::MeshPart >)
auto upcast_to_tool_path_params () const -> &meshlib::ToolPathParams
auto upcast_to_tool_path_params_mut () -> &mut meshlib::ToolPathParams

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ConstantCuspParams >
static auto construct_from_another (_other:&meshlib::ConstantCuspParams) -> meshlib::Owned< meshlib::ConstantCuspParams >
static auto static_downcast_from_tool_path_params (object:&meshlib::ToolPathParams) -> &Self
static auto static_downcast_from_tool_path_params_mut (object:&mut meshlib::ToolPathParams) -> &mut Self
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Tool path parameters specific to the constant-cusp strategy Generated from class MR::ConstantCuspParams. Base classes: Direct: (non-virtual) MR::ToolPathParams

Generated from class MR::ConstantCuspParams. Heap-allocated instances are held in Owned<ConstantCuspParams>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::ConstantCuspParams::assign_from_another ( _other:&meshlib::ConstantCuspParams ) -> &mut meshlib::ConstantCuspParams

Generated from method MR::ConstantCuspParams::operator=.

Calls MR_ConstantCuspParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ base_feed()

auto meshlib::ConstantCuspParams::base_feed ( ) const -> &f32

speed of regular milling Returns a pointer to a member variable of class MR::ConstantCuspParams named baseFeed.

Calls MR_ConstantCuspParams_Get_baseFeed(). The reference to this object might be preserved as the return value.

◆ base_feed_mut()

auto meshlib::ConstantCuspParams::base_feed_mut ( ) -> &mut f32

speed of regular milling Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named baseFeed.

Calls MR_ConstantCuspParams_GetMutable_baseFeed(). The reference to this object might be preserved as the return value.

◆ bypass_dir()

auto meshlib::ConstantCuspParams::bypass_dir ( ) const -> &meshlib::BypassDirection

which direction isolines or sections should be passed in Returns a pointer to a member variable of class MR::ConstantCuspParams named bypassDir.

Calls MR_ConstantCuspParams_Get_bypassDir(). The reference to this object might be preserved as the return value.

◆ bypass_dir_mut()

auto meshlib::ConstantCuspParams::bypass_dir_mut ( ) -> &mut meshlib::BypassDirection

which direction isolines or sections should be passed in Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named bypassDir.

Calls MR_ConstantCuspParams_GetMutable_bypassDir(). The reference to this object might be preserved as the return value.

◆ cb()

auto meshlib::ConstantCuspParams::cb ( ) const -> &meshlib::std_function_bool_from_float

callback for reporting on progress Returns a pointer to a member variable of class MR::ConstantCuspParams named cb.

Calls MR_ConstantCuspParams_Get_cb(). The reference to this object might be preserved as the return value.

◆ cb_mut()

auto meshlib::ConstantCuspParams::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named cb.

Calls MR_ConstantCuspParams_GetMutable_cb(). The reference to this object might be preserved as the return value.

◆ construct_from_another()

auto meshlib::ConstantCuspParams::construct_from_another ( _other:&meshlib::ConstantCuspParams ) -> meshlib::Owned< meshlib::ConstantCuspParams >
static

Generated from constructor MR::ConstantCuspParams::ConstantCuspParams.

Calls MR_ConstantCuspParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ crit_transition_length()

auto meshlib::ConstantCuspParams::crit_transition_length ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_critTransitionLength(). The reference to this object might be preserved as the return value.

◆ crit_transition_length_mut()

auto meshlib::ConstantCuspParams::crit_transition_length_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_critTransitionLength(). The reference to this object might be preserved as the return value.

◆ flat_tool()

auto meshlib::ConstantCuspParams::flat_tool ( ) const -> &bool

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.

Calls MR_ConstantCuspParams_Get_flatTool(). The reference to this object might be preserved as the return value.

◆ flat_tool_mut()

auto meshlib::ConstantCuspParams::flat_tool_mut ( ) -> &mut bool

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.

Calls MR_ConstantCuspParams_GetMutable_flatTool(). The reference to this object might be preserved as the return value.

◆ from_center_to_boundary()

auto meshlib::ConstantCuspParams::from_center_to_boundary ( ) const -> &bool

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.

Calls MR_ConstantCuspParams_Get_fromCenterToBoundary(). The reference to this object might be preserved as the return value.

◆ from_center_to_boundary_mut()

auto meshlib::ConstantCuspParams::from_center_to_boundary_mut ( ) -> &mut bool

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.

Calls MR_ConstantCuspParams_GetMutable_fromCenterToBoundary(). The reference to this object might be preserved as the return value.

◆ isolines()

auto meshlib::ConstantCuspParams::isolines ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f

optional output, stores isolines without transits Returns a pointer to a member variable of class MR::ConstantCuspParams named isolines.

Calls MR_ConstantCuspParams_Get_isolines(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ isolines_mut()

auto meshlib::ConstantCuspParams::isolines_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f

optional output, stores isolines without transits Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named isolines.

Calls MR_ConstantCuspParams_GetMutable_isolines(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ mill_radius()

auto meshlib::ConstantCuspParams::mill_radius ( ) const -> &f32

radius of the milling tool Returns a pointer to a member variable of class MR::ConstantCuspParams named millRadius.

Calls MR_ConstantCuspParams_Get_millRadius(). The reference to this object might be preserved as the return value.

◆ mill_radius_mut()

auto meshlib::ConstantCuspParams::mill_radius_mut ( ) -> &mut f32

radius of the milling tool Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named millRadius.

Calls MR_ConstantCuspParams_GetMutable_millRadius(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::ConstantCuspParams::new ( ) -> meshlib::Owned< meshlib::ConstantCuspParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_ConstantCuspParams_DefaultConstruct().

◆ offset_mesh()

auto meshlib::ConstantCuspParams::offset_mesh ( ) const -> *const *mut meshlib::ffi::MR_MeshPart

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.

Calls MR_ConstantCuspParams_Get_offsetMesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ offset_mesh_mut()

auto meshlib::ConstantCuspParams::offset_mesh_mut ( ) -> *mut *mut meshlib::ffi::MR_MeshPart

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.

Calls MR_ConstantCuspParams_GetMutable_offsetMesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ plunge_feed()

auto meshlib::ConstantCuspParams::plunge_feed ( ) const -> &f32

speed of slow movement down Returns a pointer to a member variable of class MR::ConstantCuspParams named plungeFeed.

Calls MR_ConstantCuspParams_Get_plungeFeed(). The reference to this object might be preserved as the return value.

◆ plunge_feed_mut()

auto meshlib::ConstantCuspParams::plunge_feed_mut ( ) -> &mut f32

speed of slow movement down Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named plungeFeed.

Calls MR_ConstantCuspParams_GetMutable_plungeFeed(). The reference to this object might be preserved as the return value.

◆ plunge_length()

auto meshlib::ConstantCuspParams::plunge_length ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_plungeLength(). The reference to this object might be preserved as the return value.

◆ plunge_length_mut()

auto meshlib::ConstantCuspParams::plunge_length_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_plungeLength(). The reference to this object might be preserved as the return value.

◆ retract_feed()

auto meshlib::ConstantCuspParams::retract_feed ( ) const -> &f32

speed of slow movement up Returns a pointer to a member variable of class MR::ConstantCuspParams named retractFeed.

Calls MR_ConstantCuspParams_Get_retractFeed(). The reference to this object might be preserved as the return value.

◆ retract_feed_mut()

auto meshlib::ConstantCuspParams::retract_feed_mut ( ) -> &mut f32

speed of slow movement up Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named retractFeed.

Calls MR_ConstantCuspParams_GetMutable_retractFeed(). The reference to this object might be preserved as the return value.

◆ retract_length()

auto meshlib::ConstantCuspParams::retract_length ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_retractLength(). The reference to this object might be preserved as the return value.

◆ retract_length_mut()

auto meshlib::ConstantCuspParams::retract_length_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_retractLength(). The reference to this object might be preserved as the return value.

◆ safe_z()

auto meshlib::ConstantCuspParams::safe_z ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_safeZ(). The reference to this object might be preserved as the return value.

◆ safe_z_mut()

auto meshlib::ConstantCuspParams::safe_z_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_safeZ(). The reference to this object might be preserved as the return value.

◆ section_step()

auto meshlib::ConstantCuspParams::section_step ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_sectionStep(). The reference to this object might be preserved as the return value.

◆ section_step_mut()

auto meshlib::ConstantCuspParams::section_step_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_sectionStep(). The reference to this object might be preserved as the return value.

◆ set_base_feed()

void meshlib::ConstantCuspParams::set_base_feed ( value:f32 )

speed of regular milling Modifies a member variable of class MR::ConstantCuspParams named baseFeed.

Calls MR_ConstantCuspParams_Set_baseFeed().

◆ set_bypass_dir()

void meshlib::ConstantCuspParams::set_bypass_dir ( value:meshlib::BypassDirection )

which direction isolines or sections should be passed in Modifies a member variable of class MR::ConstantCuspParams named bypassDir.

Calls MR_ConstantCuspParams_Set_bypassDir(). The reference to the parameter value might be preserved in this object in element bypassDir.

◆ set_cb()

void meshlib::ConstantCuspParams::set_cb ( value:&meshlib::std_function_bool_from_float )

callback for reporting on progress Modifies a member variable of class MR::ConstantCuspParams named cb.

Calls MR_ConstantCuspParams_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.

◆ set_crit_transition_length()

void meshlib::ConstantCuspParams::set_crit_transition_length ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_critTransitionLength().

◆ set_flat_tool()

void meshlib::ConstantCuspParams::set_flat_tool ( value:bool )

if true then a tool path for a flat milling tool will be generated Modifies a member variable of class MR::ConstantCuspParams named flatTool.

Calls MR_ConstantCuspParams_Set_flatTool().

◆ set_from_center_to_boundary()

void meshlib::ConstantCuspParams::set_from_center_to_boundary ( value:bool )

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.

Calls MR_ConstantCuspParams_Set_fromCenterToBoundary().

◆ set_isolines()

void meshlib::ConstantCuspParams::set_isolines ( value:Option<&mut meshlib::std_vector_std_vector_MR_Vector3f > )

optional output, stores isolines without transits Modifies a member variable of class MR::ConstantCuspParams named isolines.

Calls MR_ConstantCuspParams_Set_isolines(). The reference to the parameter value might be preserved in this object in element isolines.

◆ set_mill_radius()

void meshlib::ConstantCuspParams::set_mill_radius ( value:f32 )

radius of the milling tool Modifies a member variable of class MR::ConstantCuspParams named millRadius.

Calls MR_ConstantCuspParams_Set_millRadius().

◆ set_offset_mesh()

void meshlib::ConstantCuspParams::set_offset_mesh ( value:Option<&mut meshlib::MeshPart > )

optional pre-computed offset mesh; if null, it will be computed internally Modifies a member variable of class MR::ConstantCuspParams named offsetMesh.

Calls MR_ConstantCuspParams_Set_offsetMesh(). The reference to the parameter value might be preserved in this object in element offsetMesh.

◆ set_plunge_feed()

void meshlib::ConstantCuspParams::set_plunge_feed ( value:f32 )

speed of slow movement down Modifies a member variable of class MR::ConstantCuspParams named plungeFeed.

Calls MR_ConstantCuspParams_Set_plungeFeed().

◆ set_plunge_length()

void meshlib::ConstantCuspParams::set_plunge_length ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_plungeLength().

◆ set_retract_feed()

void meshlib::ConstantCuspParams::set_retract_feed ( value:f32 )

speed of slow movement up Modifies a member variable of class MR::ConstantCuspParams named retractFeed.

Calls MR_ConstantCuspParams_Set_retractFeed().

◆ set_retract_length()

void meshlib::ConstantCuspParams::set_retract_length ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_retractLength().

◆ set_safe_z()

void meshlib::ConstantCuspParams::set_safe_z ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_safeZ().

◆ set_section_step()

void meshlib::ConstantCuspParams::set_section_step ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_sectionStep().

◆ set_start_contours()

void meshlib::ConstantCuspParams::set_start_contours ( value:Option<&mut meshlib::std_vector_std_vector_MR_Vector3f > )

optional output, polyline containing start vertices for isolines Modifies a member variable of class MR::ConstantCuspParams named startContours.

Calls MR_ConstantCuspParams_Set_startContours(). The reference to the parameter value might be preserved in this object in element startContours.

◆ set_start_vertices()

void meshlib::ConstantCuspParams::set_start_vertices ( value:Option<&mut meshlib::std_vector_MR_Vector3f > )

start vertices on the offset mesh used for calculating isolines Modifies a member variable of class MR::ConstantCuspParams named startVertices.

Calls MR_ConstantCuspParams_Set_startVertices(). The reference to the parameter value might be preserved in this object in element startVertices.

◆ set_toolpath_expansion()

void meshlib::ConstantCuspParams::set_toolpath_expansion ( value:f32 )

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.

Calls MR_ConstantCuspParams_Set_toolpathExpansion().

◆ set_voxel_size()

void meshlib::ConstantCuspParams::set_voxel_size ( value:f32 )

size of voxel needed to offset mesh Modifies a member variable of class MR::ConstantCuspParams named voxelSize.

Calls MR_ConstantCuspParams_Set_voxelSize().

◆ set_xf()

void meshlib::ConstantCuspParams::set_xf ( value:Option<&meshlib::AffineXf3f > )

mesh can be transformed using xf parameter Modifies a member variable of class MR::ConstantCuspParams named xf.

Calls MR_ConstantCuspParams_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.

◆ start_contours()

auto meshlib::ConstantCuspParams::start_contours ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f

optional output, polyline containing start vertices for isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startContours.

Calls MR_ConstantCuspParams_Get_startContours(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ start_contours_mut()

auto meshlib::ConstantCuspParams::start_contours_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f

optional output, polyline containing start vertices for isolines Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named startContours.

Calls MR_ConstantCuspParams_GetMutable_startContours(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ start_vertices()

auto meshlib::ConstantCuspParams::start_vertices ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_Vector3f

start vertices on the offset mesh used for calculating isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startVertices.

Calls MR_ConstantCuspParams_Get_startVertices(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ start_vertices_mut()

auto meshlib::ConstantCuspParams::start_vertices_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_Vector3f

start vertices on the offset mesh used for calculating isolines Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named startVertices.

Calls MR_ConstantCuspParams_GetMutable_startVertices(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ static_downcast_from_tool_path_params()

auto meshlib::ConstantCuspParams::static_downcast_from_tool_path_params ( object:&meshlib::ToolPathParams ) -> &Self
static

Static downcast from the base class MR::ToolPathParams.

Calls MR_ConstantCuspParams_StaticDowncastFrom_MR_ToolPathParams(). Undefined behavior if the object isn't actually a ConstantCuspParams.

Note
This function is unsafe.

◆ static_downcast_from_tool_path_params_mut()

auto meshlib::ConstantCuspParams::static_downcast_from_tool_path_params_mut ( object:&mut meshlib::ToolPathParams ) -> &mut Self
static

Static downcast from the base class MR::ToolPathParams.

Calls MR_ConstantCuspParams_MutableStaticDowncastFrom_MR_ToolPathParams(). Undefined behavior if the object isn't actually a ConstantCuspParams.

Note
This function is unsafe.

◆ toolpath_expansion()

auto meshlib::ConstantCuspParams::toolpath_expansion ( ) const -> &f32

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.

Calls MR_ConstantCuspParams_Get_toolpathExpansion(). The reference to this object might be preserved as the return value.

◆ toolpath_expansion_mut()

auto meshlib::ConstantCuspParams::toolpath_expansion_mut ( ) -> &mut f32

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.

Calls MR_ConstantCuspParams_GetMutable_toolpathExpansion(). The reference to this object might be preserved as the return value.

◆ upcast_to_tool_path_params()

auto meshlib::ConstantCuspParams::upcast_to_tool_path_params ( ) const -> &meshlib::ToolPathParams

Upcasts to the base class MR::ToolPathParams.

Calls MR_ConstantCuspParams_UpcastTo_MR_ToolPathParams().

◆ upcast_to_tool_path_params_mut()

auto meshlib::ConstantCuspParams::upcast_to_tool_path_params_mut ( ) -> &mut meshlib::ToolPathParams

Upcasts to the base class MR::ToolPathParams.

Calls MR_ConstantCuspParams_MutableUpcastTo_MR_ToolPathParams().

◆ voxel_size()

auto meshlib::ConstantCuspParams::voxel_size ( ) const -> &f32

size of voxel needed to offset mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named voxelSize.

Calls MR_ConstantCuspParams_Get_voxelSize(). The reference to this object might be preserved as the return value.

◆ voxel_size_mut()

auto meshlib::ConstantCuspParams::voxel_size_mut ( ) -> &mut f32

size of voxel needed to offset mesh Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named voxelSize.

Calls MR_ConstantCuspParams_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.

◆ xf()

auto meshlib::ConstantCuspParams::xf ( ) const -> *const *const meshlib::AffineXf3f

mesh can be transformed using xf parameter Returns a pointer to a member variable of class MR::ConstantCuspParams named xf.

Calls MR_ConstantCuspParams_Get_xf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ xf_mut()

auto meshlib::ConstantCuspParams::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

mesh can be transformed using xf parameter Returns a mutable pointer to a member variable of class MR::ConstantCuspParams named xf.

Calls MR_ConstantCuspParams_GetMutable_xf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: