Convert .STL file to NetworkX graph object?

228 views Asked by At

I was wondering if there was an easy way to convert a .STL file to a graph object. I've imported the STL file using numpy-stl and can return a vector representation of the mesh (a list of triangles) and this seems very similar to a graph object so I was wondering if there is a fast/efficient way to convert this to a NetworkX graph?

0

There are 0 answers