0029751: Incremental mesh produces different meshes for windows and linux (debian 8)
[occt.git] / tests / bugs / mesh / bug24593_1
CommitLineData
183acc2f 1puts "========"
2puts "OCC24593"
3puts "========"
4puts ""
5#####################################
6# Missing surfaces from STL output
7#####################################
8
9pload XDE
10
11set refnbfaces 69
12
13stepread [locate_data_file bug24593_285330.stp] a *
14renamevar a_1 result
15
16#1
17checkview -display result -3d -path ${imagedir}/${test_image}.png
18
19#2
20set log1 [explode result f]
21set nbfaces [llength $log1]
22
23#3
24set log2 [tricheck result]
25
26if { $nbfaces != $refnbfaces } {
27 puts "Error : Shape restored incorrectly - number of faces is different than expected value ($nbfaces != $refnbfaces)"
28}
29
30if { [llength $log2] != 0 } {
31 puts "Error : Some faces has failed to mesh"
32}