Distinct extrusion role for support material interface

This commit is contained in:
Alessandro Ranellucci 2014-05-12 22:59:49 +02:00
parent baefefc50d
commit 59f0e76da1
4 changed files with 6 additions and 4 deletions

View file

@ -608,7 +608,7 @@ sub generate_toolpaths {
my $mm3_per_mm = $interface_flow->mm3_per_mm($layer->height);
@loops = map Slic3r::ExtrusionPath->new(
polyline => $_,
role => EXTR_ROLE_SUPPORTMATERIAL,
role => EXTR_ROLE_SUPPORTMATERIAL_INTERFACE,
mm3_per_mm => $mm3_per_mm,
width => $interface_flow->width,
height => $layer->height,
@ -656,7 +656,7 @@ sub generate_toolpaths {
push @paths, map Slic3r::ExtrusionPath->new(
polyline => Slic3r::Polyline->new(@$_),
role => EXTR_ROLE_SUPPORTMATERIAL,
role => EXTR_ROLE_SUPPORTMATERIAL_INTERFACE,
mm3_per_mm => $mm3_per_mm,
width => $params->{flow}->width,
height => $layer->height,