View Issue Details

IDProjectCategoryView StatusLast Update
0024615CommunityOCCT:Visualizationpublic2015-11-17 17:45
Reporterbaraujo Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2010 
Product Version6.7.0 
Fixed in Version6.9.0 
Summary0024615: Bug modifying shading aspect (boundary edge width)
DescriptionI add a new shape and modify its shading aspect. Everything works OK except the line width. If you create a new ShadingAspect and set it, it seems to work but if you edit it, it doesn't work.

Steps To ReproduceaNewShape->Attributes()->SetFaceBoundaryDraw(Standard_True);
aNewShape->Attributes()->FaceBoundaryAspect()->SetColor(Quantity_NOC_BLACK);
aNewShape->Attributes()->FaceBoundaryAspect()->SetTypeOfLine(Aspect_TOL_SOLID);
aNewShape->Attributes()->FaceBoundaryAspect()->SetWidth(2.0); // This line doesn't seem to work

TagsNo tags attached.
Test case number

Activities

kgv

2015-11-17 16:30

developer   ~0048300

> If you create a new ShadingAspect and set it, it seems to work but if you edit it, it doesn't work.
this is API misuse - when custom aspect is needed you have to define it.
Some improvements (making current API more clear) have been done in scope of #0025773.

kgv

2015-11-17 16:44

developer   ~0048303

Dear bugmaster,

please close the issue.

Issue History

Date Modified Username Field Change
2014-02-10 19:05 baraujo New Issue
2014-02-10 19:05 baraujo Assigned To => san
2015-11-17 16:30 kgv Note Added: 0048300
2015-11-17 16:30 kgv Assigned To san => bugmaster
2015-11-17 16:30 kgv Status new => feedback
2015-11-17 16:30 kgv Resolution open => no change required
2015-11-17 16:30 kgv Steps to Reproduce Updated
2015-11-17 16:44 kgv Note Added: 0048303
2015-11-17 17:45 bugmaster Status feedback => closed
2015-11-17 17:45 bugmaster Fixed in Version => 6.9.0