View Issue Details

IDProjectCategoryView StatusLast Update
0029032Open CASCADEOCCT:Data Exchangepublic2023-08-01 15:08
ReporterssvAssigned Tossv 
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Target VersionUnscheduled 
Summary0029032: Application Framework - provide XDE interface for exploration of assembly structure
DescriptionIn the scope of this issue, it is proposed to add:

- XCAFDoc_AssemblyGraph for read-only accessing component structure of assemblies.
- XCAFDoc_AssemblyGraph::Iterator for depth-first iteration.
- Documentation on XDE basics.

The idea behind this contribution is to provide a simple entry point to the assembly structure of a product data available in XDE (e.g. upon STEP import). The graph itself explicitly defines the "part-of" relations between the assembly components. Each node in a graph corresponds to one or another type of STEP entity (either a "product" or "next_assembly_usage_occurrence"). Therefore, visiting the nodes in a graph, the user may easily distinguish between roots, subassemblies, part occurrences and parts (this terminology is also explicit in the developed exploration tool).

Each node in a graph has its internal numeric ID (vertex ID) and the associated persistent ID being the string entry of the corresponding OCAF label. Therefore, for each node in a graph the user may take its corresponding ID in the XDE document and query all remaining data (colors, layers, PMIs, etc.).

Also, iterating the graph structure in a depth-first manner, the user obtains a scene graph which can be shown to the user in a dedicated tree view (like it is done in CAD Assistant).
TagsNo tags attached.
Test case number

Attached Files

  • xde_assm_vtk.png (17,307 bytes)

Relationships

related to 0030692 closedbugmaster Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document 

Activities

git

2017-08-22 16:27

administrator   ~0069752

Branch CR29032 has been created by ssv.

SHA-1: 51bb1b8d6d1798974d1ff452ff5a1c1f3dec1de3


Detailed log of new commits:

Author: ssv
Date: Tue Aug 22 16:27:26 2017 +0300

    0029032: Provide XDE interface for exploration of assembly structure
    
    Add assembly graph exploration tool with unit tests.

git

2017-08-22 17:59

administrator   ~0069758

Branch CR29032 has been updated by ssv.

SHA-1: 5bd3885f0dc6cdd31c638c746df5b5b086b8d98a


Detailed log of new commits:

Author: ssv
Date: Tue Aug 22 17:59:26 2017 +0300

    Documentation.
    

git

2017-08-22 22:04

administrator   ~0069762

Branch CR29032 has been updated forcibly by ssv.

SHA-1: f045b9fa8b5acb5dcf4cff46e7c802387ad03565

git

2017-08-22 22:06

administrator   ~0069763

Branch CR29032 has been updated forcibly by ssv.

SHA-1: 848b03409511b37721c603973b35d2d0dc3840ec

ssv

2017-08-22 22:15

developer  

xde_assm_vtk.png (17,307 bytes)

git

2017-08-23 22:18

administrator   ~0069805

Branch CR29032 has been updated forcibly by ssv.

SHA-1: df890960566ac343f53e26040ef5f9cc367f9216

git

2017-08-23 22:23

administrator   ~0069806

Branch CR29032 has been updated forcibly by ssv.

SHA-1: d6dfeac244d42bcd78435d10f47064c4c65562d1

Issue History

Date Modified Username Field Change
2017-08-22 14:48 ssv New Issue
2017-08-22 14:48 ssv Assigned To => ssv
2017-08-22 16:27 git Note Added: 0069752
2017-08-22 16:28 ssv Status new => assigned
2017-08-22 17:59 git Note Added: 0069758
2017-08-22 22:04 git Note Added: 0069762
2017-08-22 22:06 git Note Added: 0069763
2017-08-22 22:14 ssv Description Updated
2017-08-22 22:15 ssv File Added: xde_assm_vtk.png
2017-08-23 22:18 git Note Added: 0069805
2017-08-23 22:23 git Note Added: 0069806
2019-07-12 14:58 ssv Target Version 7.4.0 => 7.5.0
2020-09-17 20:27 gka Target Version 7.5.0 => 7.6.0
2021-03-04 07:48 kgv Relationship added related to 0030692
2021-03-04 07:50 kgv Severity minor => feature
2021-03-04 07:50 kgv Summary Provide XDE interface for exploration of assembly structure => Application Framework - provide XDE interface for exploration of assembly structure
2021-08-31 14:27 gka Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled