]> OCCT Git - occt.git/commitdiff
0026523: Wrong result of section algorithm
authormkv <mkv@opencascade.com>
Thu, 10 Dec 2015 13:16:55 +0000 (16:16 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 17 Dec 2015 13:15:03 +0000 (16:15 +0300)
Small correction of test case in accordance with changes of issue 25945

tests/bugs/modalg_6/bug26523 [new file with mode: 0755]

diff --git a/tests/bugs/modalg_6/bug26523 b/tests/bugs/modalg_6/bug26523
new file mode 100755 (executable)
index 0000000..9804c55
--- /dev/null
@@ -0,0 +1,31 @@
+puts "============"
+puts "OCC26523"
+puts "============"
+puts ""
+###############################
+## Wrong result of section algorithm
+###############################
+
+restore [locate_data_file bug26523_as.brep] as
+restore [locate_data_file bug26523_at.brep] at
+
+bsection result as at
+
+checkprops result -l 1189.91
+
+set nbshapes_expected "
+Number of shapes in shape
+ VERTEX    : 3
+ EDGE      : 2
+ WIRE      : 0
+ FACE      : 0
+ SHELL     : 0
+ SOLID     : 0
+ COMPSOLID : 0
+ COMPOUND  : 1
+ SHAPE     : 6
+"
+
+checknbshapes result -ref ${nbshapes_expected} -t -m "Section curve"
+
+set 3dviewer 1