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