File: bug544

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (45 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
puts "========"
puts "OCC544"
puts "========"
puts ""
#################################
## Problems with the results of MakePipeShell
#################################

vinit
vsetdispmode 1
OCC544
vdisplay result
vsetmaterial result PLASTIC
vsetcolor result MATRABLUE
vsettransparency result 0.5
vsetdispmode 1
vfit

set scale    2.05374
set proj_X   0.135192
set proj_Y   -0.978297
set proj_Z   -0.157031
set up_X     -0.399854
set up_Y     -0.198875
set up_Z     0.894743
set at_X     415.781529476262
set at_Y     349.647084890243
set at_Z     417.026634136105

vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}

set x1 300
set y1 70

set x2 190
set y2 110

set x3 220
set y3 110

vmoveto ${x1} ${y1}

checkcolor $x3 $y3 0.04 0.04 0.5

set only_screen 1