FIX: inner wall width error on top one wall mode
under arachne mode Jira: 4646 Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: Iea09e12b9ab2ed6cbd3c7bef23f0acdbeb1e3017
This commit is contained in:
parent
8a6b2f7a1a
commit
fe076075df
|
@ -1417,7 +1417,7 @@ void PerimeterGenerator::process_arachne()
|
||||||
//BBS: get real top surface
|
//BBS: get real top surface
|
||||||
infill_contour = intersection_ex(infill_contour, the_layer_surface);
|
infill_contour = intersection_ex(infill_contour, the_layer_surface);
|
||||||
Polygons surface_not_export_to_top_p = to_polygons(surface_not_export_to_top);
|
Polygons surface_not_export_to_top_p = to_polygons(surface_not_export_to_top);
|
||||||
Arachne::WallToolPaths innerWallToolPaths(surface_not_export_to_top_p, ext_perimeter_spacing, perimeter_spacing, coord_t(remain_loops + 1), 0, layer_height, input_params);
|
Arachne::WallToolPaths innerWallToolPaths(surface_not_export_to_top_p, perimeter_spacing, perimeter_spacing, coord_t(remain_loops + 1), 0, layer_height, input_params);
|
||||||
|
|
||||||
std::vector<Arachne::VariableWidthLines> perimeters_inner = innerWallToolPaths.getToolPaths();
|
std::vector<Arachne::VariableWidthLines> perimeters_inner = innerWallToolPaths.getToolPaths();
|
||||||
remain_loops = int(perimeters_inner.size()) - 1;
|
remain_loops = int(perimeters_inner.size()) - 1;
|
||||||
|
|
Loading…
Reference in New Issue