Operations with Three-Dimensional Grains
edit page
On this page we explain some basic operations with three dimensional grains. Let us start by importing some example data set and plot it from a nice perspective
Slicing
We can extract from 3d grain data 2d grain data by slicing them along one or multiple planes. This is done using the command slice. This command requires two inputs to characterize a plane - the plane normal N and an arbitrary point P0 within the plane.
We may adjust the @plottingConvention such that the normal direction is perpendicular to the screen.
We may use the exact same syntax to generate multiple slices.
Triangulation
Some functions are much faster on triangulated meshes. Therefore you can triangulate your grains with the command triangulate.
Rotation
Not surprisingly we can use the command rotate to apply any rotation to three dimensional grains. Note that a rotation changes the spatial coordinates as well as the orientations of the grains.