5 #################################################
6 # Incomplete intersection curve from the attached shapes
7 #################################################
11 set GoodLength 0.6288896355727489
13 restore [locate_data_file bug27664_pl0.brep] pl0
14 restore [locate_data_file bug27664_nsh_8.brep] nsh_8
18 set log [bopcurves pl0_1 nsh_8_4 -2d]
20 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
22 if {${NbCurv} != ${GoodNbCurv}} {
23 puts "Error: Number of curves is bad!"
26 checkreal TolReached $Toler $ExpTol 0.0 0.1
30 for {set ic 1} { $ic <= ${NbCurv} } { incr ic} {
33 regexp "The length c_$ic is +(\[-0-9.+eE\]+)" ${le} full ll
37 set clen [expr $clen+$ll]
40 puts "Summary length = $clen"
42 checkreal Length $clen $GoodLength 0.0 1.0e-5
49 checkview -screenshot -2d -path ${imagedir}/${test_image}_1.png
56 checkview -screenshot -2d -path ${imagedir}/${test_image}_2.png