mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
WIP: Reconstruction of background processing.
This commit is contained in:
@@ -185,22 +185,6 @@ _constant()
|
||||
}
|
||||
%};
|
||||
|
||||
void export_gcode_with_preview_data(char *path_template, GCodePreviewData *preview_data) %code%{
|
||||
try {
|
||||
THIS->export_gcode(path_template, preview_data);
|
||||
} catch (std::exception& e) {
|
||||
croak(e.what());
|
||||
}
|
||||
%};
|
||||
|
||||
void export_gcode(char *path_template) %code%{
|
||||
try {
|
||||
THIS->export_gcode(path_template, nullptr);
|
||||
} catch (std::exception& e) {
|
||||
croak(e.what());
|
||||
}
|
||||
%};
|
||||
|
||||
void export_png(char *path) %code%{
|
||||
try {
|
||||
THIS->export_png(path);
|
||||
|
||||
Reference in New Issue
Block a user