0030202: IntPatch_WLineTool::JoinWLines array out of bounds
[occt.git] / tests / bugs / modalg_7 / bug29807_i3002
CommitLineData
3306fdd9 1puts "========"
2puts "0029807: Impossible to cut cone from prism"
3puts "========"
4puts ""
5
6restore [locate_data_file bug29807-obj.brep] b1
7restore [locate_data_file bug29807-cone.brep] f2
8
9trotate f2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7 -7.14142842854285 0 5
10removeloc f2 f2
11
12explode b1 f
13smallview
14don b1_5 f2
15fit
16
17regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 f2 -2d] full Toler NbCurv
18
19checkreal Tolerance $Toler 0.00039718358530349535 0.0 0.01
20
21if {$NbCurv != 2} {
22 puts "Error: Please check NbCurves for intersector"
23}
24
25checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png
26smallview -2D-
272dfit
28checkview -screenshot -2d -path ${imagedir}/${test_image}_2d.png