mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
26 lines
656 B
Plaintext
26 lines
656 B
Plaintext
puts "========"
|
|
puts "OCC25405"
|
|
puts "========"
|
|
puts ""
|
|
########################################
|
|
# STL reader doesn't keep shared nodes
|
|
########################################
|
|
|
|
set GoodNodesNB 64215
|
|
set GoodTrianglesNB 117694
|
|
|
|
vinit
|
|
|
|
meshfromstl s [locate_data_file head.stl]
|
|
set bug_info [meshinfo s]
|
|
|
|
if {$GoodNodesNB != [lindex $bug_info 3]} {
|
|
puts "ERROR: Number of nodes is incorrect: [lindex $bug_info 3] (should be $GoodNodesNB)"
|
|
}
|
|
|
|
if {$GoodTrianglesNB != [lindex $bug_info 7]} {
|
|
puts "ERROR: Number of triangles is incorrect: [lindex $bug_info 7] (should be $GoodTrianglesNB)"
|
|
}
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|