cpederkoff / stl-to-voxel

Turn STL files into voxels, images, and videos
MIT License
138 stars 75 forks source link

Cube_3d_printing_sample.stl error #23

Closed youngkiu closed 3 years ago

youngkiu commented 3 years ago

https://ozeki.hu/p_1116-sample-stl-files-you-can-use-for-testing.html https://ozeki.hu/attachments/116/Cube_3d_printing_sample.stl

Traceback (most recent call last):
  File "/Users/youngkiu/src/stl-to-voxel/stltovoxel.py", line 123, in <module>
    doExport(args.input, args.output, args.resolution)
  File "/Users/youngkiu/src/stl-to-voxel/stltovoxel.py", line 39, in doExport
    vol[slice_height] = prepixel
IndexError: index 99 is out of bounds for axis 0 with size 99

Commit: b81dd386549deda71146024b80864b2f82d7ad45 : Pass Commit: 0faf8394b2e5f93255863563a664f1a3cd367ff5 : Fail