1 puts "================"
3 puts "================"
5 #######################################################################
6 # Face/Face intersection algorithm gives different results for different order of the arguments
7 #######################################################################
9 puts "##############################"
10 puts "#!!!Search \"Attention\" keyword on this web-page for additional checking!!!"
11 puts "##############################"
17 restore [locate_data_file bug25292_f1.brep] f1
18 restore [locate_data_file bug25292_f2.brep] f2
20 #############################
21 set log [bopcurves f1 f2 -2d]
22 #############################
24 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
26 #This value must be equal to the analogical value in bug25292_31 and bug25292_32 of "bugs modalg_5" testgrid.
29 #This value must be equal to the analogical value in bug25292_31 and bug25292_32 of "bugs modalg_5" testgrid.
32 if {${Toler} > ${MaxTol}} {
33 puts "Error: Tolerance is too big!"
35 if {${NbCurv} != ${GoodNbCurv}} {
36 puts "Error: Curve Number is bad!!"
46 for {set i 1} {$i <= ${NbCurv}} {incr i} {
52 if {[dval U2-U1] < 1.0e-20} {
53 puts "Error: Wrong curve's range!"
56 xdistcs c_$i s1 U1 U2 10 ${Toler}
57 xdistcs c_$i s2 U1 U2 10 ${Toler}
62 checkview -screenshot -2d -path ${imagedir}/${test_image}.png