0022470: Crash during IGES import
[occt.git] / tests / bugs / xde / bug660
CommitLineData
352ffd73 1puts "================"
2puts "OCC660"
3puts "================"
4puts ""
5#######################################################
6## Surfaces types changed while reading IGES, causing problems with 2d mapping
7#######################################################
8
5d1833ef 9set filepath [locate_data_file D44-11325-6.igs]
10if [catch { igesbrep $filepath a 6425 } res] {
352ffd73 11 puts "Faulty OCC660: here is reading problem"
12}
13
14renamevar a_1 a
15
16mksurface result a
17
18set info [dump result]
19
20if { [regexp "SurfaceOfLinearExtrusion" $info] != 1 } {
21 puts "Faulty OCC660"
22}
23
24set 2dviewer 1