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 792c0ae5e8
commit 01c427d5e3
4 changed files with 13 additions and 3 deletions

View File

@@ -60,7 +60,9 @@ PROPERTY_SOURCE_WITH_EXTENSIONS(Part::Part2DObject, Part::Feature)
Part2DObject::Part2DObject()
{
AttachExtension::initExtension(this);
this->setAttacher(new Attacher::AttachEnginePlane);
auto engine = new Attacher::AttachEnginePlane;
engine->precision = Attacher::AttachEnginePlane::planarPrecision();
this->setAttacher(engine);
}