MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::gcode_load Namespace Reference

Functions

auto from_gcode_std_filesystem_path (file:&str, callback:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >
auto from_gcode_std_istream (in:&mut meshlib::std_istream, callback:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >
auto from_any_supported_format_2 (file:&str, callback:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >
auto from_any_supported_format_3 (in:&mut meshlib::std_istream, extension:&str, callback:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >

Function Documentation

◆ from_any_supported_format_2()

auto meshlib::gcode_load::from_any_supported_format_2 ( file:& str,
callback:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >

detects the format from file extension and loads mesh from it Generated from function MR::GcodeLoad::fromAnySupportedFormat.

Calls MR_GcodeLoad_fromAnySupportedFormat_2().

◆ from_any_supported_format_3()

auto meshlib::gcode_load::from_any_supported_format_3 ( in:&mut meshlib::std_istream ,
extension:& str,
callback:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >

extension in *.ext format Generated from function MR::GcodeLoad::fromAnySupportedFormat.

Calls MR_GcodeLoad_fromAnySupportedFormat_3().

◆ from_gcode_std_filesystem_path()

auto meshlib::gcode_load::from_gcode_std_filesystem_path ( file:& str,
callback:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >

loads from *.gcode file (or any text file) Generated from function MR::GcodeLoad::fromGcode.

Calls MR_GcodeLoad_fromGcode_std_filesystem_path().

◆ from_gcode_std_istream()

auto meshlib::gcode_load::from_gcode_std_istream ( in:&mut meshlib::std_istream ,
callback:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_std_vector_std_string_std_string >

Generated from function MR::GcodeLoad::fromGcode.

Calls MR_GcodeLoad_fromGcode_std_istream().