0025952: Wrong intersection curve
[occt.git] / tests / lowalgos / intss / bug29807_i1005
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
10trotate b2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7.1414284285428495 7.0000000000000009 -0 -38
11ttranslate b2 0 0 2
12
13explode b1 f
14explode b2 f
15smallview
16don b1_5 b2_2
17fit
18
19regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
20
21checkreal Tolerance $Toler 7.7125880147734232e-007 0.0 0.01
22
23if {$NbCurv != 2} {
24 puts "Error: Please check NbCurves for intersector"
25}
26
27checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png
28smallview -2D-
292dfit
30checkview -screenshot -2d -path ${imagedir}/${test_image}_2d.png