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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.