I am trying to load/read a ply file using PyMesh and this line command:
mesh = pymesh.load_mesh("model.obj")
as it is in http://pymesh.readthedocs.io/en/latest/basic.html.
But this gives me an error "AttributeError: 'module' object has no attribute 'load_mesh'".
Am I doing anything wrong? Also I want to know if PyMesh really allows to visualize in 3d the objects.
Thank you.
What is Pymesh? Pymesh is the LoRa full-mesh network technology. A Mesh network acts like a net, this means that any node within the network can connect with any other node. Mesh networks essentially get rid of gateways, which decentralises the network's infrastructure.
Welcome to the plyfile Python module, which provides a simple facility for reading and writing ASCII and binary PLY files. The PLY format is documented elsewhere.
If you installed with pip, you might not have gotten the pymesh module you were intending to use. Since you're looking for the load_mesh() method, you'll want to use this installation guide: http://pymesh.readthedocs.io/en/latest/installation.html.
There are actually two modules named pymesh
.
If you install pymesh using pip
you are installing this one which has the following GitHub page.
It reads: .sty and .obj
If you want to install http://pymesh.readthedocs.io/en/latest/ you have to follow the installation guidelines here.
It is more complex, I never manage to get it working, but it should read also .ply.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With