2018-06-19 15:43:59 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include <xsinit.h>
|
|
|
|
#include "slic3r/AppController.hpp"
|
|
|
|
#include "libslic3r/Model.hpp"
|
|
|
|
#include "libslic3r/Print.hpp"
|
2018-08-30 09:40:06 +00:00
|
|
|
#include "slic3r/GUI/ProgressStatusBar.hpp"
|
2018-06-19 15:43:59 +00:00
|
|
|
%}
|
|
|
|
|
2018-06-20 12:50:18 +00:00
|
|
|
%name{Slic3r::PrintController} class PrintController {
|
2018-06-19 15:43:59 +00:00
|
|
|
|
2018-06-20 12:50:18 +00:00
|
|
|
PrintController(Print *print);
|
2018-06-19 15:43:59 +00:00
|
|
|
|
|
|
|
void slice_to_png();
|
2018-06-20 12:50:18 +00:00
|
|
|
void slice();
|
|
|
|
};
|
|
|
|
|
|
|
|
%name{Slic3r::AppController} class AppController {
|
2018-06-19 15:43:59 +00:00
|
|
|
|
2018-06-20 12:50:18 +00:00
|
|
|
AppController();
|
|
|
|
|
|
|
|
PrintController *print_ctl();
|
2018-06-19 15:43:59 +00:00
|
|
|
void set_model(Model *model);
|
|
|
|
void set_print(Print *print);
|
2018-08-30 09:40:06 +00:00
|
|
|
void set_global_progress_indicator(ProgressStatusBar *prs);
|
2018-06-28 16:47:18 +00:00
|
|
|
|
|
|
|
void arrange_model();
|
2018-06-19 15:43:59 +00:00
|
|
|
};
|