0027300: Boolean operation produces invalid shape in terms of "bopargcheck" command
[occt.git] / tests / bugs / modalg_6 / bug26334
CommitLineData
3da62e0e 1puts "============"
2puts "OCC26334"
3puts "============"
4puts ""
5#######################################################################
6# BRepOffsetAPI_MakePipeShell returns the wrong shape
7#######################################################################
8
9restore [locate_data_file bug26334_pw1.brep] pw1
10restore [locate_data_file bug26334_pw2.brep] pw2
11restore [locate_data_file bug26334_pw3.brep] pw3
12
13mksweep pw1
14addsweep pw2
15addsweep pw3
16setsweep -DT
17
18buildsweep result
19
20set square 1.72246
21
22set nbshapes_expected "
23Number of shapes in shape
24 VERTEX : 10
25 EDGE : 13
26 WIRE : 4
27 FACE : 4
28 SHELL : 1
29 SOLID : 0
30 COMPSOLID : 0
31 COMPOUND : 0
32 SHAPE : 32
33"
34
35checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by BRepOffsetAPI_MakePipeShell"
36
5747059b 37checkview -display result -2d -path ${imagedir}/${test_image}.png