Use support material extruder for brim. #653
This commit is contained in:
parent
3b38e392ad
commit
37ae2e1e2d
2 changed files with 4 additions and 0 deletions
|
@ -178,6 +178,7 @@ our $Options = {
|
|||
# extruder mapping
|
||||
'perimeter_extruder' => {
|
||||
label => 'Perimeter extruder',
|
||||
tooltip => 'The extruder to use when printing perimeters.',
|
||||
cli => 'perimeter-extruder=i',
|
||||
type => 'i',
|
||||
aliases => [qw(perimeters_extruder)],
|
||||
|
@ -185,12 +186,14 @@ our $Options = {
|
|||
},
|
||||
'infill_extruder' => {
|
||||
label => 'Infill extruder',
|
||||
tooltip => 'The extruder to use when printing infill.',
|
||||
cli => 'infill-extruder=i',
|
||||
type => 'i',
|
||||
default => 1,
|
||||
},
|
||||
'support_material_extruder' => {
|
||||
label => 'Support material extruder',
|
||||
tooltip => 'The extruder to use when printing support material. This affects brim too.',
|
||||
cli => 'support-material-extruder=i',
|
||||
type => 'i',
|
||||
default => 1,
|
||||
|
|
|
@ -643,6 +643,7 @@ sub write_gcode {
|
|||
|
||||
# extrude brim
|
||||
if ($layer_id == 0 && !$brim_done) {
|
||||
$gcode .= $gcodegen->set_tool($Slic3r::Config->support_material_extruder-1);
|
||||
$gcodegen->shift_x($shift[X]);
|
||||
$gcodegen->shift_y($shift[Y]);
|
||||
$gcode .= $gcodegen->extrude_loop($_, 'brim') for @{$self->brim};
|
||||
|
|
Loading…
Reference in a new issue