From: nbv Date: Fri, 12 Jan 2018 14:15:02 +0000 (+0300) Subject: 0029329: Low performance of the General Fuse algorithm X-Git-Tag: V7_4_0_beta~336 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6ff61620a35a7074cf278e29bb712f75b20e7e9f;p=occt.git 0029329: Low performance of the General Fuse algorithm Creation of test case. --- diff --git a/tests/perf/modalg/bug29329 b/tests/perf/modalg/bug29329 new file mode 100644 index 0000000000..680a82304d --- /dev/null +++ b/tests/perf/modalg/bug29329 @@ -0,0 +1,29 @@ +puts "========" +puts "0029329: Modeling Algorithms - Low performance of the General Fuse algorithm" +puts "========" +puts "" + +puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed" + +restore [locate_data_file bug29329_objects.brep] a +restore [locate_data_file bug29329_tools.brep] b + +bnondestructive 1 + +dchrono timer restart + +bfuse result a b + +dchrono timer stop counter OCC29329Fuse +dchrono timer show + +checkshape result +checknbshapes result -solid 1 -shell 1 -face 40 -wire 40 + +if {![regexp "This shape seems to be OK" [bopcheck result]]} { + puts "Error: The result is a self-intersecting shape." +} + +checkprops result -s 6483.69 -v 21609.6 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file