FIX: [STUDIO-3921] orientation bug

JIRA: STUDIO-3921
fix the orientation bug that multiple objects does not perform the same
increase num of hull faces to iterate

Change-Id: I9c662e1e7858521585de612d7f1e9cd213e183bb
(cherry picked from commit 7ce0ba3e037f9b2a6d420ab302913753f9ea7544)
This commit is contained in:
shuai.liu 2023-09-15 09:42:05 +08:00 committed by Lane.Wei
parent cdbbdafc59
commit 1e1125b785
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ ArrangePolygon get_instance_arrange_poly(ModelInstance* instance, const Slic3r::
if (enable_support && (support_type == stNormalAuto || support_type == stNormal)) if (enable_support && (support_type == stNormalAuto || support_type == stNormal))
ap.brim_width = 5.0; ap.brim_width = 5.0;
else if(enable_support) ap.brim_width = 22.0; else if(enable_support) ap.brim_width = 11.0;
#endif #endif
ap.height = obj->bounding_box().size().z(); ap.height = obj->bounding_box().size().z();

View file

@ -115,7 +115,7 @@ public:
area_cumulation_accurate(face_normals, normals_quantize, areas, 10); area_cumulation_accurate(face_normals, normals_quantize, areas, 10);
area_cumulation_accurate(face_normals_hull, normals_hull_quantize, areas_hull, 10); area_cumulation_accurate(face_normals_hull, normals_hull_quantize, areas_hull, 14);
add_supplements(); add_supplements();