]> OCCT Git - occt-copy.git/commitdiff
0024809: Exception is raised during perform of "bfillds" command on attached shape
authoremv <emv@opencascade.com>
Thu, 10 Apr 2014 14:20:57 +0000 (18:20 +0400)
committerabv <abv@opencascade.com>
Mon, 21 Apr 2014 03:22:52 +0000 (07:22 +0400)
On attached shape command "bfillds -s" hangs in Test Harness on the long time. In debug mode exception is raised.
Vectors are normalized before calculation of an angle.
Added test case bugs/modalg_5/bug24809

tests/bugs/modalg_5/bug24809 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_5/bug24809 b/tests/bugs/modalg_5/bug24809
new file mode 100644 (file)
index 0000000..444147a
--- /dev/null
@@ -0,0 +1,18 @@
+puts "========="
+puts "OCC24809"
+puts "========="
+puts ""
+##############################################################################
+# Exception is raised during perform of "bfillds" command on attached shape
+##############################################################################
+
+restore [locate_data_file bug24809_test3.brep] b
+
+bclearobjects
+bcleartools
+set shapes [explode b f]
+set nbs [llength $shapes]
+for {set i 1} {$i <= $nbs} {incr i} {
+  baddobjects b_$i
+}
+bfillds -s