DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

Reading assembly structure at STEP files

Modeling Data and AlgorithmsFri, 06/11/2021 - 13:391 reply

Browse this forum
QuestionAuthor

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?

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

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.