340054e1 |
1 | puts "TODO OCC27948 ALL: ERROR: OCC27948 is reproduced." |
2 | |
3 | puts "========" |
4 | puts "OCC27948" |
5 | puts "========" |
6 | puts "" |
7 | ################################## |
8 | # Cut produces unexcpected shape |
9 | ################################## |
10 | |
11 | restore [locate_data_file bug27948_a.brep] a |
12 | restore [locate_data_file bug27948_b.brep] b |
13 | |
14 | bcut res a b |
15 | explode res F |
16 | |
17 | vinit |
18 | vdisplay res |
19 | vfit |
20 | vdisplay res_16 |
21 | vsetdispmode res_16 1 |
22 | |
23 | set bug_info [string trim [vreadpixel 340 280 name]] |
24 | if {$bug_info == "DARKGOLDENROD3 1"} { |
25 | puts "ERROR: OCC27948 is reproduced." |
26 | } |
27 | |
28 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |