|
| Expected< void > | 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 > | toGcode (const GcodeSource &gcode, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | 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 > | toAnySupportedFormat (const GcodeSource &gcode, std::ostream &out, const std::string &extension, ProgressCallback callback={}) |
| | extension in *.ext format
|