Mesh: fixes #11985: 3MF export to Prusa with clone = open edge warnings on clone

See https://forum.freecad.org/viewtopic.php?p=738731#p738731
This commit is contained in:
wmayer
2024-02-07 12:15:55 +01:00
committed by Chris Hennes
parent 5eabeff94e
commit c425e675ba
2 changed files with 2 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ struct Vertex
}
};
const double Vertex::deflection = gp::Resolution();
const double Vertex::deflection = 10 * std::numeric_limits<double>::epsilon();
// ----------------------------------------------------------------------------

View File

@@ -3428,8 +3428,7 @@ private:
};
}
//const double Vertex::MESH_MIN_PT_DIST = 1.0e-6;
const double MeshVertex::MESH_MIN_PT_DIST = gp::Resolution();
const double MeshVertex::MESH_MIN_PT_DIST = 10 * std::numeric_limits<double>::epsilon();
void TopoShape::getFacesFromDomains(const std::vector<Domain>& domains,
std::vector<Base::Vector3d>& points,