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

Functions

Expected< void > MR::GcodeSave::toGcode (const GcodeSource &gcode, const std::filesystem::path &file, ProgressCallback callback={})
 saves G-code commands in *.gcode file (or any text file), one command per line
Expected< void > MR::GcodeSave::toGcode (const GcodeSource &gcode, std::ostream &out, ProgressCallback callback={})
Expected< void > MR::GcodeSave::toAnySupportedFormat (const GcodeSource &gcode, const std::filesystem::path &file, ProgressCallback callback={})
 detects the format from file extension and saves G-code in it
Expected< void > MR::GcodeSave::toAnySupportedFormat (const GcodeSource &gcode, std::ostream &out, const std::string &extension, ProgressCallback callback={})
 extension in *.ext format

Variables

const IOFilters MR::GcodeSave::Filters

Detailed Description

Function Documentation

◆ toAnySupportedFormat() [1/2]

Expected< void > MR::GcodeSave::toAnySupportedFormat ( const GcodeSource & gcode,
const std::filesystem::path & file,
ProgressCallback callback = {} )

#include <MRMesh/MRGcodeSave.h>

detects the format from file extension and saves G-code in it

◆ toAnySupportedFormat() [2/2]

Expected< void > MR::GcodeSave::toAnySupportedFormat ( const GcodeSource & gcode,
std::ostream & out,
const std::string & extension,
ProgressCallback callback = {} )

#include <MRMesh/MRGcodeSave.h>

extension in *.ext format

◆ toGcode() [1/2]

Expected< void > MR::GcodeSave::toGcode ( const GcodeSource & gcode,
const std::filesystem::path & file,
ProgressCallback callback = {} )

#include <MRMesh/MRGcodeSave.h>

saves G-code commands in *.gcode file (or any text file), one command per line

◆ toGcode() [2/2]

Expected< void > MR::GcodeSave::toGcode ( const GcodeSource & gcode,
std::ostream & out,
ProgressCallback callback = {} )

Variable Documentation

◆ Filters

const IOFilters MR::GcodeSave::Filters
extern