Disable retraction for support material
This commit is contained in:
parent
5678cd562c
commit
de8a845d81
@ -139,9 +139,9 @@ sub extrude_path {
|
|||||||
|
|
||||||
my $gcode = "";
|
my $gcode = "";
|
||||||
|
|
||||||
# retract if distance from previous position is greater or equal to the one
|
# skip retract for support material
|
||||||
# specified by the user
|
if ($path->role != EXTR_ROLE_SUPPORTMATERIAL) {
|
||||||
{
|
# retract if distance from previous position is greater or equal to the one specified by the user
|
||||||
my $travel = Slic3r::Line->new($self->last_pos->clone, $path->points->[0]->clone);
|
my $travel = Slic3r::Line->new($self->last_pos->clone, $path->points->[0]->clone);
|
||||||
if ($travel->length >= scale $self->extruder->retract_before_travel) {
|
if ($travel->length >= scale $self->extruder->retract_before_travel) {
|
||||||
# move travel back to original layer coordinates.
|
# move travel back to original layer coordinates.
|
||||||
|
Loading…
Reference in New Issue
Block a user