An exception is thrown if binvox is not in the PATH
See original GitHub issueI think there is a bug in the trimesh/exchange/binvox.py
file. If binvox
executable is not in the path and the path is passed as a parameter, then an exception is thrown.
I think the line should have the following code:
if binvox_path is None:
raise IOError(
'No `binvox_path` provided, and no binvox executable found '
'on PATH. \nPlease go to https://www.patrickmin.com/binvox/ and '
'download the appropriate version.')
binvox_encoder
is set in the line by a function that searches for the binvox
executable in the PATH
env that is not set!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
trimesh/binvox.py at master
if not line.startswith(binvox):. raise IOError('Not a binvox file'). shape = tuple(. int(s) for s in fp.readline().strip().split(space)[1:]).
Read more >InputStream returns unexpected -1/empty - java
I have checked the file, and it does contain plenty of data after the strings. InputStreamReader is = new InputStreamReader(in); BufferedReader ...
Read more >Offline Ship Editor
You got importing binvox completely flawless - it was loading everything I threw at it! However, I was unable to save ships longer...
Read more >[binvox] 3D mesh voxelizer - Patrick Min
binvox is a straight-forward program that reads a 3D model file, rasterizes it into a binary 3D voxel grid, and writes the resulting...
Read more >trimesh.exchange.binvox — trimesh 3.17.1 documentation
dimension (voxel grid size (max 1024 when not using exact)) –. file_type (str) – ... The default looks for an executable called binvox...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be released now!
Thanks a lot for this! When is the next release planned?