+ fix for refinement algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5320 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
2cf72ff194
commit
d41f67e84f
|
@ -512,10 +512,12 @@ TopoDS_Face FaceTypedPlane::buildFace(const FaceVectorType &faces) const
|
|||
faceFix.Add(wiresParallel.at(index));
|
||||
}
|
||||
faceFix.FixOrientation();
|
||||
if (faceFix.Perform())
|
||||
return faceFix.Face();
|
||||
else
|
||||
Standard_Boolean signal = faceFix.Perform();
|
||||
|
||||
if (signal > ShapeExtend_DONE)
|
||||
return TopoDS_Face();
|
||||
else
|
||||
return faceFix.Face();
|
||||
}
|
||||
|
||||
FaceTypedPlane& ModelRefine::getPlaneObject()
|
||||
|
|
Loading…
Reference in New Issue
Block a user