0f04f1e1 |
1 | puts "========" |
2 | puts "OCC26379" |
3 | puts "========" |
4 | puts "" |
5 | ####################################################### |
6 | # Wrong result produced by the volume maker algorithm |
7 | ####################################################### |
8 | |
9 | restore [locate_data_file OCC26379-csf_3.brep] cf |
10 | mkvolume result cf -ni |
11 | |
12 | vinit |
13 | vsetdispmode 1 |
14 | vdisplay result |
15 | vfit |
16 | |
17 | set bug_info [vreadpixel 350 310 name] |
18 | if {$bug_info != "DARKGOLDENROD3 1"} { |
19 | puts "ERROR: OCC26379 is reproduced. Volume is incorrect." |
20 | } |
21 | |
58cf74e0 |
22 | checkprops result -s 7.22211e+006 |
23 | checkshape result |
0f04f1e1 |
24 | |
5747059b |
25 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |