You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am facing an issue (or perhaps i do not interpret the output of the .xyz file right) when converting a .stl file to a .xyz voxel-file.
I want to convert a cube ("prt0001.stl") with 300mm x 300mm x 300mm side length to voxels .
Resolution 1 1 1 gives me an empty .xyz file. I would expect a file with one entry
python3 -m stltovoxel prt0001.stl prt0001_test1.xyz --resolution-xyz 1 1 1
Resolution 2 2 2 gives me an .xyz file with 4 entries:
-150.0 -150.0 150.0
150.0 -150.0 150.0
-150.0 150.0 150.0
150.0 150.0 150.0
I would expect a file with 8 entries
python3 -m stltovoxel prt0001.stl prt0001_test2.xyz --resolution-xyz 2 2 2
Hi Johannes,
Thanks for sending this issue in and the example stl.
I think I have fixed the issue in #62 . Now the output of resolution 2 2 2 gives an .xyz file with 8 entries which are centered around 0,0,0.
Best,
Christian
Hi,
i am facing an issue (or perhaps i do not interpret the output of the .xyz file right) when converting a .stl file to a .xyz voxel-file.
I want to convert a cube ("prt0001.stl") with 300mm x 300mm x 300mm side length to voxels .
Resolution 1 1 1 gives me an empty .xyz file. I would expect a file with one entry
python3 -m stltovoxel prt0001.stl prt0001_test1.xyz --resolution-xyz 1 1 1
Resolution 2 2 2 gives me an .xyz file with 4 entries:
-150.0 -150.0 150.0
150.0 -150.0 150.0
-150.0 150.0 150.0
150.0 150.0 150.0
I would expect a file with 8 entries
python3 -m stltovoxel prt0001.stl prt0001_test2.xyz --resolution-xyz 2 2 2
prt0002.txt
I attached the .stl file as a .txt in ASCII format.
Best regards
Johannes
The text was updated successfully, but these errors were encountered: