0022886: Bug in Boolean
[occt.git] / tests / bugs / modalg_7 / bug25385
CommitLineData
dfdfa61f 1puts "============"
2puts "OCC25385"
3puts "============"
4puts ""
5#######################################################################
6# steep increase in tolerance by intersection
7#######################################################################
8
9restore [locate_data_file bug25385_shell2.brep] s
10
11regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance s] full MaxTol_s_1
12
13plane p 28.5 0 0 1 0 0 0 1 0
14mkface f p
15bop s f
16bopsection r
17
18regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance s] full MaxTol_s_2
19
20set tol_abs_MaxTol 0.0001
21set tol_rel_MaxTol 0.0001
22checkreal "MaxTolerance " ${MaxTol_s_2} ${MaxTol_s_1} ${tol_abs_MaxTol} ${tol_rel_MaxTol}
03cca6f7 23
24checkprops r -l 36.2401