Slicing in C++ with progress indication.

This commit is contained in:
tamasmeszaros 2018-06-20 14:50:18 +02:00
parent 5f310e1520
commit 8dcf789d4b
7 changed files with 312 additions and 80 deletions

View file

@ -7,14 +7,20 @@
#include "libslic3r/Print.hpp"
%}
%name{Slic3r::PrintController} class PrintController {
PrintController(Print *print);
void slice_to_png();
void slice();
};
%name{Slic3r::AppController} class AppController {
AppController();
void slice_to_png();
PrintController *print_ctl();
void set_model(Model *model);
void set_print(Print *print);
void set_global_progress_indicator_id(unsigned gauge_id, unsigned statusbar_id);
};

View file

@ -216,7 +216,8 @@ Ref<PrintObjectSupportMaterial> O_OBJECT_SLIC3R_T
Clone<PrintObjectSupportMaterial> O_OBJECT_SLIC3R_T
AppConfig* O_OBJECT_SLIC3R
AppController* O_OBJECT_SLIC3R
AppController* O_OBJECT_SLIC3R
PrintController* O_OBJECT_SLIC3R
Ref<AppConfig> O_OBJECT_SLIC3R_T
GLShader* O_OBJECT_SLIC3R

View file

@ -268,4 +268,5 @@
$CVar = (PrintObjectStep)SvUV($PerlVar);
%};
};
%typemap{AppController*};
%typemap{AppController*};
%typemap{PrintController*};