#define MRMESH_API
Definition MRMeshFwd.h:85
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
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 > 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
std::vector< std::string > GcodeSource
Definition MRMeshFwd.h:712
tl::expected< T, E > Expected
Definition MRExpected.h:31
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:32
Definition MRGcodeSave.h:14
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8