0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_7 / bug29807_svm01
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 C5 (C6)"
7
8 cone con_f2 0 518.47000000000003 0 0 -1 1.1102230246251565e-016 14.999999999912038 0
9 mkface f2 con_f2 0 6.2831853071795862 0 1000000
10
11 cone con_f6 0 -440.74363604000001 0 0 -1 1.1102230246251565e-016 45.110284878807235 0
12 mkface f6 con_f6 0 6.2831853071795862 0 1000000
13
14 bsection result f2 f6
15
16 smallview
17 don result
18 fit
19 disp f2 f6
20
21 checksection result -r 0
22
23 checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png
24
25 checkmaxtol result -ref 7.3189259943803184e-007
26 checkprops result -l 2202.91
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 }