Files
OCCT/tests/bugs/vis/bug26035_2
isk 6fb1a930e2 0024387: Tests - use system-independent fonts in test cases
Add a new parameter "-font FontName" to the command "vdimension".
Tuning of test-cases
2015-08-27 15:30:18 +03:00

27 lines
520 B
Plaintext

puts "============"
puts "CR26035"
puts "============"
puts ""
#######################################################################
# Exception when trying to draw dimension between face and point
#######################################################################
vfont add [locate_data_file DejaVuSans.ttf] SansFont
vinit View1
vclear
vaxo
box b -10 -10 -10 20 20 20
explode b F
vdisplay b_1
vpoint p 10 0 0
catch {vdimension len -length -shapes b_1 p -plane zox -font SansFont}
vfit
set only_screen 1