Skip to content

Voxelization routine #44

@Kresa96

Description

@Kresa96

Very nice work!
We try to use your package MicroStructPy in our research group to built polycristalline electrolytes for impedance simulation. We usually use numpy arrays in which each grain is represented by several array entries (very similar to voxels, or images in 2D). The grains are distinguishable by different integer values in the matrix. In this way it's easy to modify the structure and use it for several different purposes (as an example for our simulations).

Example for a 2D structure consisting of 2 grains:
1111112222
1111112222
1111222222
1112222222

I think it would be very nice if you could implement a function which can transform the 2d and 3d polygon mesh into numpy arrays.

Looking forward to your reply!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions