MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031466Community[OCCT] OCCT:Data Exchangepublic2020-03-26 18:502020-03-26 18:50
Reporterventu 
Assigned Togka 
PrioritynormalSeveritymajor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0031466: Cannot import layers from STeP file (7.4.0 regression)
DescriptionImporting the attached file with 7.3.0 results in two layers, with some geometry on one and some on the other.
7.4.0 still imports the two layers, but any call to XCAFDoc_LayerTool->GetLayers() on any shape comes up empty. Similar ways to retrieve the layer the geometry lies on fail in a similar way.
Additional information
and documentation updates
The regression seems to come from the changes to XCAFDoc_ShapeTool::FindShape (XCAFDoc_ShapeTool.cxx:291), probably from the following commit:

    0030727: Data Exchange - Problems in Shape Tool

    Add protection from return of not top-level shape by FindShape method.
    Add protection against located roots into FindMainShape method.
    Add new Draw command for FindMainShape.
    Add flag findInstance to Draw command FindShape
TagsNo tags attached.
Test case number
Attached Files? file icon Prova_Sum_livelli_130320.stp (1,645,750 bytes) 2020-03-26 18:50

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-03-26 18:50 ventu New Issue
2020-03-26 18:50 ventu Assigned To => gka
2020-03-26 18:50 ventu File Added: Prova_Sum_livelli_130320.stp


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker