mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Some corrections; test cases were added; coding standards in MFC samples & presentations Request stencil buffer for Linux. correct test cases; correct compilation errors compilation warnings (gcc/Linux)
27 lines
617 B
Plaintext
27 lines
617 B
Plaintext
puts "============"
|
|
puts "CR24133"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Development of improvement of dimensions implementation
|
|
# Length dimension
|
|
#######################################################################
|
|
pload VISUALIZATION
|
|
|
|
vinit
|
|
vpoint lengthP1 0 0 0
|
|
vpoint lengthP2 50 50 50
|
|
vdim -length -name=dim1 -plane=xoy lengthP1 lengthP2
|
|
vdisplay dim1
|
|
vfit
|
|
vmoveto 82 268
|
|
|
|
set x_coord 337
|
|
set y_coord 130
|
|
checkcolor $x_coord $y_coord 0 1 1
|
|
if { $stat != 1 } {
|
|
puts "Error : Highlighting of length dimension is wrong."
|
|
}
|
|
|
|
set only_screen 1
|