The ply file is being created incorretly in ver 0.1.14 win32. I exported a ply file and unchecked the binary box. then in the resulting file, there were two issues. The header has the xyx value and rgb headings mixed up.
what intially reads:
property float x
property float y
property float z
property uint8 red
property uint8 green
property uint8 blue
shoudl be
property uint8 red
property uint8 green
property uint8 blue
property float x
property float y
property float z
and the second issue is the line after end header is missing the rgb values, and an extra rgb value is placed at the end of the vertex section. (my file had as the second line "element vertex 9680", so there are 9680 lines of rgbxyz values, and line 14 and line 14+9680 were incorrect.)
thise line for me originally were
end_header
-15.000000 -2.783472 -0.700000
178 178 178 -15.000000 -2.372022 -0.566312
......
178 178 178 15.000001 3.194921 0.566312
178 178 178 3 0 10 1
3 1 10 11
So i chnaged them to
end_header
178 178 178 -15.000000 -2.783472 -0.700000
178 178 178 -15.000000 -2.372022 -0.566312
......
178 178 178 15.000001 3.194921 0.566312
3 0 10 1
3 1 10 11
and now blender imports the file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I'm not close to a Windows machine right now, so it'll take a little longer to get the Windows installers built. I'll post again once they're available.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can not open the exported Ply file in Blender or Meshmixer.!
Last edit: Nevit 2016-02-10
The ply file is being created incorretly in ver 0.1.14 win32. I exported a ply file and unchecked the binary box. then in the resulting file, there were two issues. The header has the xyx value and rgb headings mixed up.
what intially reads:
property float x
property float y
property float z
property uint8 red
property uint8 green
property uint8 blue
shoudl be
property uint8 red
property uint8 green
property uint8 blue
property float x
property float y
property float z
and the second issue is the line after end header is missing the rgb values, and an extra rgb value is placed at the end of the vertex section. (my file had as the second line "element vertex 9680", so there are 9680 lines of rgbxyz values, and line 14 and line 14+9680 were incorrect.)
thise line for me originally were
end_header
-15.000000 -2.783472 -0.700000
178 178 178 -15.000000 -2.372022 -0.566312
......
178 178 178 15.000001 3.194921 0.566312
178 178 178 3 0 10 1
3 1 10 11
So i chnaged them to
end_header
178 178 178 -15.000000 -2.783472 -0.700000
178 178 178 -15.000000 -2.372022 -0.566312
......
178 178 178 15.000001 3.194921 0.566312
3 0 10 1
3 1 10 11
and now blender imports the file.
Thanks for this Keith. This is very much a bug and your analysis is very helpflul.
Because I've recently moved the code over to GitLab, I've copied your post over to the issue tracker there: https://gitlab.com/flypig/knot3d/issues/1
It looks like fixing this should be pretty straightforward now you've identified the problem, and I'll post back here once it's done.
The fix has now been merged into the main branch, and the latest Ubuntu debs are available from my PPA:
https://code.launchpad.net/~flypig/+recipe/knot-daily
Unfortunately I'm not close to a Windows machine right now, so it'll take a little longer to get the Windows installers built. I'll post again once they're available.