0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
[occt.git] / tests / bugs / vis / bug24288_3
CommitLineData
938d4544 1puts "============"
2puts "CR24288"
3puts "============"
4puts ""
5#######################################################################
6# Provide a text flipping
7# Test for text flipping after Z rotation
8#######################################################################
9pload VISUALIZATION
10
11set m_pi 3,14
12set m_pi2 1,57
13vinit
14vpoint radP1 0 0 0
15vpoint radP2 50 50 0
16vpoint radP3 100 0 0
17vcircle circle radP1 radP2 radP3 0
18vrotate 0 -$m_pi2 0
19verase radP1 radP2 radP3
0499eb06 20vdimension dim -radius -text 3d -shapes circle
938d4544 21vfit
d7bffd44 22vmoveto 110 111
938d4544 23
d7bffd44 24set x_coord 196
25set y_coord 196
938d4544 26checkcolor $x_coord $y_coord 0 1 1
27
28if { $stat != 1 } {
29 puts "Error : Highlighting of radius dimension with 3d text before flipping is wrong."
30}
31
32# Z axis rotation
33vrotate 0 0 $m_pi
34vfit
d7bffd44 35vmoveto 221 217
938d4544 36
d7bffd44 37set x_coord 209
38set y_coord 208
938d4544 39checkcolor $x_coord $y_coord 0 1 1
40
41if { $stat != 1 } {
42 puts "Error : Highlighting of radius dimension with 3d text with flipping after z rotation is wrong."
43}
44
45set only_screen 1