-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to import readply #3
Comments
Hi @piyush-bagad, did you only clone the repo or also build the Python module? The latter step is needed, but I just realized this wasn't described in the readme. I just commited a piece of text to the readme to describe the process. |
By the way, the module currently does not work with Blender 2.80. Are you using that, or still using 2.7x? |
@paulmelis Hi, Thanks for the response. No I am using it with 2.79. Also, I am not able to build the python module. I used
Does this module work with usual python or only with blender's python? |
Ah, you're on macOS, with clang as compiler. It seems clang is tripping over the The module works with regular Python as well. |
I cloned the newly committed repo. The build went through with a few warnings but the original error of module not found still persists. Here is the exact output:
|
Well, it looks like the build succeeded. So do you have a file |
Yeah actually on running the file Thanks a ton! Also, can I simply replace the |
Unfortunately, it is not a direct replacement of the
Note that you can load an existing blender file first, followed by importing the PLY file using
There has been some development on improving import speed of PLY (plus OBJ and STL) in this year's Google Summer of Code projects, but it seems the import improvements are currently not in a shape to get included in Blender 2.8x. See this devtalk thread for more information on the current state. Maybe that work will be restarted at some point, but until then, this module is an (imperfect) alternative. |
I would like to draw your attention to this: So when I am using
|
That is really strange. The first Could you insert a line
Secondly, the Python version used by your Blender installation might not be the same as the one you used to build the module. Can you provide the output of these two commands?
|
Yeah I build the module using py3.7 while Blender uses 3.5.
I'll try to git clone again and build with Blender python. |
I just pushed 0c53eb9 which should help. Try compiling the module under Blender directly, using
|
Yup I tried this. But the old error pops up again :(
|
Well, this is a different error than earlier. Now the Python include files cannot be found. Does the file |
I should really try this out on a macOS system myself, but don't have one handy here, sorry |
Hey,
|
On running the following command independently, with flag
But I am not able to find the source code where this command is being called |
Hi |
Yeah, I know, the But it's building for you now? And have you found the module file? I see you're using the |
I've reverted the removal of |
With 4276e74 I've turned the main source code into C instead C++. That should fix the compile issue you were seeing on macOS. |
Hey, I'm trying to import readply module but it shows these error: |
I use windows, the blender version is 3.6 |
@Coder-ZZY not sure what goes wrong in your case. Can you paste all the output from the build command? I usually don't develop on Windows, so it might be something specific for that platform that goes wrong. Also, please see this note from the readme:
|
I git cloned this repo and tried to run the test script mesh_readply.py. But it is not running. I need help regarding this.
The text was updated successfully, but these errors were encountered: