mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
Fix Rectilinear sparse infill (#5308)
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
81b3e5939d
commit
cc2eb3638d
1 changed files with 17 additions and 14 deletions
|
@ -496,10 +496,13 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
params.bridge_angle = float(surface.bridge_angle);
|
params.bridge_angle = float(surface.bridge_angle);
|
||||||
params.angle = float(Geometry::deg2rad(params.extrusion_role == erInternalInfill ?
|
if (params.extrusion_role == erInternalInfill) {
|
||||||
region_config.infill_direction :
|
params.angle = float(Geometry::deg2rad(region_config.infill_direction.value));
|
||||||
region_config.solid_infill_direction.value));
|
params.rotate_angle = (params.pattern == ipRectilinear);
|
||||||
params.rotate_angle = (params.extrusion_role != erInternalInfill) && region_config.rotate_solid_infill_direction;
|
} else {
|
||||||
|
params.angle = float(Geometry::deg2rad(region_config.solid_infill_direction.value));
|
||||||
|
params.rotate_angle = region_config.rotate_solid_infill_direction;
|
||||||
|
}
|
||||||
|
|
||||||
// Calculate the actual flow we'll be using for this infill.
|
// Calculate the actual flow we'll be using for this infill.
|
||||||
params.bridge = is_bridge || Fill::use_bridge_flow(params.pattern);
|
params.bridge = is_bridge || Fill::use_bridge_flow(params.pattern);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue