]> OCCT Git - occt.git/commitdiff
0033265: Modeling Algorithms - Boolean operation hangs on the attached shapes IR-2022-12-16
authorakaftasev <akaftasev@opencascade.com>
Fri, 9 Dec 2022 16:32:00 +0000 (19:32 +0300)
committerVadim Glukhikh <vadim.glukhikh@opencascade.com>
Fri, 16 Dec 2022 14:28:08 +0000 (14:28 +0000)
Added test case.

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

diff --git a/tests/bugs/modalg_7/bug33265 b/tests/bugs/modalg_7/bug33265
new file mode 100644 (file)
index 0000000..b6d270d
--- /dev/null
@@ -0,0 +1,16 @@
+puts "============"
+puts "0033265: Modeling Algorithms - Boolean operation hangs on the attached shapes"
+puts "============"
+puts ""
+
+restore [locate_data_file bug33265.brep] hull
+plane p 0 0.0001 0 0 1 0
+mkface f p -150 150 -150 150
+bop hull f
+bopsection res
+
+checknbshapes res -vertex 16 -edge 16
+checkprops res -l 170.631
+checksection res -r 0
+
+checkview -display res -2d -path ${imagedir}/${test_image}.png