diff --git a/src/BOPAlgo/BOPAlgo_BuilderFace.cxx b/src/BOPAlgo/BOPAlgo_BuilderFace.cxx index b1c5387c0d..09acefd67f 100644 --- a/src/BOPAlgo/BOPAlgo_BuilderFace.cxx +++ b/src/BOPAlgo/BOPAlgo_BuilderFace.cxx @@ -445,6 +445,7 @@ void BOPAlgo_BuilderFace::PerformLoops() }//for (; aIt.More(); aIt.Next()) { }//for (; aItE.More(); aItE.Next()) { }//for (; aItW.More(); aItW.Next()) { + aW.Closed(BRep_Tool::IsClosed(aW)); myLoopsInternal.Append(aW); }//for (; aItM.More(); aItM.Next()) { } @@ -817,6 +818,7 @@ void MakeInternalWires(const BOPCol_MapOfShape& theME, } } } + aW.Closed(BRep_Tool::IsClosed(aW)); theWires.Append(aW); } } diff --git a/src/BOPAlgo/BOPAlgo_Builder_1.cxx b/src/BOPAlgo/BOPAlgo_Builder_1.cxx index fd628c7500..5c1e98a35f 100644 --- a/src/BOPAlgo/BOPAlgo_Builder_1.cxx +++ b/src/BOPAlgo/BOPAlgo_Builder_1.cxx @@ -34,6 +34,12 @@ #include #include +#include +#include +#include +#include +#include +#include //======================================================================= //function : FillImagesVertices @@ -241,6 +247,8 @@ } } // + aCIm.Closed(BRep_Tool::IsClosed(aCIm)); + // BOPCol_ListOfShape aLSIm(myAllocator); aLSIm.Append(aCIm); myImages.Bind(theS, aLSIm); diff --git a/src/BOPAlgo/BOPAlgo_WireSplitter.lxx b/src/BOPAlgo/BOPAlgo_WireSplitter.lxx index 01fa726fb8..d3481e7619 100644 --- a/src/BOPAlgo/BOPAlgo_WireSplitter.lxx +++ b/src/BOPAlgo/BOPAlgo_WireSplitter.lxx @@ -13,6 +13,7 @@ // commercial license or contractual agreement. #include +#include #include @@ -85,7 +86,7 @@ typedef NCollection_IndexedDataMap