0031075: Application Framework - reading STEP file into TDocStd_Document leads to...
[occt.git] / tests / bugs / xde / bug6283
CommitLineData
61c421bf 1puts "============"
2puts "OCC6283"
3puts "============"
4puts ""
5######################################################
6# Unstable work fixshape on attached shape (different number of warnings)
7######################################################
8
9set BugNumber OCC6283
10
11set list [stepread [locate_data_file wgehaeuse_surface.stp] a *]
12
13if {[lsearch ${list} Error] > -1} {
14 puts "${BugNumber} : Error during reading attached IGES file"
15} else {
16 tpcompound comp
17 if [catch { set fixlist [fixshape result comp 1e-7] } res] {
18 puts "${BugNumber}: Error during fixshape"
19 } else {
20 set index [string first "Segments were disordered; fixed\n" ${fixlist}]
21 if {$index != -1} {
22 puts "Faulty ${BugNumber}"
23 } else {
24 puts "OK ${BugNumber}"
25 }
58cf74e0 26 checkprops result -s 2.22665e+06
27checkshape result
5747059b 28 checkview -display result -2d -path ${imagedir}/${test_image}.png
61c421bf 29 }
30}
31