mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
32 lines
566 B
Plaintext
32 lines
566 B
Plaintext
puts "============"
|
|
puts "CR26035"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Dimension drawing between two vertices
|
|
#######################################################################
|
|
|
|
vfont add [locate_data_file DejaVuSans.ttf] SansFont
|
|
|
|
vinit View1
|
|
vclear
|
|
vaxo
|
|
|
|
set x1 10
|
|
set y1 0
|
|
set z1 0
|
|
|
|
set x2 10
|
|
set y2 0
|
|
set z2 10
|
|
|
|
vertex v1 $x1 $y1 $z1
|
|
vertex v2 $x2 $y2 $z2
|
|
|
|
vdimension len -length -shapes v1 v2 -plane yoz -font SansFont
|
|
|
|
vfit
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
|
|