0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug21091_7
CommitLineData
a8676008 1puts "============"
2puts "OCC21091"
3puts "OCC21450"
4puts "============"
5puts ""
a8676008 6
6fb1a930 7vfont add [locate_data_file DejaVuSans.ttf] SansFont
8
a8676008 9vinit
5747059b 10checkview -screenshot -3d -path ${imagedir}/${test_image}.png
a8676008 11
12vtrihedron trihedron
13
14vpoint p1 -300 -300 -300
6fb1a930 15vdrawtext OC0 OpenCascade -pos -300 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 16
a8676008 17vpoint p2 -300 -300 -100
6fb1a930 18vdrawtext OC1 OpenCascade -pos -300 -300 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 19
a8676008 20vpoint p3 -100 -100 -300
6fb1a930 21vdrawtext OC2 OpenCascade -pos -100 -100 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 22
a8676008 23vpoint p4 -100 -100 -100
6fb1a930 24vdrawtext OC3 OpenCascade -pos -100 -100 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
a8676008 25
26
27vpoint p5 -300 -100 -300
6fb1a930 28vdrawtext OC4 OpenCascade -pos -300 -100 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 29
a8676008 30vpoint p6 -100 -300 -300
6fb1a930 31vdrawtext OC5 OpenCascade -pos -100 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 32
a8676008 33vpoint p7 -300 -100 -100
6fb1a930 34vdrawtext OC6 OpenCascade -pos -300 -100 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
29e2c6d2 35
a8676008 36vpoint p8 -100 -300 -100
6fb1a930 37vdrawtext OC7 OpenCascade -pos -100 -300 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
a8676008 38
39vaxis ax1 100 100 100 100 100 0
40
41box a 110 110 110 200 200 200
42vdisplay a
43
44set aFile $imagedir/${test_image}.tex
45
be375252 46vcaps -ffp 1
a8676008 47vexport ${aFile} TEX
48
49if { [file exists ${aFile}] } {
50 puts "Export to TEX file was done"
51 set filesize [file size ${aFile}]
52 puts "Size of TEX file = $filesize"
0c4ca3bd 53 if { $filesize > 1500 } {
54 puts "Faulty : Export to TEX file was done but size of file is incorrect"
55 }
56} else {
57 puts "Faulty : Export to TEX file was not done"
58}