Message 1 of 1
Primitives Extraction, 36x faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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:
| Metric | Standard (C#/COM) | Native (C++ Sink) | Improvement |
| Total Time | 884.7s | 24.1s | 36.7x times faster |
| Nodes Processed | 408,378 | 408,378 | |
| Triangles Counted | 241,566,459 | 241,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