0010234: BRepOffsetAPI_MakePipeShell fails on spine built from two segments and profi...
authorbugmaster <bugmaster@opencascade.com>
Mon, 19 Sep 2016 12:03:00 +0000 (15:03 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 22 Sep 2016 09:19:45 +0000 (12:19 +0300)
Adding testing case

tests/bugs/modalg_6/bug10234 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_6/bug10234 b/tests/bugs/modalg_6/bug10234
new file mode 100644 (file)
index 0000000..7c3ca03
--- /dev/null
@@ -0,0 +1,37 @@
+puts "============"
+puts "OCC10234"
+puts "============"
+puts ""
+############################################################################
+# BRepOffsetAPI_MakePipeShell fails on spine built from two segments and profile built from arc
+############################################################################
+
+restore [locate_data_file bug10234a.brep] pr
+restore [locate_data_file bug10234b.brep] sp
+
+mksweep sp
+addsweep pr
+buildsweep result -C
+
+checkshape result
+
+checkprops result -s 45.9872
+
+set nbshapes_expected "
+Number of shapes in result
+ VERTEX    : 6
+ EDGE      : 7
+ WIRE      : 2
+ FACE      : 2
+ SHELL     : 1
+ SOLID     : 0
+ COMPSOLID : 0
+ COMPOUND  : 0
+ SHAPE     : 18
+"
+checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png
+
+
+