Primitives Extraction, 36x faster

Primitives Extraction, 36x faster

alexisDVJML
Collaborator Collaborator
147 Views
0 Replies
Message 1 of 1

Primitives Extraction, 36x faster

alexisDVJML
Collaborator
Collaborator

I'm experimenting with a different approach to extract primitives.

For now just counting each type (triangles, snap-points, lines, points) but I have access to the actual 3D coordinates.
Tested on a reasonably big model, Navisworks 2023 results below:

MetricStandard (C#/COM)Native (C++ Sink)Improvement
Total Time884.7s24.1s36.7x times faster
Nodes Processed408,378408,378 
Triangles Counted241,566,459241,566,459(Perfect Match!)

 

It's in C/C++, really tricky.
Plus I still need to define a format to return actual triangles, options (aka which primitives are requested, if we want them in local or global format OR even as index etc.).

Will first use it for our existing plugin but if enough people interested, I will consider trying to package it and how license it.

Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go
148 Views
0 Replies
Replies (0)