0025816: IGES export - edges within compound are lost if BREP mode (IGES 5.1) is...
[occt.git] / tests / bugs / vis / bug2883_2
CommitLineData
48cc825e 1puts "=========="
2puts "OCC2883"
3puts "=========="
4puts ""
5########################################################################
6# It is impossible to set material, color and transparency to compound
7########################################################################
8
9box b1 0 0 0 1 2 3
10box b2 4 0 0 3 1 2
11vinit drv1/v1/v1
12vsetdispmode 1
13vdisplay b1 b2
14vfit
15vinit drv1/v2/v1
16vsetdispmode 1
17vdisplay b1 b2
18vfit
19vsetcolor b1 RED
20vactivate drv1/v1/v1
21vdump v1.png
22vactivate drv1/v2/v1
23vdump v2.png
24set info [diffimage v1.png v2.png 0 0 0]
25if { $info != 0 } {
26 puts "Error: images v1 and v2 are different"
27} else {
28 puts "OK: images v1 and v2 are similar"
29}
30
31set only_screen 1