3306fdd9 |
1 | puts "========" |
2 | puts "0029807: Impossible to cut cone from prism" |
3 | puts "========" |
4 | puts "" |
5 | |
6 | # Faces f2 and f6 are taken from the test case "boolean volumemaker E7" |
7 | |
8 | cone con_f1 0 -60.919306349999999 0 0 -1 1.1102230246251565e-016 28.800000000062262 0 |
9 | mkface f1 con_f1 0 6.2831853071795862 0 1000000 |
10 | |
11 | cone con_f5 0 -309.47272469000001 0 0 -1 1.1102230246251565e-016 43.999999999485127 0 |
12 | mkface f5 con_f5 0 6.2831853071795862 0 1000000 |
13 | |
14 | bsection result f1 f5 |
15 | |
16 | smallview |
17 | don result |
18 | fit |
19 | disp f1 f5 |
20 | |
21 | checksection result -r 0 |
22 | |
23 | checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png |
24 | |
25 | checkmaxtol result -ref 6.6226289034767669e-007 |
26 | checkprops result -l 1993.34 |
27 | checknbshapes result -vertex 1 -edge 1 |
28 | |
29 | checkshape result |
30 | |
31 | if {[regexp "Faulties" [bopargcheck result]]} { |
32 | puts "Error: bopargcheck has found some faulties in result" |
33 | } |