5 ###############################
6 ## Intersection algorithm produces curves overlaped
7 ###############################
9 restore [locate_data_file bug25890_f1.brep] f1
10 restore [locate_data_file bug25890_f2.brep] f2
12 set log [bopcurves f1 f2]
13 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
15 if { ${NbCurv} != 5 } {
16 puts "Error : NbCurv is bad"
19 set nbshapes_expected "
20 Number of shapes in shape
32 for {set i 1} {$i <= $NbCurv} {incr i} {
33 for {set j [expr $i+1]} {$j <= $NbCurv} {incr j} {
34 puts " Check c_$i and c_$j"
38 checknbshapes rr -ref "${nbshapes_expected}" -t -m "Partition of 2 shapes"