0026106: BRepMesh - revision of data model
[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
a4eba920 15checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 7
c888deca
RL
16set tol [tolerance result ]
17regexp { *Tolerance +MAX=([-0-9.+eE]+)} ${tol} full max_tol
18puts "max_tol=${max_tol}"
19if {${max_tol} > 0.02} {
20 puts "Error : Bad tolerance"
21}
22
5747059b 23checkview -display result -3d -path ${imagedir}/${test_image}.png