mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 07:11:12 -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
|
@ -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