]> OCCT Git - occt.git/commitdiff
0026427: Draft angle algorithm produces wrong shape
authormkv <mkv@opencascade.com>
Thu, 10 Dec 2015 12:32:33 +0000 (15:32 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 17 Dec 2015 11:52:19 +0000 (14:52 +0300)
Test case for issue CR26427

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

diff --git a/tests/bugs/modalg_6/bug26427 b/tests/bugs/modalg_6/bug26427
new file mode 100755 (executable)
index 0000000..af7af6a
--- /dev/null
@@ -0,0 +1,31 @@
+puts "============"
+puts "OCC26427"
+puts "============"
+puts ""
+###############################
+##  Draft angle algorithm produces wrong shape
+###############################
+
+restore [locate_data_file OCC26426-prism_shape.brep] b1
+
+explode b1 f
+
+depouille result b1 0 0 -1 b1_1 -10 0 0 -40 0 0 1
+
+set square 2245.39
+
+set nbshapes_expected "
+Number of shapes in shape
+ VERTEX    : 16
+ EDGE      : 24
+ WIRE      : 10
+ FACE      : 10
+ SHELL     : 1
+ SOLID     : 1
+ COMPSOLID : 0
+ COMPOUND  : 0
+ SHAPE     : 62
+"
+checknbshapes result -ref ${nbshapes_expected} -t -m "Shape produced by Draft angle algorithm"
+
+set 2dviewer 0