View Issue Details

IDProjectCategoryView StatusLast Update
0023536Open CASCADEOCCT:Visualizationpublic2021-11-26 10:08
ReporterskiAssigned Tobugmaster  
PrioritynormalSeverityjust a question 
Status closedResolutionfixed 
PlatformAOSL 
Target Version6.6.0Fixed in Version6.6.0 
Summary0023536: Modes of QASetChoiceMode command
DescriptionThere are wrong selecting and highlighting in DRAW if more than 1 mode of command QASetChoiceMode is ON.

For example:
after commands
QASetChoiceMode EDGE ON
QASetChoiceMode SOLID ON
only SOLIDs will be able for selecting and highlighting.

Is this right?

Also, if SOLID mode is already ON, and you will type
QASetChoiceMode SOLID ON
it will be turned off.

Example from DRAW:
Draw[16]> QASetChoiceMode SOLID ON
Mode Solid ON
Draw[17]> QASetChoiceMode SOLID ON
Mode Solid OFF
Draw[18]> QASetChoiceMode SOLID ON
Mode Solid ON




Steps To Reproducepload ALL
pload QAcommands
vinit
box a 10 10 10
vdisplay a
vfit
QASetChoiceMode EDGE ON
QASetChoiceMode SOLID ON

after that, only SOLIDs will be able for selecting and highlighting.

TagsNo tags attached.
Test case number

Relationships

related to 0023525 closedkgv Disappearing of highlight in screenshot 
parent of 0023721 closedaba Missing usage hints for vselmode command 
child of 0023539 closedaba QASelect and QAShiftSelect commands 

Activities

san

2012-12-11 19:01

developer   ~0022659

Please, check if standard vselmode command behaves correctly in the described cases.
In general, QASetChoiceMode command should be removed, in all tests vselmode should be used instead.

aba

2012-12-12 15:05

developer   ~0022675

Last edited: 2012-12-12 15:10

vselmode commands hasn't both problems described above. vselmode has more general behavior then QASetChoiceMode has, and QASetChoiceMode can be substituted with vselmode command.
There is only difference in commands input parameters:
vselmode [object] mode on/off
 mode is integer number from 0 to 8 where:
  0-shape,
  1-vertex,
  2-edge,
  3-wire,
  4-face,
  5-shell,
  6-solid,
  7-compsolid,
  8-compound
 on/off is
  1 if mode is to be switched on
  0 if mode is to be switched off

So:
QASetChoiceMode EDGE ON
can be substituted with:
vselmode 2 1

ski

2012-12-13 12:57

developer   ~0022686

There is a problem with command vselmode.
On virtual machine with Mandriva2010 32bit
after commands:

DRAWEXE
pload ALL
pload QAcommands
box a 10 10 10
vinit
vdisplay a
vfit
vselmode 1 1

an exception was raised:

 *** Abort *** an exception was raised, but no catch was found.
       ... The exception is:SIGFPE Arithmetic exception detected

san

2013-01-24 10:25

developer   ~0023113

This issue has been corrected by the patch for 0023536 and should be closed. There is no separate patch for it so nothing to test.

bugmaster

2013-02-20 10:13

administrator   ~0023398

This issue has been corrected by the patch for 0023536.

Issue History

Date Modified Username Field Change
2012-11-09 16:00 ski New Issue
2012-11-09 16:00 ski Assigned To => san
2012-11-09 16:03 ski Steps to Reproduce Updated
2012-11-09 16:04 ski Description Updated
2012-11-09 16:13 ski Steps to Reproduce Updated
2012-11-09 16:16 ski Tag Attached: QA_vis
2012-11-29 15:14 san Assigned To san => aba
2012-11-29 15:14 san Status new => assigned
2012-12-11 19:01 san Note Added: 0022659
2012-12-12 15:05 aba Note Added: 0022675
2012-12-12 15:10 aba Note Edited: 0022675
2012-12-13 12:57 ski Note Added: 0022686
2013-01-24 10:19 san Relationship added parent of 0023721
2013-01-24 10:21 san Relationship added child of 0023539
2013-01-24 10:21 san Relationship added related to 0023525
2013-01-24 10:25 san Note Added: 0023113
2013-01-24 10:25 san Assigned To aba => bugmaster
2013-01-24 10:25 san Status assigned => feedback
2013-02-20 10:13 bugmaster Status feedback => tested
2013-02-20 10:13 bugmaster Note Added: 0023398
2013-02-20 10:13 bugmaster Status tested => verified
2013-02-20 10:13 bugmaster Resolution open => fixed
2013-02-20 10:19 bugmaster Target Version => 6.6.0
2013-04-23 13:36 aiv Status verified => closed
2013-04-29 15:22 aiv Fixed in Version => 6.6.0
2021-11-26 10:08 kgv Tag Detached: QA_vis