Skip to content

Commit 34fbc59

Browse files
committed
Merge remote-tracking branch 'origin/CURA-12335_expose-bottom-skin-settings' into CURA-12335_expose-bottom-skin-settings
2 parents 7667934 + 280175c commit 34fbc59

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

src/LayerPlan.cpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ GCodePath* LayerPlan::getLatestPathWithConfig(
5757
{
5858
return &paths.back();
5959
}
60-
paths.emplace_back(
61-
GCodePath{ .z_offset = z_offset,
62-
.config = config,
63-
.mesh = current_mesh_,
64-
.space_fill_type = space_fill_type,
65-
.flow = flow,
66-
.width_factor = width_factor,
67-
.spiralize = spiralize,
68-
.speed_factor = speed_factor });
60+
paths.emplace_back(GCodePath{ .z_offset = z_offset,
61+
.config = config,
62+
.mesh = current_mesh_,
63+
.space_fill_type = space_fill_type,
64+
.flow = flow,
65+
.width_factor = width_factor,
66+
.spiralize = spiralize,
67+
.speed_factor = speed_factor });
6968

7069
GCodePath* ret = &paths.back();
7170
ret->skip_agressive_merge_hint = mode_skip_agressive_merge_;

src/settings/MeshPathConfigs.cpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,15 @@ MeshPathConfigs::MeshPathConfigs(const SliceMeshStorage& mesh, const coord_t lay
158158

159159
for (const auto combine_idx : ranges::views::iota(1, MAX_INFILL_COMBINE + 1))
160160
{
161-
infill_config.emplace_back(
162-
GCodePathConfig{
163-
.type = PrintFeatureType::Infill,
164-
.line_width = static_cast<coord_t>(
165-
mesh.settings.get<coord_t>("infill_line_width") * line_width_factor_per_extruder[mesh.settings.get<ExtruderTrain&>("infill_extruder_nr").extruder_nr_]),
166-
.layer_thickness = layer_thickness,
167-
.flow = mesh.settings.get<Ratio>("infill_material_flow") * (layer_nr == 0 ? mesh.settings.get<Ratio>("material_flow_layer_0") : Ratio{ 1.0 }) * combine_idx,
168-
.speed_derivatives = { .speed = mesh.settings.get<Velocity>("speed_infill"),
169-
.acceleration = mesh.settings.get<Acceleration>("acceleration_infill"),
170-
.jerk = mesh.settings.get<Velocity>("jerk_infill") } });
161+
infill_config.emplace_back(GCodePathConfig{
162+
.type = PrintFeatureType::Infill,
163+
.line_width = static_cast<coord_t>(
164+
mesh.settings.get<coord_t>("infill_line_width") * line_width_factor_per_extruder[mesh.settings.get<ExtruderTrain&>("infill_extruder_nr").extruder_nr_]),
165+
.layer_thickness = layer_thickness,
166+
.flow = mesh.settings.get<Ratio>("infill_material_flow") * (layer_nr == 0 ? mesh.settings.get<Ratio>("material_flow_layer_0") : Ratio{ 1.0 }) * combine_idx,
167+
.speed_derivatives = { .speed = mesh.settings.get<Velocity>("speed_infill"),
168+
.acceleration = mesh.settings.get<Acceleration>("acceleration_infill"),
169+
.jerk = mesh.settings.get<Velocity>("jerk_infill") } });
171170
}
172171
}
173172

0 commit comments

Comments
 (0)