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

Public Member Functions

auto assign_from_another (_other:&meshlib::CNCMachineSettings) -> &mut meshlib::CNCMachineSettings
void set_rotation_axis (paramName:meshlib::CNCMachineSettings_RotationAxisName, rotationAxis:&meshlib::Vector3f)
auto get_rotation_axis (paramName:meshlib::CNCMachineSettings_RotationAxisName) const -> &meshlib::Vector3f
void set_rotation_limits (paramName:meshlib::CNCMachineSettings_RotationAxisName, rotationLimits:Option<&meshlib::Vector2f >)
auto get_rotation_limits (paramName:meshlib::CNCMachineSettings_RotationAxisName) const -> &meshlib::std_optional_MR_Vector2f
void set_rotation_order (rotationAxesOrder:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName)
auto get_rotation_order () const -> &meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName
void set_feedrate_idle (feedrateIdle:f32)
auto get_feedrate_idle () const -> f32
void set_home_position (homePosition:&meshlib::Vector3f)
auto get_home_position () const -> &meshlib::Vector3f
auto op_equal (rhs:&meshlib::CNCMachineSettings) -> bool
auto op_not_equal (rhs:&meshlib::CNCMachineSettings) -> bool

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CNCMachineSettings >
static auto construct_from_another (_other:&meshlib::CNCMachineSettings) -> meshlib::Owned< meshlib::CNCMachineSettings >
static auto get_axes_count () -> core::ffi::c_int
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

class with CNC machine emulation settings Generated from class MR::CNCMachineSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::CNCMachineSettings::CNCMachineSettings.

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

◆ get_axes_count()

auto meshlib::CNCMachineSettings::get_axes_count ( ) -> core::ffi::c_int
static

Generated from method MR::CNCMachineSettings::getAxesCount.

Calls MR_CNCMachineSettings_getAxesCount().

◆ get_feedrate_idle()

auto meshlib::CNCMachineSettings::get_feedrate_idle ( ) const -> f32

Generated from method MR::CNCMachineSettings::getFeedrateIdle.

Calls MR_CNCMachineSettings_getFeedrateIdle().

◆ get_home_position()

auto meshlib::CNCMachineSettings::get_home_position ( ) const -> &meshlib::Vector3f

Generated from method MR::CNCMachineSettings::getHomePosition.

Calls MR_CNCMachineSettings_getHomePosition().

◆ get_rotation_axis()

auto meshlib::CNCMachineSettings::get_rotation_axis ( paramName:meshlib::CNCMachineSettings_RotationAxisName ) const -> &meshlib::Vector3f

Generated from method MR::CNCMachineSettings::getRotationAxis.

Calls MR_CNCMachineSettings_getRotationAxis().

◆ get_rotation_limits()

auto meshlib::CNCMachineSettings::get_rotation_limits ( paramName:meshlib::CNCMachineSettings_RotationAxisName ) const -> &meshlib::std_optional_MR_Vector2f

Generated from method MR::CNCMachineSettings::getRotationLimits.

Calls MR_CNCMachineSettings_getRotationLimits().

◆ get_rotation_order()

auto meshlib::CNCMachineSettings::get_rotation_order ( ) const -> &meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName

Generated from method MR::CNCMachineSettings::getRotationOrder.

Calls MR_CNCMachineSettings_getRotationOrder().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CNCMachineSettings_DefaultConstruct().

◆ op_equal()

auto meshlib::CNCMachineSettings::op_equal ( rhs:&meshlib::CNCMachineSettings ) -> bool

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

Calls MR_equal_MR_CNCMachineSettings().

◆ op_not_equal()

auto meshlib::CNCMachineSettings::op_not_equal ( rhs:&meshlib::CNCMachineSettings ) -> bool

Generated from method MR::CNCMachineSettings::operator!=.

Calls MR_not_equal_MR_CNCMachineSettings().

◆ set_feedrate_idle()

void meshlib::CNCMachineSettings::set_feedrate_idle ( feedrateIdle:f32 )

set feedrate idle. valid range - [0, 100000] 0 - feedrate idle set as maximum feedrate on any action, or 100 if feedrate is not set in any action Generated from method MR::CNCMachineSettings::setFeedrateIdle.

Calls MR_CNCMachineSettings_setFeedrateIdle().

◆ set_home_position()

void meshlib::CNCMachineSettings::set_home_position ( homePosition:&meshlib::Vector3f )

Generated from method MR::CNCMachineSettings::setHomePosition.

Calls MR_CNCMachineSettings_setHomePosition().

◆ set_rotation_axis()

void meshlib::CNCMachineSettings::set_rotation_axis ( paramName:meshlib::CNCMachineSettings_RotationAxisName ,
rotationAxis:&meshlib::Vector3f  )

Generated from method MR::CNCMachineSettings::setRotationAxis.

Calls MR_CNCMachineSettings_setRotationAxis().

◆ set_rotation_limits()

void meshlib::CNCMachineSettings::set_rotation_limits ( paramName:meshlib::CNCMachineSettings_RotationAxisName ,
rotationLimits:Option<&meshlib::Vector2f >  )

rotationLimits = {min, max} valid range -180 <= min < max <= 180 Generated from method MR::CNCMachineSettings::setRotationLimits.

Calls MR_CNCMachineSettings_setRotationLimits().

◆ set_rotation_order()

void meshlib::CNCMachineSettings::set_rotation_order ( rotationAxesOrder:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName )

duplicated values will be removed (ABAAC - > ABC) Generated from method MR::CNCMachineSettings::setRotationOrder.

Calls MR_CNCMachineSettings_setRotationOrder().


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