Hi,
I am using pymeshfix to detect self intersecting triangles and holes.
I am using pyvista to load the file and using meshfix plot() function to visualize the mesh.
However I am getting the following error:
AttributeError: 'MeshFix' object has no attribute 'f'
at
File ~\source\Anaconda\envs\3dEnv\lib\site-packages\pymeshfix\meshfix.py:117, in MeshFix.mesh(self)
115 if not PV_INSTALLED:
116 raise RuntimeError('Please install pyvista for this feature')
117 triangles = np.empty((self.f.shape[0], 4), dtype=pv.ID_TYPE)
This code is incomplete. What is the mesh object/how did you generate it? There is missing code. Further, it would be a great help to include the STL file you are loading
Hi, I am using pymeshfix to detect self intersecting triangles and holes. I am using pyvista to load the file and using meshfix plot() function to visualize the mesh.
import pyvista reader = pyvista.get_reader('Error_Cylinder.stl') meshfix = pymeshfix.MeshFix(mesh) meshfix.plot()
However I am getting the following error: AttributeError: 'MeshFix' object has no attribute 'f'
at File ~\source\Anaconda\envs\3dEnv\lib\site-packages\pymeshfix\meshfix.py:117, in MeshFix.mesh(self) 115 if not PV_INSTALLED: 116 raise RuntimeError('Please install pyvista for this feature') 117 triangles = np.empty((self.f.shape[0], 4), dtype=pv.ID_TYPE)
Can someone help with this issue?