View Issue Details

IDProjectCategoryView StatusLast Update
0032175Open CASCADEOCCT:Visualizationpublic2024-01-19 17:17
Reportersnn Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version7.5.0 
Target Version7.8.0 
Summary0032175: Visualization - incorrect rectangular selection with clipping planes defining a box
DescriptionSelection by box performed by the attached script (DR-1569.tcl) is not correct. 10 items are selected, but some bolts that were cut by the box boundaries must not be selected.
Steps To Reproduce
pload XDE OCAF VISUALIZATION MODELING

ReadStep D "as1-oc-214.stp"
XGetOneShape S D

explode S So

vclear
vinit View1

#vdisplay -dispMode 1 S_10
vdisplay -dispMode 1 S_1 S_2 S_3 S_4 S_5 S_6 S_7 S_8 S_9 S_10 S_11 S_12 S_13 S_14 S_15 S_16 S_17 S_18
vfit

vclipplane create XMin
vclipplane change XMin equation 1.0 0.0 0.0 1.0e+001
vclipplane set XMin view Driver1/Viewer1/View1

vclipplane create XMax
vclipplane change XMax equation -1.0 -0.0 -0.0 1.603203e+002
vclipplane set XMax view Driver1/Viewer1/View1

vclipplane create YMin
vclipplane change YMin equation 0.0 1.0 0.0 -6.537673e+001
vclipplane set YMin view Driver1/Viewer1/View1

vclipplane create YMax
vclipplane change YMax equation -0.0 -1.0 -0.0 1.50e+002
vclipplane set YMax view Driver1/Viewer1/View1

vclipplane create ZMin
vclipplane change ZMin equation 0.0 0.0 1.0 4.0
vclipplane set ZMin view Driver1/Viewer1/View1

vclipplane create ZMax
vclipplane change ZMax equation -0.0 -0.0 -1.0 8.0e+001
vclipplane set ZMax view Driver1/Viewer1/View1

set corners { {-1.0e+001 6.537673e+001 -4.0} {1.603203e+002 6.537673e+001 -4.0} {-1.0e+001 1.50e+002 -4.0} {1.603203e+002 1.50e+002 -4.0} {-1.0e+001 6.537673e+001 8.0e+001} {1.603203e+002 6.537673e+001 8.0e+001} {-1.0e+001 1.50e+002 8.0e+001} {1.603203e+002 1.50e+002 8.0e+001} }
foreach c ${corners} {
  set X [lindex $c 0]
  set Y [lindex $c 1]
  set Z [lindex $c 2]
  set ret [vconvert $X $Y $Z window]
  set p [lindex [split $ret ":"] 1]
  lappend x [lindex $p 0] 
  lappend y [lindex $p 1]
}
set x [join $x ","]
set y [join $y ","]
set xmin [expr min($x)]
set ymin [expr min($y)]
set xmax [expr max($x)]
set ymax [expr max($y)]

vselect $xmin $ymin $xmax $ymax

vnbselected



1. Run draw.bat
2. Execute DR-1569.tcl script
TagsNo tags attached.
Test case number

Attached Files

  • DR-1569.tcl (2,056 bytes)
  • DR-1569-result.png (11,010 bytes)
  • 32175_new_selection.png (106,424 bytes)

Relationships

related to 0031149 newnds Open CASCADE Visualization - using clipping planes for FitAll of V3d_View 
related to 0032872 closedbugmaster Community SelectMgr_ViewerSelector view clipping planes 

Activities

snn

2021-02-26 10:00

reporter  

DR-1569.tcl (2,056 bytes)

snn

2021-02-26 10:00

reporter  

DR-1569-result.png (11,010 bytes)

drochalo

2023-09-21 17:53

developer   ~0114232

This issue appears to be fixed (check 32175_new_selection.png).
Changes made to OCCT might have solved this problem.
32175_new_selection.png (106,424 bytes)

drochalo

2023-09-22 16:43

developer   ~0114257

Dear bugmaster,

this issue appears to be fixed.

Issue History

Date Modified Username Field Change
2021-02-26 10:00 snn New Issue
2021-02-26 10:00 snn Assigned To => kgv
2021-02-26 10:00 snn File Added: DR-1569.tcl
2021-02-26 10:00 snn File Added: DR-1569-result.png
2021-02-26 10:20 kgv Summary Incorrect selection by box => Visualization - incorrect selection by box
2021-02-26 10:28 kgv Steps to Reproduce Updated
2021-02-26 10:29 kgv Product Version => 7.5.0
2021-02-26 10:29 kgv Summary Visualization - incorrect selection by box => Visualization - incorrect rectangular selection with clipping planes defining a box
2021-03-04 07:23 kgv Relationship added related to 0031149
2021-08-24 14:19 kgv Target Version 7.6.0 => 7.7.0
2022-06-08 11:07 kgv Relationship added related to 0032872
2022-08-17 11:55 kgv Target Version 7.7.0 => 7.8.0
2022-10-19 15:49 smoskvin Assigned To kgv => vpozdyayev
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled
2023-09-21 17:47 ebelouso Assigned To vpozdyayev => drochalo
2023-09-21 17:53 drochalo Note Added: 0114232
2023-09-21 17:53 drochalo File Added: 32175_new_selection.png
2023-09-22 16:43 drochalo Status new => feedback
2023-09-22 16:43 drochalo Note Added: 0114257
2023-10-02 16:01 drochalo Target Version Unscheduled => 7.8.0
2023-10-06 11:51 drochalo Assigned To drochalo => bugmaster
2024-01-19 17:17 vglukhik Status feedback => closed
2024-01-19 17:17 vglukhik Resolution open => fixed