0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / xde / bug23193
CommitLineData
9ced84ff 1puts "============"
ba00aab7 2puts "0023193: Some triangles are inverted when writing an STL file"
9ced84ff 3puts "============"
4puts ""
9ced84ff 5
ba00aab7 6pload QAcommands
9ced84ff 7
60874ff8 8set aFile $imagedir/bug23193_sample.stl
9ced84ff 9
ba00aab7 10vinit View1
9ced84ff 11stepread [locate_data_file bug23193_sample.stp] a *
b9c1e440 12incmesh a_1 1
9ced84ff 13writestl a_1 ${aFile} 0
9ced84ff 14
15meshfromstl m1 ${aFile}
16meshcolors m1 elem2 1
4754e164 17vrotate 4 0 0
9ced84ff 18vfit
19
ba00aab7 20if { [vreadpixel 189 236 -rgb -name] != "BLUE3" } { puts "Error : There is missing triangle" }
21vdump ${imagedir}/${test_image}.png