mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
26 lines
706 B
Plaintext
26 lines
706 B
Plaintext
puts "============"
|
|
puts "CR24293"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Dimension flyout lines don't belong to the dimension sensitive entity.
|
|
#######################################################################
|
|
|
|
vfont add [locate_data_file DejaVuSans.ttf] SansFont
|
|
|
|
vinit View1
|
|
vpoint lengthP1 0 0 0
|
|
vpoint lengthP2 10 10 10
|
|
vdimension dim1 -length -plane xoy -shapes lengthP1 lengthP2 -font SansFont
|
|
vfit
|
|
vmoveto 202 191
|
|
|
|
set x_coord 272
|
|
set y_coord 198
|
|
checkcolor $x_coord $y_coord 0 1 1
|
|
if { $stat != 1 } {
|
|
puts "Error : Highlighting of length dimension is wrong."
|
|
}
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|