Simplistic boundary voxelization of a triangulated surface (stl-to-voxel)

The python code blow illustrates a simplistic concept of how to convert a triangulates surface into a voxel (image stack) representation.This code is not optimized for speed rather than having a clear structure to better understand the individual steps of this algorithm.

Comments

Popular posts from this blog

Installing and Using Fortran To Python (F2PY) Interface Generator

Calculating Normalized Vertex Normals of a Triangulated Mesh