pyvista / pymeshfix

Python Wrapper for MeshFix: easily repair holes in surface meshes
http://pymeshfix.pyvista.org
GNU General Public License v3.0
293 stars 29 forks source link

examples test failed #4

Closed absentmindid closed 5 years ago

absentmindid commented 5 years ago

Hi, I use the test code in introduction parts: to use example.native() error: /usr/bin/python3.6 /home/absarthas/PycharmProjects/pymeshfixtest/testcode.py Traceback (most recent call last): File "/home/absarthas/PycharmProjects/pymeshfixtest/testcode.py", line 5, in examples.native() File "/home/absarthas/.local/lib/python3.6/site-packages/pymeshfix/examples/fix.py", line 12, in native pymeshfix._meshfix.CleanFromFile(bunny_scan, outfile) AttributeError: module 'pymeshfix._meshfix' has no attribute 'CleanFromFile'

if use examples.with_vtk() error: /usr/bin/python3.6 /home/absarthas/PycharmProjects/pymeshfixtest/testcode.py Plotting input mesh Traceback (most recent call last): File "/home/absarthas/PycharmProjects/pymeshfixtest/testcode.py", line 8, in examples.with_vtk() File "/home/absarthas/.local/lib/python3.6/site-packages/pymeshfix/examples/fix.py", line 21, in with_vtk meshfix.Plot() AttributeError: 'MeshFix' object has no attribute 'Plot'

Would you please help me resolve this problem? the platform is ubuntu 18.04, python 3.6

Thank you!! Bowen

akaszynski commented 5 years ago

Sorry, it needs to be updated. Should be “plot”.

akaszynski commented 5 years ago

Fixed in pymeshfix==0.12.4.

absentmindid commented 5 years ago

Thank you!