mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
Fixed direction calculation for Select3D_SensitiveCylinder created from Geom_CylindricalSurface
22 lines
401 B
Plaintext
22 lines
401 B
Plaintext
puts "============"
|
|
puts "0033664: Visualization - Selection does not work for simple shape"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
vclear
|
|
vinit View1
|
|
|
|
restore [locate_data_file cylinder_surface.brep] b
|
|
vdisplay -dispMode 1 b
|
|
vfit
|
|
vsensdis
|
|
|
|
vselect 200 200
|
|
if {[vnbselected] != "1"} {
|
|
puts "ERROR: wrong sensitive area"
|
|
}
|
|
|
|
vselect 0 0
|
|
vdump $::imagedir/${::casename}_cylinder.png
|