From: oan Date: Thu, 27 Oct 2016 14:18:18 +0000 (+0300) Subject: 0025264: Mesh very slow for Revol shape X-Git-Tag: V7_1_0_beta~66 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=f204ec4c379effe8e7774a843422a046a3c7e6f9;p=occt-copy.git 0025264: Mesh very slow for Revol shape Test case added Small corrections of test case --- diff --git a/tests/bugs/mesh/bug25264 b/tests/bugs/mesh/bug25264 new file mode 100644 index 0000000000..8e82153dab --- /dev/null +++ b/tests/bugs/mesh/bug25264 @@ -0,0 +1,31 @@ +puts "================" +puts "OCC25264" +puts "================" +puts "" +####################################################################################### +# Mesh very slow for Revol shape +###################################################################################### + +restore [locate_data_file bug25264_wire.brep] w + +# right revol position, mesh is very fast. +revol result1 w 20583.283203125 14039.0208237378 28443.2585934755 0 0 1 360 +dchrono i reset +dchrono i start +incmesh result1 0.1 +dchrono i stop +regexp {CPU user time: ([0-9|.]+) seconds} [dchrono i show] full Iseconds + +# wrong revol position, mesh is very slow in occ6.7, while in occ6.2 is very fast. +revol result2 w 20583.283203125 14039.0208217527 28443.25860033352 0 0 1 360 +dchrono j reset +dchrono j start +incmesh result2 0.1 +dchrono j stop +regexp {CPU user time: ([0-9|.]+) seconds} [dchrono j show] full Jseconds + +checkreal "Meshing time" ${Jseconds} ${Iseconds} 0.05 0 + +checkview -display result1 -3d -path ${imagedir}/${test_image}_1.png +checkview -display result2 -3d -path ${imagedir}/${test_image}_2.png +