#include "MRMeshFwd.h"
#include "MRIOFilters.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include <filesystem>
#include <iosfwd>
#include <string>
Go to the source code of this file.
|
| 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
|