Open Section59 opened 2 years ago
Hi there and thank you for your interest in the Blender grid import script.
From your error report, I suppose that your data is possibly not correctly formatted. Make sure that your *.asc file is structured similar to the example below:
ncols 137 nrows 137 xllcorner 5913750 yllcorner 2358250 cellsize 250 NODATA_value 0 10202 10171 10140...
Specifically, a floating-point value of ’38.8936’ is not allowed for the ncols parameter. Hope this will finally help you to successfully import your data.
On 3 Jul 2022, at 16:18, Section59 @.***> wrote:
Hi there, firstly, thank you for providing the code and sharing it with the community.
Im trying to import a .asc file that came from my 3d scanner (cr scan lizard) which exports as .asc file as i'd like to try working with the point clouds in blender rather than the software it comes with, however im getting this python error upon trying to import. Im not a programmer at all so it means nothing to me, hopefully it does to you though?
Python: Traceback (most recent call last): File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blender-ASCII-Grid-Import-masterinit.py", line 60, in execute cols = int(content[0].split()[1]) ValueError: invalid literal for int() with base 10: '38.8936'
location: :-1
— Reply to this email directly, view it on GitHub https://github.com/hrbaer/Blender-ASCII-Grid-Import/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY3Z7DRYVYP6OXDMXRIESDVSGOK5ANCNFSM52QYSGPQ. You are receiving this because you are subscribed to this thread.
Hi there, firstly, thank you for providing the code and sharing it with the community.
Im trying to import a .asc file that came from my 3d scanner (cr scan lizard) which exports as .asc file as i'd like to try working with the point clouds in blender rather than the software it comes with, however im getting this python error upon trying to import. Im not a programmer at all so it means nothing to me, hopefully it does to you though?
Python: Traceback (most recent call last): File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blender-ASCII-Grid-Import-master__init__.py", line 60, in execute cols = int(content[0].split()[1]) ValueError: invalid literal for int() with base 10: '38.8936'
location::-1