mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
29 lines
557 B
Plaintext
29 lines
557 B
Plaintext
puts "============"
|
|
puts "CR26035"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Drawing dimension between vertex and edge
|
|
#######################################################################
|
|
|
|
vfont add [locate_data_file DejaVuSans.ttf] SansFont
|
|
|
|
vinit View1
|
|
vclear
|
|
vaxo
|
|
|
|
vertex v1 10 -10 0
|
|
vertex v2 10 10 0
|
|
edge e v1 v2
|
|
vdisplay e
|
|
|
|
vertex v3 10 0 10
|
|
vdisplay v3
|
|
|
|
vdimension len -length -shapes v3 e -plane yoz -font SansFont
|
|
|
|
vfit
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
|
|