Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 532 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 532 Bytes

stl_to_vtk_voxelization

This code a script to convert stl data of closed surfaces into voxelized vtk files (ascii).

usage

pip3 install vtk
pip3 install pyevtk
python3 stl_to_vtk_voxelization.py

before

before

after

after

The stl model was referred to here.

article

https://qiita.com/dwatanabee/items/b938b46ef911a43b92ba

LICENCE

stl file is "GNU Lesser General Public License v2.1", and the others are MIT.