mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Merge branch 'lm_wipe_tower_block_improvements' into lm_wipe_tower_block_improvements_merged
This commit is contained in:
commit
f694600054
17 changed files with 289 additions and 77 deletions
|
@ -104,3 +104,12 @@ void fix_model_by_win10_sdk_gui(ModelObject *model_object_src, Print *print, Mod
|
|||
|
||||
void set_3DScene(SV *scene)
|
||||
%code%{ Slic3r::GUI::set_3DScene((_3DScene *)wxPli_sv_2_object(aTHX_ scene, "Slic3r::Model::3DScene") ); %};
|
||||
|
||||
%package{Slic3r::_GUI};
|
||||
%{
|
||||
void
|
||||
register_on_request_update_callback(callback)
|
||||
SV *callback;
|
||||
CODE:
|
||||
Slic3r::GUI::register_on_request_update_callback((void*)callback);
|
||||
%}
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
std::vector<int> load_object(ModelObject *object, int obj_idx, std::vector<int> instance_idxs, std::string color_by, std::string select_by, std::string drag_by, bool use_VBOs);
|
||||
|
||||
int load_wipe_tower_preview(int obj_idx, float pos_x, float pos_y, float width, float depth, float height, float rotation_angle, bool use_VBOs);
|
||||
int load_wipe_tower_preview(int obj_idx, float pos_x, float pos_y, float width, float depth, float height, float rotation_angle, bool use_VBOs, bool size_unknown, float brim_width);
|
||||
|
||||
void erase()
|
||||
%code{% THIS->clear(); %};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue