MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::GcodeLoad Namespace Reference

Functions

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