1 puts "================"
3 puts "================"
5 #######################################################################
6 # Face/Face intersection algorithm gives different results for different order of the arguments
7 #######################################################################
11 restore [locate_data_file bug25292_f1.brep] f1
12 restore [locate_data_file bug25292_f2.brep] f2
14 #############################
15 set log [bopcurves f2 f1 -2d]
16 #############################
18 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
20 if {${Toler} > ${MaxTol}} {
21 puts "Error: Tolerance is too big!"
24 if {${NbCurv} != ${GoodNbCurv}} {
25 puts "Error: Curve Number is bad!!"
42 set List1 [split ${Log1} {TD= \t\n}]
45 checkList ${List1} ${Tolerance} ${D_good}
56 set List2 [split ${Log2} {TD= \t\n}]
59 checkList ${List2} ${Tolerance} ${D_good}