1 puts "TODO OCC25597 ALL: Error: Tolerance is too big!"
2 puts "================"
4 puts "================"
6 #######################################################################
7 # Face/Face intersection algorithm gives different results for different order of the arguments
8 #######################################################################
10 puts "##############################"
11 puts "#!!!Search \"Attention\" keyword on this web-page for additional checking!!!"
12 puts "##############################"
18 restore [locate_data_file bug25292_f1.brep] f1
19 restore [locate_data_file bug25292_f2.brep] f2
21 #############################
22 set log [bopcurves f2 f1 -2d]
23 #############################
25 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
27 #This value must be equal to the analogical value in bug25292_31 and bug25292_32 of "bugs modalg_5" testgrid.
30 #This value must be equal to the analogical value in bug25292_31 and bug25292_32 of "bugs modalg_5" testgrid.
33 if {${Toler} > ${MaxTol}} {
34 puts "Error: Tolerance is too big!"
36 if {${NbCurv} != ${GoodNbCurv}} {
37 puts "Error: Curve Number is bad!!"
45 for {set i 1} {$i <= ${NbCurv}} {incr i} {
48 regexp {Degree +([-0-9.+eE]+), +([-0-9.+eE]+) Poles, +([-0-9.+eE]+)} ${log} full Degree Poles KnotsPoles
49 puts "Degree=${Degree}"
51 puts "KnotsPoles=${KnotsPoles}"
55 set exp_string "Knots :\n\n +${Knot} : +(\[-0-9.+eE\]+) +(\[-0-9.+eE\]+)"
56 regexp ${exp_string} ${log} full U1 Mult1
58 set Knot ${KnotsPoles}
59 set exp_string " +${Knot} : +(\[-0-9.+eE\]+) +(\[-0-9.+eE\]+)"
60 regexp ${exp_string} ${log} full U2 Mult2
65 if {[expr {$U2 - $U1}] < 1.0e-20} {
66 puts "Error: Wrong curve's range!"
71 xdistcs c_$i s1 ${U1} ${U2} 10
73 set List2 [split ${Log2} {TD= \t\n}]
77 checkList ${List2} ${Tolerance} ${D_good} ${Limit_Tol}
81 xdistcs c_$i s2 ${U1} ${U2} 10
83 set List2 [split ${Log2} {TD= \t\n}]
87 checkList ${List2} ${Tolerance} ${D_good} ${Limit_Tol}