5 #######################################################################
6 # TKV3d, Dimensions - Possibility to customize text position was lost
7 # Test position setting for angular dimension
8 #######################################################################
11 vfont add [locate_data_file DejaVuSans.ttf] SansFont
13 set anImage1 $imagedir/${casename}_1.png
14 set anImage2 $imagedir/${casename}_2.png
20 vdimension ang -angle -shapes ang_p1 ang_p2 ang_p3 -font SansFont
24 # Check that text position was changed and the text is not aligned
27 checkcolor $x_coord $y_coord 0.46 0.9 0
29 puts "Error : Text position of dimension is incorrect."
35 # Update dimension parameters and set automatic text positioning
36 vdimparam ang -flyout -5
39 # Check that text position was changed according to flyout
42 checkcolor $x_coord $y_coord 0.46 0.9 0
44 puts "Error : Text position of dimension after layout changing is incorrect."