Reading assembly structure at STEP files

Hello there,

I am having some difficulties with reading a STEP file containing assembly structure in a project I am working on. With the shared vector array and recursive functions, I can extract the model tree. However, I am experiencing a performance loss when iterating the entire tree on files with these many (thousands) children.

Can you give an idea of the most effective algorithm?

Kirill Gavrilov's picture

It is difficult to guess what might be a hot spot in your current logic from the current description (with no code snippets / performance counters / test data).
Consider using profiling tools to localize the slowest parts of your algorithm, which can be improved / redone in a better way.