pyvista / pyiges

Python IGES Reader
https://pyvista.github.io/pyiges/
MIT License
33 stars 8 forks source link

pyiges very very slow to read large (500MB) IGES file #42

Open reos-rcrozier opened 1 year ago

reos-rcrozier commented 1 year ago

I have a very large IGES file. This file is the export of a point cloud from SolidWorks. The point cloud is from a 3D laser scan of an object.

My problem is that this file either hangs pyiges, or just takes an extremely long time to load. I have tried leaving it loading for over a full 24 hours so far,, but it hasn't yet succeeded. The ipython process seems to only be using around 13% CPU, and not huge amounts of memory. I tried loading this file in FreeCAD, which also takes a very long time to load.

The IGES file seems to mostly be elements of type 110 and 116.

Do you think there is anything that can be done to speed this up, or is there a way to check the file is still actually being slowly loaded, and pyiges isn't just stuck?

I really just want to extract the points and put them into a simpler point cloud format file.

mikamove commented 1 year ago

Hi @reos-rcrozier If You can share this somehow (public or private) I' d be happy to see what I can do.

mikamove commented 1 year ago

@reos-rcrozier Is the topic still relevant? If You cannot share the file because of confidentialness reasons, You might be able to produce an equivalent point cloud via Solidworks that reproduces the problem? Please understand that without reproducability the problem is hard to analyze.