ENH: fix overhang degree split

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I81b946f2fab5e561f965df2ab9852c10c61f8480
This commit is contained in:
qing.zhang 2023-08-04 21:55:42 +08:00 committed by lane.wei
parent 18c14179d7
commit c0759fbd32

View file

@ -666,7 +666,7 @@ static ExtrusionEntityCollection traverse_extrusions(const PerimeterGenerator& p
}
BoundingBox extrusion_bboxs = get_extents(be_clipped);
extrusion_bboxs.offset(SCALED_EPSILON + it.first);
extrusion_bboxs.offset(SCALED_EPSILON + scale_(it.first));
Polygons lower_slcier_chopped=ClipperUtils::clip_clipper_polygons_with_subject_bbox(*perimeter_generator.lower_slices, extrusion_bboxs);
double start_pos = -it.first * 0.5;