Nice, glad to here you figured out a solution for it!
Where is the performance bottleneck now? The MInc component or elsewhere?
Nice, glad to here you figured out a solution for it!
Where is the performance bottleneck now? The MInc component or elsewhere?
Well⦠It is indeed slow⦠I would say the Mesh Intersect and Volume calculation⦠The full run time of my .gh file seems to be quite higher than what the profiler widgets per gh component indicate. A few ideas Iām planning on checking for performance:
A) Is the way Iām converting the objects to mesh the most efficient?
Finally, with regards to current bottlenecks, I noticed discrepancies between the full pipe volume calculated in Rhino (9.02E9 m3 for layer 5501-321-04) and the final values when summed up by compartment (~7.26E9 m3). It seems there are a few negative volumes even though the original objects are not corrupted or open. All in all Iām missing about 20% of intersecting volume. Coming back to point B) above, this percentage also varies a bit if I activate/disable the merge mesh components option. This is my main concern at the moment.
Volume discrepancies.3dm (6.4 MB)
Volume Discrepancies.gh (40.8 KB)