From 5145acf1e4b45111c3cab12311c62c0026cd4f0f Mon Sep 17 00:00:00 2001 From: tanderson Date: Thu, 1 Mar 2012 16:58:56 -0500 Subject: [PATCH] adding orientation fix to face union cylinder *fixes corupted face with the y rod mount --- src/Mod/Part/App/modelRefine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Part/App/modelRefine.cpp b/src/Mod/Part/App/modelRefine.cpp index 365641c6d..3fd6082a0 100644 --- a/src/Mod/Part/App/modelRefine.cpp +++ b/src/Mod/Part/App/modelRefine.cpp @@ -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();