48cc825e |
1 | puts "==========" |
2 | puts "OCC2883" |
3 | puts "==========" |
4 | puts "" |
5 | ######################################################################## |
6 | # It is impossible to set material, color and transparency to compound |
7 | ######################################################################## |
8 | |
9 | vertex v -20 10 -30 |
10 | vertex ve1 -10 10 10 |
11 | vertex ve2 0 10 10 |
12 | edge e ve1 ve2 |
13 | sphere s -80 0 0 150 |
14 | mkface f s 0.1 0.7 0.2 0.9 |
15 | box s -60 0 0 30 60 40 |
16 | compound v e f s c |
17 | |
18 | vinit View1 |
19 | vclear |
20 | vaxo |
21 | vsetdispmode 1 |
22 | vdisplay c |
23 | vfit |
24 | vsetmaterial c JADE |
25 | set only_screen 1 |
26 | |