0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / xde / bug25405
1 puts "========"
2 puts "OCC25405"
3 puts "========"
4 puts ""
5 ########################################
6 # STL reader doesn't keep shared nodes
7 ########################################
8
9 set GoodNodesNB 64215
10 set GoodTrianglesNB 117694
11
12 vinit
13
14 meshfromstl s [locate_data_file head.stl]
15 set bug_info [meshinfo s]
16
17 if {$GoodNodesNB != [lindex $bug_info 3]} {
18   puts "ERROR: Number of nodes is incorrect: [lindex $bug_info 3] (should be $GoodNodesNB)"
19 }
20
21 if {$GoodTrianglesNB != [lindex $bug_info 7]} {
22   puts "ERROR: Number of triangles is incorrect: [lindex $bug_info 7] (should be $GoodTrianglesNB)"
23 }
24
25 checkview -screenshot -3d -path ${imagedir}/${test_image}.png