View Issue Details

IDProjectCategoryView StatusLast Update
0021622Open CASCADEOCCT:Application Frameworkpublic2011-07-12 12:00
ReporterszyAssigned Toszy 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.4.0 
Summary0021622: Naming of a single edge creates Compound of edges
DescriptionSelection of a single edge from the built shape returns Compound of edges.
Script to reproduce the Bug (Naming testing framework to be used):

NewDocument D MDTV-Standard
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism
FulRevol SecRevol Fillet

0000001 Create Box
NewCommand D
set B2 [AddObject D]; ## add object
set F2 [AddFunction D $B2 Box]; ## add function
BoxDX D $B2 190; ## set arguments of this function
BoxDY D $B2 290
BoxDZ D $B2 390
InitLogBook D; ## initialize (clean) internal maps of labels
ComputeFun D $F2; ## compute the function
GetShape D $F2:2 Box2; ## check result

0000002 Create Cylinder
NewCommand D
explode Box2 F
explode Box2_1 E
set Sel1 [AttachShape D Box2_1_1 ${B2} ${B2} 1]; ## set attachment
## AddDriver D Attach Cyl
set Cyl [AddCyl D 70 275 ${Sel1}]
ComputeFun D $Cyl:1
GetShape D $Cyl:1:2 CylS

#3 Transalte Cylinder
NewCommand D
set FTr1 [PTranslateDXYZ D $Cyl 100 0 0]
ComputeFun D $FTr1
GetShape D $Cyl:2:2 CylS

#4 Cut Box Cylinder
NewCommand D
set CS [AddCut D $B2 $Cyl]
ComputeFun D $CS
erase
GetShape D $CS:2 S
don S

#5 Naming
NewCommand D
explode S E
set Sel5 [AttachShape D S_5 ${B2} ${B2} 0];
============================================
scripts creates at the label specified by ${Sel5} Naming data structure which
defines compound of edges. It seems it is algorithm mistake.
TagsNo tags attached.
Test case number

Attached Files

Relationships

related to 0021424 closedszy Naming fails for the specifed case (3 revolutions & 2 Fuse) 
related to 0021542 closedszy Implementation of naming mechanism for non regressive testing 

Activities

2010-03-10 16:25

 

t5.PNG (17,713 bytes)   

Issue History

Date Modified Username Field Change
2010-03-25 14:31 szy OtherBugsDependingOnThis => 21424, 21542
2010-03-25 15:31 bugmaster Assigned To bugmaster => szy
2010-03-25 15:31 bugmaster Status new => assigned
2010-03-25 15:56 szy Status assigned => resolved
2010-06-23 12:35 bugmaster Status resolved => tested
2010-07-28 15:35 bugmaster Status tested => verified
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework