0026342: No materials are read from STEP
[occt.git] / tests / bugs / vis / bug2883_1
CommitLineData
48cc825e 1puts "=========="
2puts "OCC2883"
3puts "=========="
4puts ""
5########################################################################
6# It is impossible to set material, color and transparency to compound
7########################################################################
8
9vertex v -20 10 -30
10vertex ve1 -10 10 10
11vertex ve2 0 10 10
12edge e ve1 ve2
13sphere s -80 0 0 150
14mkface f s 0.1 0.7 0.2 0.9
15box s -60 0 0 30 60 40
16compound v e f s c
17
18vinit View1
19vclear
20vaxo
21vsetdispmode 1
22vdisplay c
23vfit
24vsetmaterial c JADE
25set only_screen 1
26