> geom_canvas options Geom file(s)
-g
/ --grid
[ auto ] -o
/ =--offset=[ 0 0 0 ] -f
/ --fill
[ 0 ] --float
--blank
> geom_canvas --grid 16 12 16 --offset 0 -4 0 --fill 0 < micro.geom > micro_supported.geom
This example demonstrates the combination of cropping and the addition of a supporting layer to an existing geometry of eight (periodic) grains discretized by 16 x 16 x 8 voxels.
The original geometry (Figure 1 (a)) is taken from micro.geom. Resulting geometry (Figure 1 (b)) is output to micro_supported.geom. Option--fill 0
assigns to the new volume an index one larger than the maximum index found in the original geom file.
Here, the maximum grain count was 8, hence the new (red) volume is filled with index 9 = 8+1.