1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

Limit only_retract_when_crossing_perimeters to travel moves that are completely enclosed in the upper layer's slices so that we avoid visible traces on top layers. #1091

This commit is contained in:
Alessandro Ranellucci
2013-06-03 12:25:32 +02:00
parent 7134df4638
commit 81bae56e92
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -54,6 +54,12 @@ sub support_material_contact_z {
return $self->print_z - ($self->height - $self->support_material_contact_height) / &Slic3r::SCALING_FACTOR;
}
sub upper_layer_slices {
my $self = shift;
my $upper_layer = $self->object->layers->[ $self->id + 1 ] or return [];
return $upper_layer->slices;
sub region {
my $self = shift;
my ($region_id) = @_;