]> OCCT Git - occt.git/commitdiff
0029789: Modeling Algorithms - General Fuse produces invalid shape for valid arguments
authoremv <emv@opencascade.com>
Tue, 15 Sep 2020 13:42:04 +0000 (16:42 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 18 Sep 2020 14:46:56 +0000 (17:46 +0300)
Integrating test case for the issue.

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

diff --git a/tests/bugs/modalg_7/bug29789 b/tests/bugs/modalg_7/bug29789
new file mode 100644 (file)
index 0000000..44ef09c
--- /dev/null
@@ -0,0 +1,26 @@
+puts "============================================================================================="
+puts "0029789: Modeling Algorithms - General Fuse produces invalid shape for valid arguments"
+puts "============================================================================================="
+puts ""
+
+restore [locate_data_file bug29789-hull.brep] h
+restore [locate_data_file bug29789-contour.brep] c
+
+bclearobjects
+bcleartools
+baddobjects h
+baddtools c
+bfillds
+
+bsplit result
+
+checkshape result
+checknbshapes result -wire 40 -face 40
+checkprops result -s 7.21423e+06
+
+bbop rcom 0
+checkshape rcom
+checkprops rcom -l 8383.67
+checksection rcom -r 0
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png