5 ########################################
6 # STL reader doesn't keep shared nodes
7 ########################################
10 set GoodTrianglesNB 117694
14 meshfromstl s [locate_data_file head.stl]
15 set bug_info [meshinfo s]
17 if {$GoodNodesNB != [lindex $bug_info 3]} {
18 puts "ERROR: Number of nodes is incorrect: [lindex $bug_info 3] (should be $GoodNodesNB)"
21 if {$GoodTrianglesNB != [lindex $bug_info 7]} {
22 puts "ERROR: Number of triangles is incorrect: [lindex $bug_info 7] (should be $GoodTrianglesNB)"