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_Input_0.brep] b1
18 restore [locate_data_file bug25292_Input_1.brep] b2
25 #############################
26 set log [bopcurves f2 f1 -2d]
27 #############################
29 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
31 #This value must be equal to the analogical value in bug25292_11 and bug25292_12 of "bugs modalg_5" testgrid.
34 #This value must be equal to the analogical value in bug25292_11, bug25292_12, bug25292_15 and bug25292_16 of "bugs modalg_5" testgrid.
37 if {${Toler} > ${MaxTol}} {
38 puts "Error: Tolerance is too big!"
41 if {${NbCurv} != ${GoodNbCurv}} {
42 puts "Error: Curve Number is bad!"
52 for {set i 1} {$i <= ${NbCurv}} {incr i} {
58 if {[dval U2-U1] < 1.0e-20} {
59 puts "Error: Wrong curve's range!"
62 xdistcs c_$i s1 U1 U2 10 ${Toler}
63 xdistcs c_$i s2 U1 U2 10 ${Toler}
68 checkview -screenshot -2d -path ${imagedir}/${test_image}.png