0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug25820_3
CommitLineData
c0e32b3c 1puts "========"
2puts "OCC25820"
3puts "========"
4puts ""
5###################################################################
6# No Intersection Curves between surface of revolution and planes
7###################################################################
8
9restore [locate_data_file OCC25820-Revolution_5.brep] b1
10explode b1 f
11copy b1_4 b1
12
13restore [locate_data_file OCC25820-Translation_3.brep] b2
14explode b2 f
15copy b2_3 b2
16
17smallview
18clear
19display b1
20display b2
21fit
22
6d368502 23set info [bopcurves b1 b2]
24regexp {Tolerance Reached=([-0-9.+eE]+)} $info full bug_info_tol
25regexp {([0-9]+) curve\(s\) found.} $info full bug_info_cur
c0e32b3c 26
27if {$bug_info_tol > 1.0e-7} {
28 puts "ERROR: OCC25820 is reproduced. Tolerance is to large ($bug_info_tol)."
29}
30
31if {$bug_info_cur != 1} {
32 puts "ERROR: OCC25820 is reproduced. Too many curves were found."
33}
34
5747059b 35checkview -screenshot -2d -path ${imagedir}/${test_image}.png