6fd0eb0c |
1 | puts "========" |
2 | puts "OCC28764" |
3 | puts "========" |
4 | puts "" |
5 | ################################################# |
6 | # [Regression to 7.0] Intersection of faces gives exception in debug mode |
7 | ################################################# |
8 | |
9 | restore [locate_data_file bug28764_ff.brep] f |
10 | explode f |
11 | |
12 | #### |
13 | |
14 | axo |
15 | don f |
16 | fit |
17 | |
18 | # Before the fix: Exception in Debug-mode only |
19 | set log [bopcurves f_1 f_2 -2d] |
20 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |
21 | |
22 | regexp {Tolerance Reached=+([-0-9.+eE]+)} ${log} full Toler |
6fd0eb0c |
23 | |
4a361058 |
24 | if { ${Toler} > 1.e-7} { |
25 | puts "Error: bad tolerance of result" |
26 | } |