ENH: avoid overhang area when set the seam position

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I58eb8c091b68b8c64f44d21db88d2f9155e42e42
This commit is contained in:
qing.zhang 2022-12-27 19:33:29 +08:00 committed by Lane.Wei
parent 38406e3e59
commit 3a6f033794
2 changed files with 44 additions and 5 deletions

View file

@ -76,6 +76,7 @@ struct SeamCandidate
Perimeter &perimeter;
float visibility;
float overhang;
float extend_overhang=0.0f;
// distance inside the merged layer regions, for detecting perimeter points which are hidden indside the print (e.g. multimaterial join)
// Negative sign means inside the print, comes from EdgeGrid structure
float embedded_distance;