Importing 3D CAD files in python as dask array

1k Views Asked by At

I am trying to import a 3D file created by TexGen in python. I would like to have a dask array at the end for further analysis. My file is in ".igs" format. I can open it with FreeCAD and export it in a variety of formats. I just don't know which format to use and which library in python is more helpful.

I found this question (Import CAD object in Python and store as array) and tried installing FreeCAD package in python but I was unsuccessful. I get a conflict error (incompatible packages) which I can't solve.

I found this question (3D CAD to OpenGL) and installed PyOpenGL but I don't know how to use OpenGL to import STL file.

Any suggestions?

1

There are 1 best solutions below

0
On

You can have a look at the opencascade python module OpenCascade is the library FreeCAD is based on, it can also import/export .stp (and I guess .igs) files and transform it into a mesh.