MeshLib
 
Loading...
Searching...
No Matches
Mesh Load

Functions

MRMESH_API Expected< GcodeSourceMR::GcodeLoad::fromGcode (const std::filesystem::path &file, ProgressCallback callback={})
 loads from *.gcode file (or any text file)
 
MRMESH_API Expected< GcodeSourceMR::GcodeLoad::fromGcode (std::istream &in, ProgressCallback callback={})
 
MRMESH_API Expected< GcodeSourceMR::GcodeLoad::fromAnySupportedFormat (const std::filesystem::path &file, ProgressCallback callback={})
 detects the format from file extension and loads mesh from it
 
MRMESH_API Expected< GcodeSourceMR::GcodeLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, ProgressCallback callback={})
 extension in *.ext format
 

Variables

MRMESH_API const IOFilters MR::GcodeLoad::Filters
 

Detailed Description

Function Documentation

◆ fromAnySupportedFormat() [1/2]

MRMESH_API Expected< GcodeSource > MR::GcodeLoad::fromAnySupportedFormat ( const std::filesystem::path & file,
ProgressCallback callback = {} )

detects the format from file extension and loads mesh from it

◆ fromAnySupportedFormat() [2/2]

MRMESH_API Expected< GcodeSource > MR::GcodeLoad::fromAnySupportedFormat ( std::istream & in,
const std::string & extension,
ProgressCallback callback = {} )

extension in *.ext format

◆ fromGcode() [1/2]

MRMESH_API Expected< GcodeSource > MR::GcodeLoad::fromGcode ( const std::filesystem::path & file,
ProgressCallback callback = {} )

loads from *.gcode file (or any text file)

◆ fromGcode() [2/2]

MRMESH_API Expected< GcodeSource > MR::GcodeLoad::fromGcode ( std::istream & in,
ProgressCallback callback = {} )

Variable Documentation

◆ Filters

MRMESH_API const IOFilters MR::GcodeLoad::Filters
extern