mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Removed Print.pm,
ported execution of post processing scripts into C++ (WIP, waits for update of boost::system module on our build server) Removed other mention of the "Controller".
This commit is contained in:
parent
bb7f504296
commit
d934b63424
19 changed files with 124 additions and 126 deletions
|
@ -50,8 +50,8 @@ void set_plater(SV *ui)
|
|||
void add_menus(SV *ui, int event_preferences_changed, int event_language_change)
|
||||
%code%{ Slic3r::GUI::add_menus((wxMenuBar*)wxPli_sv_2_object(aTHX_ ui, "Wx::MenuBar"), event_preferences_changed, event_language_change); %};
|
||||
|
||||
void create_preset_tabs(bool no_controller, int event_value_change, int event_presets_changed)
|
||||
%code%{ Slic3r::GUI::create_preset_tabs(no_controller, event_value_change, event_presets_changed); %};
|
||||
void create_preset_tabs(int event_value_change, int event_presets_changed)
|
||||
%code%{ Slic3r::GUI::create_preset_tabs(event_value_change, event_presets_changed); %};
|
||||
|
||||
void show_error_id(int id, std::string msg)
|
||||
%code%{ Slic3r::GUI::show_error_id(id, msg); %};
|
||||
|
|
|
@ -151,8 +151,6 @@ _constant()
|
|||
}
|
||||
%};
|
||||
|
||||
void print_to_png(std::string dirpath);
|
||||
|
||||
void add_model_object(ModelObject* model_object, int idx = -1);
|
||||
bool apply_config(DynamicPrintConfig* config)
|
||||
%code%{ RETVAL = THIS->apply_config(*config); %};
|
||||
|
@ -166,6 +164,7 @@ _constant()
|
|||
%};
|
||||
Clone<BoundingBox> bounding_box();
|
||||
Clone<BoundingBox> total_bounding_box();
|
||||
Clone<Point> size() %code%{ RETVAL = THIS->bounding_box().size(); %};
|
||||
|
||||
void set_callback_event(int evt) %code%{
|
||||
%};
|
||||
|
@ -196,4 +195,11 @@ _constant()
|
|||
}
|
||||
%};
|
||||
|
||||
void export_png(char *path) %code%{
|
||||
try {
|
||||
THIS->export_png(path);
|
||||
} catch (std::exception& e) {
|
||||
croak(e.what());
|
||||
}
|
||||
%};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue