Voxel Construction

Contains classes and methods to construct voxels based on a nominal cloud of point and given resolution, this can be used to construct cubical or cuboid voxels. By default no voxel is needed as each case study a mapping file considering a 64*64*64 voxel resolution.

class dlmfg.utilities.voxel_construction.VoxelConstruct(x_dim, y_dim, z_dim)[source]

Voxel Construction Class, for cubical voxel construction resolution in all three directions should be equal

Parameters
  • x_dim (int (required)) – The voxel resolution in x-direction

  • y_dim (int (required)) – The voxel resolution in y-direction

  • z_dim (int (required)) – The voxel resolution in z-direction

construct_voxel(nominal_cop)[source]

Construct voxel method takes nominal cop as input and based on the object initialization build a mapping index for each node in the nominal cloud of point

Parameters

nominal_cop – The nominal cloud of point with x,y and z co-ordinates

Returns

mapping index (i,j,k) for numpy array of dim points * 3

Return type

numpy.array [point_dim,3]