mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 07:35:20 +00:00
Fix of
"Multimaterial printer switches filament at the wrong time during a print" https://github.com/prusa3d/Slic3r/issues/607 There was a single layer between the raft top and the object first layer missing on the wipe tower, and after this missing layer all the tool changes were shifted by one layer, meaning two color print had the colors switched.
This commit is contained in:
@@ -50,10 +50,6 @@
|
||||
int id();
|
||||
void set_id(int id);
|
||||
Ref<PrintObject> object();
|
||||
Ref<Layer> upper_layer()
|
||||
%code%{ RETVAL = THIS->upper_layer; %};
|
||||
Ref<Layer> lower_layer()
|
||||
%code%{ RETVAL = THIS->lower_layer; %};
|
||||
bool slicing_errors()
|
||||
%code%{ RETVAL = THIS->slicing_errors; %};
|
||||
coordf_t slice_z()
|
||||
@@ -63,15 +59,6 @@
|
||||
coordf_t height()
|
||||
%code%{ RETVAL = THIS->height; %};
|
||||
|
||||
void set_upper_layer(Layer *layer)
|
||||
%code%{ THIS->upper_layer = layer; %};
|
||||
void set_lower_layer(Layer *layer)
|
||||
%code%{ THIS->lower_layer = layer; %};
|
||||
bool has_upper_layer()
|
||||
%code%{ RETVAL = (THIS->upper_layer != NULL); %};
|
||||
bool has_lower_layer()
|
||||
%code%{ RETVAL = (THIS->lower_layer != NULL); %};
|
||||
|
||||
size_t region_count();
|
||||
Ref<LayerRegion> get_region(int idx);
|
||||
Ref<LayerRegion> add_region(PrintRegion* print_region);
|
||||
@@ -112,10 +99,6 @@
|
||||
int id();
|
||||
void set_id(int id);
|
||||
Ref<PrintObject> object();
|
||||
Ref<SupportLayer> upper_layer()
|
||||
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
||||
Ref<SupportLayer> lower_layer()
|
||||
%code%{ RETVAL = (SupportLayer*)THIS->lower_layer; %};
|
||||
bool slicing_errors()
|
||||
%code%{ RETVAL = THIS->slicing_errors; %};
|
||||
coordf_t slice_z()
|
||||
@@ -125,15 +108,6 @@
|
||||
coordf_t height()
|
||||
%code%{ RETVAL = THIS->height; %};
|
||||
|
||||
void set_upper_layer(SupportLayer *layer)
|
||||
%code%{ THIS->upper_layer = layer; %};
|
||||
void set_lower_layer(SupportLayer *layer)
|
||||
%code%{ THIS->lower_layer = layer; %};
|
||||
bool has_upper_layer()
|
||||
%code%{ RETVAL = (THIS->upper_layer != NULL); %};
|
||||
bool has_lower_layer()
|
||||
%code%{ RETVAL = (THIS->lower_layer != NULL); %};
|
||||
|
||||
size_t region_count();
|
||||
Ref<LayerRegion> get_region(int idx);
|
||||
Ref<LayerRegion> add_region(PrintRegion* print_region);
|
||||
|
||||
@@ -91,7 +91,6 @@ _constant()
|
||||
size_t support_layer_count();
|
||||
void clear_support_layers();
|
||||
Ref<SupportLayer> get_support_layer(int idx);
|
||||
Ref<SupportLayer> add_support_layer(int id, coordf_t height, coordf_t print_z);
|
||||
|
||||
bool step_done(PrintObjectStep step)
|
||||
%code%{ RETVAL = THIS->state.is_done(step); %};
|
||||
|
||||
Reference in New Issue
Block a user