0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_2 / bug20285_11
1 puts "============"
2 puts "OCC20285"
3 puts "============"
4 puts ""
5 #######################################################################
6 # SIGFPE Arithmetic exception on MakeCut Appendix for IPAL20277
7 #######################################################################
8
9 set BugNumber OCC20285
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC20285-main.brep] a1 
13 explode a1
14 renamevar a1_7 b1
15
16 puts "Load second shape ..."
17 restore [locate_data_file OCC20285-tool.brep] b2 
18
19 puts "Prepare boolean operation ..."
20 bop b1 b2
21
22 puts "Start boolean operation ..."
23 bopsection result
24 puts "Finish boolean operation ..."
25
26 checkprops result -l 446.679 
27 checkshape result 
28 checksection result
29
30 checknbshapes result -vertex 8 -edge 8 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 17
31
32 checkview -display result -2d -path ${imagedir}/${test_image}.png