MeshLib
 
Loading...
Searching...
No Matches
MRGcodeLoad.h File Reference
#include "MRMeshFwd.h"
#include "MRIOFilters.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include <filesystem>
#include <istream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::GcodeLoad
 

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