0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / xde / bug23193
1 puts "============"
2 puts "0023193: Some triangles are inverted when writing an STL file"
3 puts "============"
4 puts ""
5
6 pload QAcommands
7
8 set aFile $imagedir/bug23193_sample.stl
9
10 vinit View1
11 stepread [locate_data_file bug23193_sample.stp] a *
12 incmesh a_1 1
13 writestl a_1 ${aFile} 0
14
15 meshfromstl m1 ${aFile}
16 meshcolors m1 elem2 1
17 vrotate 4 0 0
18 vfit
19
20 if { [vreadpixel 189 236 -rgb -name] != "BLUE3" } { puts "Error : There is missing triangle" }
21 vdump ${imagedir}/${test_image}.png