0032108: Modeling Algorithms - BRepAlgoAPI_Section is too slow
authoremv <emv@opencascade.com>
Tue, 2 Feb 2021 08:37:28 +0000 (11:37 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 3 Feb 2021 15:32:55 +0000 (18:32 +0300)
Fixed by 0029711. Integrating test case only.

tests/bugs/modalg_7/bug32108 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_7/bug32108 b/tests/bugs/modalg_7/bug32108
new file mode 100644 (file)
index 0000000..abe67e0
--- /dev/null
@@ -0,0 +1,21 @@
+puts "============================================================================================="
+puts "0032108: Modeling Algorithms - BRepAlgoAPI_Section is too slow"
+puts "============================================================================================="
+puts ""
+
+restore [locate_data_file bug32108_H502.brep] s1
+restore [locate_data_file bug32108_z.brep] s2
+
+dchrono h restart
+bsection result s1 s2 -na
+dchrono h stop counter SECTION_NO_APPROX
+
+dchrono h restart
+bsection result1 s1 s2
+dchrono h stop counter SECTION_WITH_APPROX
+
+checksection result -r 0
+checkprops result -l 9.15304 
+checkprops result1 -l 9.15304
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png