0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_6 / bug25138
1 puts "============"
2 puts "OCC25138"
3 puts "============"
4 puts ""
5 #######################################################
6 # Incorrect result of Boolean Union by BRepAlgoAPI_Fuse
7 #######################################################
8
9 restore [locate_data_file bug25138a.brep] s
10 mksweep s
11 setsweep -CF
12 restore [locate_data_file bug25138b.brep] p
13 addsweep p
14 buildsweep result -C
15
16 checkshape result
17
18 checkprops result -s 112902
19
20 set nbshapes_expected "
21 Number of shapes in result
22  VERTEX    : 6
23  EDGE      : 9
24  WIRE      : 3
25  FACE      : 3
26  SHELL     : 1
27  SOLID     : 0
28  COMPSOLID : 0
29  COMPOUND  : 0
30  SHAPE     : 22
31 "
32 checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by sweep operation"
33  
34
35 checkview -display result -2d -path ${imagedir}/${test_image}.png