Files
OCCT/tests/bugs/vis/bug672_4
apn 355c155147 Adding testing cases from chl group
Modified END file of all group bugs. Command nbshape moved to END file. Add begin with variable subgroup
Small correction in END file
Replaced test case bug726_3 from moddata to modalg
2012-12-28 18:50:48 +04:00

41 lines
1.1 KiB
Plaintext
Executable File

puts "==========="
puts "OCC672 "
puts "==========="
########################################################################################
# Wrong visualization of 2d dimentions
# The following list of problems:
# 1) The length dimension value should always be aligned to the middle of
# the dimension line
# 2) The angular dimension value should always be aligned to the middle of
# the dimension line
# 3) All dimension values (text) must be aligned horizontally or vertically only.
# 4) All dimension lines must be bound with properly sized arrows.
########################################################################################
puts "Test Short_Length"
puts "==========="
set x1 330
set y1 -30
set x2 100
set y2 100
set x3 200
set y3 -100
set x4 330
set y4 -30
set str "(center)"
set scale_text 4.
set length_dist -10.0
set angle 30.0
set ll 5.0
set txtAngle 0.
set txtPosH 0.
set txtPosV 3.
v2dinit
OCC672_ShortLength $x1 $y1 $x2 $y2 $str $scale_text $length_dist $angle $ll $x3 $y3 $x4 $y4 $txtAngle $txtPosH $txtPosV
v2dfit
set only_screen2d 1