From: emv Date: Thu, 20 Oct 2016 08:31:19 +0000 (+0300) Subject: 0027984: Volume maker algorithm is unable to build all possible solids from the given... X-Git-Tag: V7_1_0_beta~72 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=3f317e7d0c94897c7b6b859fcc6649ee31339d5b;p=occt.git 0027984: Volume maker algorithm is unable to build all possible solids from the given faces While checking the section edges between pair of faces on coincidence with the existing edges use for checking only the edges from these two faces. Test case for the issue. --- diff --git a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx index b6730c0a30..c805f068cb 100644 --- a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx +++ b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx @@ -432,6 +432,7 @@ void BOPAlgo_PaveFiller::MakeBlocks() aMPBOnIn.Clear(); aDMBV.Clear(); aMVTol.Clear(); + aLSE.Clear(); // myDS->VerticesOnIn(nF1, nF2, aMVOnIn, aMPBOnIn); myDS->SharedEdges(nF1, nF2, aLSE, aAllocator); diff --git a/tests/bugs/modalg_6/bug27984 b/tests/bugs/modalg_6/bug27984 new file mode 100644 index 0000000000..12ebf64347 --- /dev/null +++ b/tests/bugs/modalg_6/bug27984 @@ -0,0 +1,12 @@ +puts "========" +puts "OCC27984" +puts "========" +puts "" +################################################# +# Volume maker algorithm is unable to build all possible solids from the given faces +################################################# + +restore [locate_data_file bug27984_faces.brep] lf +mkvolume result lf -c +checknbshapes result -solid 28 +checkprops result -s 5.93287e+006 -v 6.99508e+007