View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032175 | Open CASCADE | OCCT:Visualization | public | 2021-02-26 10:00 | 2024-01-19 17:17 |
| Reporter | snn | Assigned To | bugmaster | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 7.5.0 | ||||
| Target Version | 7.8.0 | ||||
| Summary | 0032175: Visualization - incorrect rectangular selection with clipping planes defining a box | ||||
| Description | Selection 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 | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
|
DR-1569.tcl (2,056 bytes) |
|
|
DR-1569-result.png (11,010 bytes) |
|
|
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) |
|
|
Dear bugmaster, this issue appears to be fixed. |
| 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 |
|
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 |
|
Note Added: 0114232 | |
| 2023-09-21 17:53 |
|
File Added: 32175_new_selection.png | |
| 2023-09-22 16:43 |
|
Status | new => feedback |
| 2023-09-22 16:43 |
|
Note Added: 0114257 | |
| 2023-10-02 16:01 |
|
Target Version | Unscheduled => 7.8.0 |
| 2023-10-06 11:51 |
|
Assigned To | drochalo => bugmaster |
| 2024-01-19 17:17 | vglukhik | Status | feedback => closed |
| 2024-01-19 17:17 | vglukhik | Resolution | open => fixed |