0023793: Tests failing when launched without data files
[occt.git] / tests / bugs / modalg_4 / bug6289
CommitLineData
61c421bf 1#INTERFACE STEP
2puts "============"
3puts "OCC6289"
4puts "============"
5puts ""
6######################################################
7# Internal error (code 101) in Section computation
8######################################################
9
10catch { pload XDE }
11
12set BugNumber OCC6289
13
5d1833ef 14set filepath [locate_data_file OCC6289.stp]
15if { [catch { stepread $filepath a * } catch_result] } {
61c421bf 16 puts "Faulty ${BugNumber} : here is reading problem"
17} else {
18 tpcompound comp
19
20 plane pl 0 0 28 0 0 1
21 mkface f pl
22
23 if { [catch { bsection result comp f } catch_result] } {
24 puts "Faulty ${BugNumber}"
25 }
26}
27
28set length 453.679
29set 3dviewer 0
30