1 puts "TODO OCC225404 Debian60-64 Windows: Error: Curve Number is bad!"
3 puts "================"
5 puts "================"
7 #######################################################################
8 # Face/Face intersection algorithm gives different results for different order of the arguments
9 #######################################################################
13 restore [locate_data_file bug25292_Input_0.brep] b1
14 restore [locate_data_file bug25292_Input_1.brep] b2
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 if {${Toler} > ${MaxTol}} {
28 puts "Error: Tolerance is too big!"
31 if {${NbCurv} != ${GoodNbCurv}} {
32 puts "Error: Curve Number is bad!"
49 set List1 [split ${Log1} {TD= \t\n}]
52 checkList ${List1} ${Tolerance} ${D_good}
63 set List2 [split ${Log2} {TD= \t\n}]
66 checkList ${List2} ${Tolerance} ${D_good}
77 set List3 [split ${Log3} {TD= \t\n}]
80 checkList ${List3} ${Tolerance} ${D_good}
91 set List4 [split ${Log4} {TD= \t\n}]
94 checkList ${List4} ${Tolerance} ${D_good}
97 if { [info exist c_5] } {
103 xdistcs c_5 s1 0 1 10
106 set List5 [split ${Log5} {TD= \t\n}]
109 checkList ${List5} ${Tolerance} ${D_good}
113 if { [info exist c_6] } {
119 xdistcs c_6 s1 0 1 10
122 set List6 [split ${Log6} {TD= \t\n}]
125 checkList ${List6} ${Tolerance} ${D_good}
129 if { [info exist c_7] } {
135 xdistcs c_7 s1 0 1 10
138 set List7 [split ${Log7} {TD= \t\n}]
141 checkList ${List7} ${Tolerance} ${D_good}
147 set only_screen_axo 1