#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< GcodeSource > | MR::GcodeLoad::fromGcode (const std::filesystem::path &file, ProgressCallback callback={}) |
loads from *.gcode file (or any text file) | |
MRMESH_API Expected< GcodeSource > | MR::GcodeLoad::fromGcode (std::istream &in, ProgressCallback callback={}) |
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 | |
MRMESH_API Expected< GcodeSource > | MR::GcodeLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, ProgressCallback callback={}) |
extension in *.ext format | |
Variables | |
MRMESH_API const IOFilters | MR::GcodeLoad::Filters |