View Issue Details

IDProjectCategoryView StatusLast Update
0019847Open CASCADEOCCT:Application Frameworkpublic2012-01-11 17:52
Reporterszy Assigned Toszy  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.3.0 
Summary0019847: NamedShape presentation driver (TPrsStd_NamedShapeDriver) displays not expected shape
DescriptionThis bug is actual and have sense only for parametric models where the specified
shape can have several evolutions.
The driver displays last modification of the shape contained in the specified
NamedShape. It is not correct. Should be displayed the new Shape contained
exactly in this NamedShape.
Additional information
and documentation updates
Documentation remark, added by SZY 2008-05-30 14:40:52:

Changes:
The TPrsStd_NamedShapeDriver.cxx is modified.
The correction itself is very pure: the used before method
TNaming_Tool::CurrentShape (NS) is replaced by the TNaming_Tool::GetShape (NS).
The negative effect of the old method using can be visible only in application
supporting parametric shape modification. This method returns not the shape
contained in the specified NS, but the last modification of this shape. The used
TNaming_Tool::GetShape (NS) method returns exactly the shape value holding by
the specified NS. Lets consider the next example.
1.Create Box. Shape of the Box is kept by NS1 on the label 1.
2.Add Fillet to Box. Shape of the modified Box is kept in NS2 on the label 2.
3. Get shape of NS1 using TNaming_Tool::GetShape (NS1). It returns the shape
contained in NS1, i.e. the Box before modification.
4.Get shape of NS1 using TNaming_Tool::CurrentShape (NS1). It returns the last
modification of the shape contained in NS1, i.e. the Box with Fillet!!!
TagsNo tags attached.
Test case number

Attached Files

  • TPrsStd_NamedShapeDriver.cxx (3,142 bytes)

Activities

2008-05-29 09:01

 

TPrsStd_NamedShapeDriver.cxx (3,142 bytes)

Issue History

Date Modified Username Field Change
2008-05-30 15:57 bugmaster Assigned To bugmaster => szy
2008-05-30 15:57 bugmaster Status new => assigned
2008-06-06 08:37 bugmaster Status assigned => verified
2009-06-23 19:12 bugmaster Status verified => closed
2009-06-23 19:12 bugmaster Resolution @0@ => fixed
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2012-01-11 17:52 atp Description Updated
2012-01-11 17:52 atp Additional Information Updated