mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06: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:
parent
1938828520
commit
61e6f23ed2
7 changed files with 67 additions and 43 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue