5 ###############################
6 ## [Regression to 6.9.1] smesh/bugs_00/A6: Cut produces an empty shape
7 ###############################
9 set MaxTol 3.8178537637632889e-006
12 restore [locate_data_file bug27282_cmpd.brep] a
19 set log [bopcurves a_2 a_5 -2d]
21 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
23 checkreal ToleranceReached ${Toler} ${MaxTol} 0.0 0.1
25 checkview -screenshot -2d -path ${imagedir}/${test_image}.png
27 if {${NbCurv} != ${GoodNbCurv}} {
28 puts "Error: Number of curves is bad!"
30 for {set i 1} {$i < ${NbCurv}} {incr i} {
31 for {set j [expr $i+1]} {$j <= $NbCurv} {incr j} {
35 dset dd_val 100.0*${Toler}
38 if { [dval dd_val] > ${Toler} } {
39 puts "Error: Intersection result is not closed"
44 checklength c_1 -l 833.56846557106064