mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-07-31 07:42:03 +08:00
ENH:Modify the accuracy of determining whether the volume is above or below the cutting plane
jira: none Change-Id: I4b4b60f1bf4d26e037e6e084fae569f3fb75be41
This commit is contained in:
parent
6055a36593
commit
e3f5c6fe15
@ -2856,7 +2856,7 @@ PartSelection::PartSelection(
|
||||
|
||||
for (const Vec3f &v : volume->mesh().its.vertices) {
|
||||
double p = (v - pos).dot(norm);
|
||||
if (std::abs(p) > EPSILON) {
|
||||
if (std::abs(p) > 0.01) { // 0.01 mm is enough
|
||||
m_cut_parts[i].is_up_part = p > 0.;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user