1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
puts "================"
puts "0030944: Modeling Algorithms - Intersection curves between pair of faces are not found"
puts "================"
puts ""
set MaxTol 2.e-7
set GoodNbCurv 12
restore [locate_data_file bug27469_shapes.brep] b
explode b
explode b_1 f
explode b_2 f
set log [bopcurves b_1_2 b_2_3 -2d]
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
if {${Toler} > ${MaxTol}} {
puts "Error: Tolerance is too big!"
}
if {${NbCurv} != ${GoodNbCurv}} {
puts "Error: Curve Number is bad!"
}
smallview
donly b_1_2 b_2_3
eval display [directory c_*]
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|