Skip to content

xing-yuu/microstructure-voxelization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microstructure Voxelization

An easy-to-use command-line tool to convert microstructure meshes to voxel grids (For property calculation).

Requires

Usage

Program options:

  • --mesh <Microstructure model file>: (required) A path to the polygon-based 3D Microstructure file.
  • --mode <The voxelization mode>: (default: solid) Surface and solid mode.
  • --res <The resolution of voxels>: (default: 64) The resolution of voxels.
  • --visualization <Whether need to visualize voxels>: (default: True)

Example

python voxel.py --mesh=S-T-0-1-2.obj --mode=solid

About

A python code to convert microstructure meshes to voxel grids.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages