The vtkPLYReader parseAsText method reported an error [Bug]
luchen666 opened this issue · 5 comments
luchen666 commented
Bug description
The vtkPLYReader parseAsText method reported an error when passing in the PLY file text
Steps to reproduce
- Read the PLY file using the readAsText method in new FileReader();
- vtkPLYReader parseAsText receives Text error
Detailed Behavior
No response
Expected Behavior
VtkPLYReader parseAsText can read readAsText data normally
Environment
- vtk.js version: 30.2.0
- Browsers: chrome
- OS: windows
luchen666 commented
finetjul commented
Thanks for your report. Can you please submit a PullRequest to fix the issue ?
luchen666 commented
Sorry, I have been using VTK for a while and tried to fix it, but it was not successful;
Now, obtain the file text through the BinaryHelper.arrayBufferToString method;
There is also an issue with PLYRead addTexture. We hope it can be fixed as soon as possible. Thank you
finetjul commented
Please add a sample file to the issue.