0030315: Data Exchange - Crash reading views during STEP import.
[occt.git] / tests / bugs / modalg_7 / bug29807_i1002
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-tool.brep] b2
8
9trotate b2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7 -7.14142842854285 0 5
10removeloc b2 b2
11
12explode b1 f
13explode b2 f
14smallview
15don b1_5 b2_2
16fit
17
18regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
19
20checkreal Tolerance $Toler 0.00039718358540697849 0.0 0.01
21
22if {$NbCurv != 2} {
23 puts "Error: Please check NbCurves for intersector"
24}
25
26checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png
27smallview -2D-
282dfit
29checkview -screenshot -2d -path ${imagedir}/${test_image}_2d.png