0027622: Data Exchange - STL file having less than 4 triangles cannot be read
[occt.git] / tests / bugs / stlvrml / bug27622
CommitLineData
a47d34ef 1puts "========"
2puts "OCC27622"
3puts "========"
4puts ""
5########################################################################
6# Data Exchange - STL file having less than 4 triangles cannot be read
7########################################################################
8
9readstl result [locate_data_file bug27622_Design1.stl]
10
11set nbshapes_expected "
12Number of shapes in result
13 VERTEX : 4
14 EDGE : 5
15 WIRE : 2
16 FACE : 2
17 SHELL : 1
18 SOLID : 0
19 COMPSOLID : 0
20 COMPOUND : 0
21 SHAPE : 14
22"
23checknbshapes result -ref ${nbshapes_expected} -t -m "Result of STL-reading operation"
24
25checkview -display result -2d -path ${imagedir}/${test_image}.png