Thank you for your program.
In using viz_rgba.py to read my original file, unpack_from error occurred.
It says:
unpack_from requires a buffer of at least 8 bytes for unpacking 4 bytes at offset 4 (actual buffer size is 4)
File "C:\Users\vscode\vox-py-io\py-vox-io\examples\viz_rgba.py", line 9, in
m = VoxParser('test2.vox').parse()
It seems a problem of Blender option program (https://github.com/Spyduck/voxwriter) because If I re-open and re-save by MagicaVoxel the file that shows error, the error disappears.
Thank you for your program. In using viz_rgba.py to read my original file, unpack_from error occurred. It says:
unpack_from requires a buffer of at least 8 bytes for unpacking 4 bytes at offset 4 (actual buffer size is 4) File "C:\Users\vscode\vox-py-io\py-vox-io\examples\viz_rgba.py", line 9, in
m = VoxParser('test2.vox').parse()
How can I avoid this error?