0030402: Data Exchange - exported VRML file has broken location information
[occt.git] / tests / bugs / xde / bug23182
1 puts "============"
2 puts "OCC23182"
3 puts "============"
4 puts ""
5 #######################################################################
6 # During STEP translation isn't checked for validity flag IsClosed
7 #######################################################################
8
9 set BugNumber OCC23182
10
11 testreadstep [locate_data_file OCC23182-Layout1.stp] result
12
13 set CheckShape_status 0
14
15 checkprops result -s 1.24252 
16 checkshape result
17
18 checknbshapes result -vertex 98 -edge 98 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 199
19 set aClosed [lindex [whatis result] end]
20 if { ${aClosed} != "Orientable" } {
21    set CheckShape_status 1
22 }
23
24 if { ${CheckShape_status} != 0 } {
25    puts "Faulty ${BugNumber}"
26 } else {
27    puts "OK ${BugNumber}"
28 }
29
30 checkview -display result -3d -path ${imagedir}/${test_image}.png