5 ########################################################################################
6 # Regression : Section obtained after command "bsection" in Test Harness is incorrect.
7 ########################################################################################
9 restore [locate_data_file bug25697_shell_for_seam.brep] b1
10 restore [locate_data_file bug25697_prism.brep] b2
16 #################################
17 set log [bopcurves b1 b2 -2d1]
18 #################################
20 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
25 if { ${Toler} > ${MaxTol} } {
26 puts "Error: Tolerance is too big!"
29 if { ${NbCurv} != ${GoodNbCurv} } {
30 puts "Error: Curve Number is bad!"
37 for {set i 1} {$i <= ${NbCurv}} {incr i} {
42 xdistcs c_$i s1 u1 u2 10
44 set List2 [split ${Log2} {TD= \t\n}]
48 checkList ${List2} ${Tolerance} ${D_good} ${Limit_Tol}
52 xdistcs c_$i s2 u1 u2 10
54 set List2 [split ${Log2} {TD= \t\n}]
58 checkList ${List2} ${Tolerance} ${D_good} ${Limit_Tol}