View Issue Details

IDProjectCategoryView StatusLast Update
0021651Open CASCADEOCCT:Application Frameworkpublic2011-07-12 12:00
ReporterszyAssigned Toszy 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.4.0 
Summary0021651: Recomputation of Naming data structure fails for several faces (and wires of these faces)
DescriptionRecomputation of Naming data structure for the presented shape (see the attached
picture) fails for faces F1 & F2(and for bounding wires of these faces too).
Script to reproduce the problem:
---------------------------------
NewDocument D MDTV-Standard
UndoLimit D 100
AddDriver D Box Cyl Attach PTxyz PTALine Cut Fuse

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 515 ${Sel1}]
ComputeFun D $Cyl:1
GetShape D $Cyl:1:2 CylS

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

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

#5 test Naming
explode S W
set Sel2 [AttachShape D S_2 ${B2} ${B2} 0]
set Sel8 [AttachShape D S_8 ${B2} ${B2} 0]


#6 Modification
NewCommand D
BoxDX D $B2 350

0000007 recompute
NewCommand D
InitLogBook D
ComputeFun D $F2
ComputeFun D $Sel1:1
ComputeFun D $Cyl:1
ComputeFun D $FTr1
ComputeFun D $CS
erase
GetShape D $CS:2 S
don S
ComputeFun D $Sel2:1
ComputeFun D $Sel8:1

NewCommand D
TagsNo tags attached.
Test case number

Attached Files

  • t41.PNG (28,180 bytes)
  • OCC21651.tar.gz (13,181 bytes)

Relationships

related to 0021636 closedszy Naming of the face 0000014 of the presented mode raises NullObject exception 
related to 0021653 closedszy Naming fails during Wire of Sphere naming 

Activities

2010-03-25 19:05

 

t41.PNG (28,180 bytes)

2010-03-26 11:24

 

OCC21651.tar.gz (13,181 bytes)

Issue History

Date Modified Username Field Change
2010-03-25 18:51 szy OtherBugsDependingOnThis => 21636
2010-03-26 14:33 szy BugsThisDependsOn => 21653
2010-03-31 16:38 bugmaster Assigned To bugmaster => szy
2010-03-31 16:38 bugmaster Status new => assigned
2010-03-31 16:38 bugmaster Status assigned => resolved
2010-04-28 19:01 apv CC => apv, mkv
2010-06-23 12:36 bugmaster Status resolved => tested
2010-07-28 15:57 bugmaster Status tested => verified
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework