Correction of testing case for issue 24374
[occt.git] / tests / bugs / xde / bug23193
CommitLineData
9ced84ff 1puts "============"
2puts "OCC23193"
3puts "============"
4puts ""
5###########################################################################
6# Some triangles are inverted when writing an STL file
7###########################################################################
8pload QAcommands
9
9ced84ff 10
60874ff8 11set aFile $imagedir/bug23193_sample.stl
9ced84ff 12
13vinit
14stepread [locate_data_file bug23193_sample.stp] a *
15writestl a_1 ${aFile} 0
9ced84ff 16
17meshfromstl m1 ${aFile}
18meshcolors m1 elem2 1
4754e164 19vrotate 4 0 0
9ced84ff 20vfit
21
f1aa2b62 22set x_coord 189
23set y_coord 236
9ced84ff 24
f1aa2b62 25checkcolor $x_coord $y_coord 0 0 0.7
9ced84ff 26
f1aa2b62 27if { ${stat} != 1 } {
28 puts "Error : There is missing triangle"
9ced84ff 29}
30
82cbc512 31set only_screen 1
9ced84ff 32
33
34
35