mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 13:06:02 +08:00
Bugfix: infill extrusion width was ignored
This commit is contained in:
parent
47a07a86ee
commit
eea6d84314
@ -99,7 +99,7 @@ sub make_fill {
|
|||||||
|
|
||||||
# add spacing between adjacent surfaces
|
# add spacing between adjacent surfaces
|
||||||
{
|
{
|
||||||
my $distance = scale $layer->flow->spacing / 2;
|
my $distance = scale $layer->infill_flow->spacing / 2;
|
||||||
my @offsets = ();
|
my @offsets = ();
|
||||||
foreach my $surface (@surfaces) {
|
foreach my $surface (@surfaces) {
|
||||||
my $expolygon = $surface->expolygon;
|
my $expolygon = $surface->expolygon;
|
||||||
@ -137,7 +137,7 @@ sub make_fill {
|
|||||||
SURFACE: foreach my $surface (@surfaces) {
|
SURFACE: foreach my $surface (@surfaces) {
|
||||||
my $filler = $Slic3r::fill_pattern;
|
my $filler = $Slic3r::fill_pattern;
|
||||||
my $density = $Slic3r::fill_density;
|
my $density = $Slic3r::fill_density;
|
||||||
my $flow_spacing = $layer->flow->spacing;
|
my $flow_spacing = $layer->infill_flow->spacing;
|
||||||
my $is_bridge = $layer->id > 0 && $surface->surface_type == S_TYPE_BOTTOM;
|
my $is_bridge = $layer->id > 0 && $surface->surface_type == S_TYPE_BOTTOM;
|
||||||
my $is_solid = (grep { $surface->surface_type == $_ } S_TYPE_TOP, S_TYPE_BOTTOM, S_TYPE_INTERNALSOLID) ? 1 : 0;
|
my $is_solid = (grep { $surface->surface_type == $_ } S_TYPE_TOP, S_TYPE_BOTTOM, S_TYPE_INTERNALSOLID) ? 1 : 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user