PD: Increase the tolerance to check for planar surfaces

The default tolerance to check for a planar B-spline surface is 1.0e-7 which might be too strict in some cases.
Therefore the tolerance is increased to 2.0e-7.

This fixes issue 21242
This commit is contained in:
wmayer
2025-05-15 08:10:48 +02:00
committed by Ladislav Michl
parent 4a5217075c
commit eebb7f7829
4 changed files with 13 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ public:
throw WrongSupportException();
}
if (!subshape.isPlanar()) {
if (!subshape.isPlanar(Attacher::AttachEnginePlane::planarPrecision())) {
throw SupportNotPlanarException();
}
}