]> OCCT Git - occt-copy.git/commitdiff
0028713: Algorithm 'ShapeUpgrade_UnifySameDomain' does not report the history of... CR28713
authorabk <abk@opencascade.com>
Wed, 3 May 2017 14:42:35 +0000 (17:42 +0300)
committerabk <abk@opencascade.com>
Wed, 3 May 2017 14:42:35 +0000 (17:42 +0300)
A 'Draw' test was created to reveal the problem.

tests/heal/unify_same_domain/B1 [new file with mode: 0644]

diff --git a/tests/heal/unify_same_domain/B1 b/tests/heal/unify_same_domain/B1
new file mode 100644 (file)
index 0000000..fd6ecde
--- /dev/null
@@ -0,0 +1,15 @@
+puts "TODO #28713 ALL: Error :  is WRONG because number of EDGE"
+
+readstl a [locate_data_file bug27767.stl]
+
+unifysamedom  b  a  -t 5e-2  -a 0.01047197551196597746154214461093
+
+explode a e
+compound result
+for {set i 1} {$i <= 186} {incr i} {
+  if {[unifysamedomisdel  a_${i}] == "The shape has been deleted\n"} {
+    add a_${i} result
+  }
+}
+
+checknbshapes  result  -edge 90