0023793: Tests failing when launched without data files
[occt.git] / tests / bugs / iges / bug23622_2
CommitLineData
c888deca
RL
1puts "============"
2puts "OCC23622"
3puts "============"
4puts ""
5#######################################################################
6# IGES import produces invalid shape with parameter read.iges.bspline.continuity=0
7#######################################################################
8
9param read.iges.bspline.continuity 0
10
11igesbrep [locate_data_file bug23622_seatmotor2.igs] s1 397
12
13renamevar s1_1 result
14
15nbshapes result
16
17set nb_v_good 4
18set nb_e_good 5
19set nb_w_good 1
20set nb_f_good 1
21set nb_sh_good 0
22set nb_sol_good 0
23set nb_compsol_good 0
24set nb_compound_good 0
25set nb_shape_good 11
26
27set tol [tolerance result ]
28regexp { *Tolerance +MAX=([-0-9.+eE]+)} ${tol} full max_tol
29puts "max_tol=${max_tol}"
30if {${max_tol} > 0.02} {
31 puts "Error : Bad tolerance"
32}
33
34set 3dviewer 1