View Issue Details

IDProjectCategoryView StatusLast Update
0021673Open CASCADEOCCT:Application Frameworkpublic2011-07-12 12:00
ReporterszyAssigned Toszy 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.4.0 
Summary0021673: Selection of Edge gives compound of edges
DescriptionSelection of the edge (see colored in red edge at the attached picture) returns
compound of edges. 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 E
set Sel8 [AttachShape D Pr_8 ${Prism} ${Prism} 0]
TagsNo tags attached.
Test case number

Attached Files

  • t151.PNG (27,639 bytes)
  • OCC21673.tar.gz (26,556 bytes)

Relationships

related to 0021662 closedszy Selection of a face generated by Fillet function hungs PC 
related to 0021707 closedbugmaster Selection of Vertex returns Compound of vertexes 

Activities

2010-04-09 18:41

 

t151.PNG (27,639 bytes)

2010-04-21 16:28

 

OCC21673.tar.gz (26,556 bytes)

Issue History

Date Modified Username Field Change
2010-04-09 18:42 szy OtherBugsDependingOnThis => 21662
2010-04-21 15:51 szy BugsThisDependsOn => 21707
2010-04-21 16:40 bugmaster Assigned To bugmaster => szy
2010-04-21 16:40 bugmaster Status new => assigned
2010-04-21 16:41 bugmaster Status assigned => resolved
2010-04-28 19:03 apv CC => apv, mkv
2010-06-23 12:38 bugmaster Status resolved => tested
2010-07-28 16:08 bugmaster Status tested => verified
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework