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