+ check if creation of face was successful
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5292 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
7b724d7137
commit
d5d74e140e
|
@ -511,9 +511,10 @@ TopoDS_Face FaceTypedPlane::buildFace(const FaceVectorType &faces) const
|
||||||
faceFix.Add(wiresParallel.at(index));
|
faceFix.Add(wiresParallel.at(index));
|
||||||
}
|
}
|
||||||
faceFix.FixOrientation();
|
faceFix.FixOrientation();
|
||||||
faceFix.Perform();
|
if (faceFix.Perform())
|
||||||
|
|
||||||
return faceFix.Face();
|
return faceFix.Face();
|
||||||
|
else
|
||||||
|
return TopoDS_Face();
|
||||||
}
|
}
|
||||||
|
|
||||||
FaceTypedPlane& ModelRefine::getPlaneObject()
|
FaceTypedPlane& ModelRefine::getPlaneObject()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user