0f04f1e1 |
1 | puts "========" |
ba00aab7 |
2 | puts "0026379: Wrong result produced by the volume maker algorithm" |
0f04f1e1 |
3 | puts "========" |
4 | puts "" |
0f04f1e1 |
5 | |
6 | restore [locate_data_file OCC26379-csf_2.brep] cf |
7 | mkvolume result cf -ni |
8 | |
ba00aab7 |
9 | vclear |
10 | vinit View1 |
11 | vdisplay -dispMode 1 result |
0f04f1e1 |
12 | vfit |
13 | |
ba00aab7 |
14 | if { [vreadpixel 350 310 -rgb -name] == "BLACK" } { puts "ERROR: OCC26379 is reproduced. Volume is incorrect." } |
0f04f1e1 |
15 | |
58cf74e0 |
16 | checkprops result -s 6.60933e+006 |
17 | checkshape result |
0f04f1e1 |
18 | |
ba00aab7 |
19 | vdump ${imagedir}/${test_image}.png |