My question is similar to this post although that poster is concerned with adjacent faces How to merge adjacent coplanar faces on a mesh
I am able to extract the plane equations for each triangular facet from an stl and then convert them to a numpy array
ax + by +cz = d
plane_eq=np.array([a,b,c,d])
How could I compare the plane equations and determine which ones are coplanar and eventually merge them into one large plane equation?
The sympy library has a class for this but I am not able to get it working properly with Anaconda. http://docs.sympy.org/latest/_modules/sympy/geometry/plane.html#Plane.is_coplanar
Also, I did try an approach where I took the normals and compared them with one another via the dot product