Closed dn9090 closed 1 year ago
It looks like the importer does not ignore the line endings in the transformation str(x)
which causes problems on windows where the CR of the CR+LF endings is included in the string.
Hi @dn9090, Thank's very much for opening an issue and especially for including a PCD file to help reproduce the issue. With you're help I've created at patch in #15 that I will release soon.
A new version of the addon has been released. Please let me know if you have any issues with it. Thanks again.
I have a PLY file which I converted in to PCD using cloud compare, but this addon failed to load it in blender,
this is the error
Python: Traceback (most recent call last):
File "C:\Users\Qaisar Rehman\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_pcd__init__.py", line 79, in execute
import_pcd.import_pcd(context, path)
File "C:\Users\Qaisar Rehman\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_pcd\import_pcd.py", line 266, in import_pcd
pcd_data = load_pcd_file(filepath)
File "C:\Users\Qaisar Rehman\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_pcd\import_pcd.py", line 246, in load_pcd_file
points = parsers[header["DATA"]](file, header, struct_format)
File "C:\Users\Qaisar Rehman\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_pcd\import_pcd.py", line 208, in parse_binary_points
return [
File "C:\Users\Qaisar Rehman\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_pcd\import_pcd.py", line 209, in
I will appreciate any help! thanks
@qaisarehman Could you open a new/separate issue for this please?
Hi there!
Currently I'm sitting on a issue that I can't reproduce in other libraries like Open3d. For some reason the assertion in line 68 fails:
I have printed out what the value of
header["DATA"]
is and the value isascii
. The header in my file looks like this (encoded in ASCII):I have also attached a sample file below. Can you reproduce the issue? Thanks.
pointcloud-4-0-0.txt