0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / stlvrml / bug30389
CommitLineData
44d5a096 1puts "========"
2puts "0030389: Data Exchange - StlAPI_Writer does not check if the face has triangulation"
3puts "========"
4puts ""
5
6box b 1 1 1
7
8# mesh only 5 faces of the box
9eval compound [lrange [explode b f] 0 4] cf
10incmesh cf 0.1
11
12# save box into stl
13writestl b $imagedir/${casename}.stl
14
15# read stl
16readstl result $imagedir/${casename}.stl -brep
17
18# check that it contains only 10 triangles
19checknbshapes result -face 10