mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
- polygonal representation of the edge is used for sensitive entity computation regardless of requested deflection; - test case for issue #26959 Adjusting test case
32 lines
591 B
Plaintext
32 lines
591 B
Plaintext
puts "============"
|
|
puts "CR26959"
|
|
puts "Visualization - cannot select edge of the shape"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload VISUALIZATION MODELING
|
|
|
|
restore [locate_data_file bug26959.brep] aFace
|
|
|
|
vinit
|
|
vdisplay aFace
|
|
fixshape aFace1 aFace
|
|
|
|
vremove aFace
|
|
vdisplay aFace1
|
|
vaspects aFace1 -setWidth 3
|
|
vselmode aFace1 2 1
|
|
|
|
vfit
|
|
|
|
vmoveto 142 127
|
|
if {[vreadpixel 142 127 name] == "CYAN1 1"} {
|
|
puts "OK"
|
|
} elseif {[vreadpixel 142 127 name] == "GREEN 1"} {
|
|
puts "ERROR: the upper edge cannot be highlighted!"
|
|
} else {
|
|
puts "ERROR: the shape was not displayed correctly!"
|
|
}
|
|
|
|
set only_screen 1
|