Commit | Line | Data |
---|---|---|
c888deca RL |
1 | puts "============" |
2 | puts "OCC23622" | |
3 | puts "============" | |
4 | puts "" | |
5 | ####################################################################### | |
6 | # IGES import produces invalid shape with parameter read.iges.bspline.continuity=0 | |
7 | ####################################################################### | |
8 | ||
9 | param read.iges.bspline.continuity 0 | |
10 | ||
11 | igesbrep [locate_data_file bug23622_seatmotor2.igs] s1 397 | |
12 | ||
13 | renamevar s1_1 result | |
14 | ||
a4eba920 | 15 | checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 7 |
c888deca RL |
16 | set tol [tolerance result ] |
17 | regexp { *Tolerance +MAX=([-0-9.+eE]+)} ${tol} full max_tol | |
18 | puts "max_tol=${max_tol}" | |
19 | if {${max_tol} > 0.02} { | |
20 | puts "Error : Bad tolerance" | |
21 | } | |
22 | ||
5747059b | 23 | checkview -display result -3d -path ${imagedir}/${test_image}.png |