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-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-06-26 15:02:46 +00:00
|
|
|
void set_global_progress_indicator(unsigned gauge_id, unsigned statusbar_id);
|
2018-06-28 16:47:18 +00:00
|
|
|
|
|
|
|
void arrange_model();
|
2018-06-19 15:43:59 +00:00
|
|
|
};
|