MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.gcodeload.Functions Class Reference

Static Public Member Functions

static meshlib.std_vector_std_string fromGcode (java.lang.String file, meshlib.std_function_bool_from_float callback)
static meshlib.std_vector_std_string fromGcode (meshlib.std_istream in, meshlib.std_function_bool_from_float callback)
static meshlib.std_vector_std_string fromAnySupportedFormat (java.lang.String file, meshlib.std_function_bool_from_float callback)
static meshlib.std_vector_std_string fromAnySupportedFormat (meshlib.std_istream in, java.lang.String extension, meshlib.std_function_bool_from_float callback)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ fromAnySupportedFormat() [1/2]

meshlib.std_vector_std_string meshlib.gcodeload.Functions.fromAnySupportedFormat ( java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

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

Calls MR_GcodeLoad_fromAnySupportedFormat_2(). The C++ function returns expected<std::vector<std::string>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromAnySupportedFormat() [2/2]

meshlib.std_vector_std_string meshlib.gcodeload.Functions.fromAnySupportedFormat ( meshlib.std_istream in,
java.lang.String extension,
meshlib.std_function_bool_from_float callback )
static

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

Calls MR_GcodeLoad_fromAnySupportedFormat_3(). The C++ function returns expected<std::vector<std::string>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromGcode() [1/2]

meshlib.std_vector_std_string meshlib.gcodeload.Functions.fromGcode ( java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

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

Calls MR_GcodeLoad_fromGcode_std_filesystem_path(). The C++ function returns expected<std::vector<std::string>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromGcode() [2/2]

meshlib.std_vector_std_string meshlib.gcodeload.Functions.fromGcode ( meshlib.std_istream in,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::GcodeLoad::fromGcode.

Calls MR_GcodeLoad_fromGcode_std_istream(). The C++ function returns expected<std::vector<std::string>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


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