mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-14 20:51:41 +08:00
OpenGl_CappingPlaneResource::updateTransform() now takes into account ZLayer origin. Fixed VT_ProcessKeyPress() passing arbitrary input to Draw::Atoi() leading to messages in console like "unclosed braces".
20 lines
598 B
Plaintext
20 lines
598 B
Plaintext
puts "============="
|
|
puts "0030756: Visualization, TKOpenGl - capping plane does not work for ZLayer with non-zero origin"
|
|
puts "============="
|
|
|
|
pload MODELING VISUALIZATION
|
|
box b 1 2 3
|
|
vclear
|
|
vclose ALL
|
|
vinit View1
|
|
vzbufftrihedron
|
|
vaxo
|
|
vdisplay -dispMode 1 b
|
|
vfit
|
|
vclipplane p 1 -equation 0 1 0 -1 -set -capping 1
|
|
if { [vreadpixel 200 200 rgb name] != "GRAY13" } { puts "Error: capping does not work with zero origin" }
|
|
vzlayer DEFAULT -origin 0 10 0
|
|
if { [vreadpixel 200 200 rgb name] != "GRAY13" } { puts "Error: capping does not work with non-zero origin" }
|
|
|
|
vdump ${imagedir}/${casename}.png
|