MeshLib C++ Docs
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
 only for bindings generation
namespace  MR::GcodeLoad

Functions

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

Variables

const IOFilters MR::GcodeLoad::Filters