0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_6 / bug25138
CommitLineData
d0aafb06 1puts "============"
2puts "OCC25138"
3puts "============"
4puts ""
5#######################################################
6# Incorrect result of Boolean Union by BRepAlgoAPI_Fuse
7#######################################################
8
9restore [locate_data_file bug25138a.brep] s
10mksweep s
11setsweep -CF
12restore [locate_data_file bug25138b.brep] p
13addsweep p
14buildsweep result -C
15
16checkshape result
17
18checkprops result -s 112902
19
20set nbshapes_expected "
21Number 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"
32checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by sweep operation"
33
34
35checkview -display result -2d -path ${imagedir}/${test_image}.png