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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user