0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_2 / bug20285_5
CommitLineData
3bea4c16 1puts "============"
2puts "OCC20285"
3puts "============"
4puts ""
5#######################################################################
6# SIGFPE Arithmetic exception on MakeCut Appendix for IPAL20277
7#######################################################################
8
9set BugNumber OCC20285
10
11puts "Load first shape ..."
12restore [locate_data_file OCC20285-main.brep] a1
13explode a1
14renamevar a1_5 b1
15
16puts "Load second shape ..."
17restore [locate_data_file OCC20285-tool.brep] b2
18
19puts "Prepare boolean operation ..."
20bop b1 b2
21
22puts "Start boolean operation ..."
23boptuc result
24puts "Finish boolean operation ..."
25
26set square 37856.9
27
a4eba920 28checknbshapes result -vertex 15 -edge 22 -wire 9 -face 9 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 58
3bea4c16 29
30set 2dviewer 0