@@ -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