adding orientation fix to face union cylinder

*fixes corupted face  with the y rod mount
This commit is contained in:
tanderson 2012-03-01 16:58:56 -05:00
parent 483131e628
commit 5145acf1e4

View File

@ -450,6 +450,9 @@ TopoDS_Face FaceTypedCylinder::buildFace(const FaceVectorType &faces) const
continue;
faceFixer.Add(wireMaker.Wire());
}
if (faceFixer.Perform() > ShapeExtend_DONE5)
return TopoDS_Face();
faceFixer.FixOrientation();
if (faceFixer.Perform() > ShapeExtend_DONE5)
return TopoDS_Face();
return faceFixer.Face();