MeshLib C++ Docs
Loading...
Searching...
No Matches

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

Detailed Description

Function Documentation

◆ fromAnySupportedFormat() [1/2]

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

#include <MRMesh/MRGcodeLoad.h>

detects the format from file extension and loads mesh from it

◆ fromAnySupportedFormat() [2/2]

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

#include <MRMesh/MRGcodeLoad.h>

extension in *.ext format

◆ fromGcode() [1/2]

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

#include <MRMesh/MRGcodeLoad.h>

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

◆ fromGcode() [2/2]

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

Variable Documentation

◆ Filters

const IOFilters MR::GcodeLoad::Filters
extern