0026342: No materials are read from STEP
[occt.git] / tests / bugs / xde / bug25405
CommitLineData
fcc61cc4 1puts "========"
2puts "OCC25405"
3puts "========"
4puts ""
5########################################
6# STL reader doesn't keep shared nodes
7########################################
8
9set GoodNodesNB 64215
10set GoodTrianglesNB 117694
11
12vinit
13
14meshfromstl s [locate_data_file head.stl]
15set bug_info [meshinfo s]
16
17if {$GoodNodesNB != [lindex $bug_info 3]} {
18 puts "ERROR: Number of nodes is incorrect: [lindex $bug_info 3] (should be $GoodNodesNB)"
19}
20
21if {$GoodTrianglesNB != [lindex $bug_info 7]} {
22 puts "ERROR: Number of triangles is incorrect: [lindex $bug_info 7] (should be $GoodTrianglesNB)"
23}
24
25set only_screen 1