View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021707 | Open CASCADE | OCCT:Application Framework | public | 2010-04-21 15:41 | 2013-04-29 15:24 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0021707: Selection of Vertex returns Compound of vertexes | ||||
Description | Selection of the vertex (see colored in red Vertexes at the attached picture t152.png) returns compound of Vertexes. At the moment it is algorithm limitation. At the first step a technical solution for the problem is expected. After that - implementation. Script to reproduce the problem. ================================ NewDocument D MDTV-Standard isos 12 0000001 - create 4 Pnts NewCommand D AddDriver D PntXYZ PntRLT Line3D Attach; set Pnt1 [AddPoint D 0 0 0]; ## add point1 ComputeFun D $Pnt1:1; ## compute function GetShape D $Pnt1:1:2 P1; ## check result set Pnt2 [AddPoint D 0 200 0]; ComputeFun D $Pnt2:1; set Pnt3 [AddPoint D 200 200 0]; ComputeFun D $Pnt3:1; set Pnt4 [AddPoint D 200 0 0]; ComputeFun D $Pnt4:1; GetShape D $Pnt2:1:2 P2; GetShape D $Pnt3:1:2 P3; GetShape D $Pnt4:1:2 P4; 0000002 create open Lin1 #NewCommand D #set Lin1 [ AddLine3D D 0 $Pnt1 $Pnt2 $Pnt3 $Pnt4] #ComputeFun D $Lin1:1; #GetShape D $Lin1:1:2 L1; #3 create closed Lin3 NewCommand D set Lin2 [ AddLine3D D 1 $Pnt1 $Pnt2 $Pnt3 $Pnt4] ComputeFun D $Lin2:1; GetShape D $Lin2:1:2 L1; #4 Prism NewCommand D AddDriver D Prism Box PTxyz set Prism [AddPrism D $Lin2 300 0] ComputeFun D $Prism:1 GetShape D $Prism:1:2 Pr #5 Add Box NewCommand D set B1 [AddBox D 400 140 600]; ComputeFun D $B1:1; GetShape D $B1:1:2 Box; #6 Translate Box1 NewCommand D set FTr1 [PTranslateDXYZ D $B1 -100 -20 -100] ComputeFun D $FTr1 GetShape D $B1:2:2 Box 0000007 add Common NewCommand D AddDriver D Comm Cut Fuse set Com1 [AddCommon D $Prism $B1] ComputeFun D $Com1 GetShape D $Com1:2 Pr 0000008 add Cylinder NewCommand D explode Pr E AddDriver D Attach Cyl set Sel1 [AttachShape D Pr_5 ${Prism} ${Prism} 0]; ## set attachment set Cyl [AddCyl D 70 515 ${Sel1}] ComputeFun D $Cyl:1 GetShape D $Cyl:1:2 CylS 0000009 Translate Cylinder NewCommand D set FTr1 [PTranslateDXYZ D $Cyl -100 200 170] ComputeFun D $FTr1 GetShape D $Cyl:2:2 CylS #10 Cut Prism by Cylinder set Cut1 [AddCut D $Prism $Cyl] ComputeFun D $Cut1 GetShape D $Cut1:2 Pr don Pr explode Pr V don Pr set Sel8 [AttachShape D Pr_8 ${Prism} ${Prism} 0] set Sel11 [AttachShape D Pr_11 ${Prism} ${Prism} 0]; | ||||
Tags | No tags attached. | ||||
Test case number | bugs caf bug21707 | ||||
related to | 0021673 | closed | Selection of Edge gives compound of edges |
2010-04-21 15:41
|
t152.PNG (28,702 bytes) |
|
The problem can't be reproduced in current environment (OCCT653) because of changes at algorithm level. The specified vertexes (see the picture) disappeared in resulting shape (no split edge more) and as result can't be selected. |
|
Please create testing case |
|
I get an exception using script to reproduce the problem. Last block of script: ###Cut Prism by Cylinder Draw> set Cut1 [AddCut D $Prism $Cyl] Draw> ComputeFun D $Cut1 Draw> GetShape D $Cut1:2 Pr DDataStd_GetShape : Error Draw> puts $Cut1 0:1:6:3 Draw> DFBrowse D There is an attribute TNaming_NamedShape on label "0:1:6:3:2 Result" in DFBrowser. But trying to use "GetShape D $Cut1:2 Pr" we get error. |
|
The problem is reproducible only on development version. Because of changes at modeling algorithm level order of exploration changed. Therefore testing script should be corrected a little bit in next way: 0000008 add Cylinder ... set Sel1 [AttachShape D Pr_6 ${Prism} ${Prism} 0]; ## set attachment Pr_6!!! 0000010 Cut Prism by Cylinder ... set Sel11 [AttachShape D Pr_10 ${Prism} ${Prism} 0]; ## Pr_10 !!! |
|
Reviewed. Test it, please using the modified script. szy |
|
I created branch CR21707 from current state of master and push to it test case bugs/caf/bug21707. There is a check of number of vertexes. Can you review this test case? Script is attached. |
|
bug21707 (1,791 bytes) |
|
The script is reviewed and tested. It is OK. You can integrate it. szy |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-21 15:51 |
|
OtherBugsDependingOnThis | => 21673 |
2010-05-13 16:19 | bugmaster | Assigned To | bugmaster => szy |
2010-05-13 16:19 | bugmaster | Status | new => assigned |
2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |
2012-10-24 10:23 |
|
Fixed in Version | EMPTY => |
2012-10-24 10:23 |
|
Target Version | => 6.6.0 |
2012-10-24 10:23 |
|
Description Updated | |
2012-10-30 17:24 |
|
Note Added: 0022018 | |
2012-10-30 17:24 |
|
Status | assigned => resolved |
2012-10-30 17:24 |
|
Status | resolved => reviewed |
2012-10-30 17:26 |
|
Assigned To | szy => bugmaster |
2012-10-30 17:26 |
|
Resolution | open => unable to reproduce |
2012-12-26 14:31 | bugmaster | Note Added: 0022851 | |
2012-12-26 14:31 | bugmaster | Assigned To | bugmaster => mkv |
2012-12-26 14:31 | bugmaster | Status | reviewed => assigned |
2013-02-26 15:48 |
|
Status | assigned => feedback |
2013-03-15 12:18 | apn | Note Added: 0023741 | |
2013-03-15 12:19 | apn | Note Edited: 0023741 | |
2013-03-15 12:20 | apn | Assigned To | mkv => szy |
2013-03-15 12:20 | apn | Status | feedback => assigned |
2013-03-25 17:49 |
|
Note Added: 0023885 | |
2013-03-25 17:49 |
|
Status | assigned => resolved |
2013-03-25 17:50 |
|
Note Added: 0023886 | |
2013-03-25 17:50 |
|
Assigned To | szy => apn |
2013-03-25 17:50 |
|
Status | resolved => reviewed |
2013-03-25 18:06 |
|
Assigned To | apn => mkv |
2013-03-25 19:04 |
|
Assigned To | mkv => apn |
2013-03-25 19:05 | apn | Status | reviewed => feedback |
2013-03-25 19:49 | apn | Note Added: 0023888 | |
2013-03-25 19:50 | apn | File Added: bug21707 | |
2013-03-25 19:50 | apn | Test case number | => bugs caf bug21707 |
2013-03-25 19:50 | apn | Assigned To | apn => szy |
2013-03-25 19:50 | apn | Status | feedback => assigned |
2013-03-26 10:32 |
|
Note Added: 0023892 | |
2013-03-26 10:32 |
|
Status | assigned => feedback |
2013-03-26 10:34 |
|
Assigned To | szy => apn |
2013-03-26 10:34 |
|
Status | feedback => reviewed |
2013-03-26 10:34 | apn | Assigned To | apn => bugmaster |
2013-03-26 10:34 | apn | Status | reviewed => tested |
2013-04-01 17:37 | bugmaster | Changeset attached | => occt master b92d758f |
2013-04-01 17:37 | bugmaster | Status | tested => verified |
2013-04-01 17:37 | bugmaster | Resolution | unable to reproduce => fixed |
2013-04-23 13:35 |
|
Status | verified => closed |
2013-04-29 15:24 |
|
Fixed in Version | => 6.6.0 |