0026342: No materials are read from STEP
[occt.git] / tests / bugs / modalg_5 / bug23948_1
CommitLineData
6da50d26 1puts "========="
2puts "OCC23948"
3puts "========="
4puts ""
5###########################################################
6# Wrong intersection between a surface of revolution and a plane.
7###########################################################
8
9set MaxTol 1.0e-4
10set NbCurv_OK 2
11
12restore [locate_data_file bug22766_f1] f1
13restore [locate_data_file bug22766_f2] f2
14
15set log [bopcurves f1 f2]
16
17regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
18
19if {${NbCurv} != ${NbCurv_OK}} {
20 puts "Error: ${NbCurv_OK} curve(s) expected, but ${NbCurv} found."
21}
22
23if {${Toler} > ${MaxTol}} {
24 puts "Error: Tolerance is too big!"
25}