Steps:
-
Convert
*.stlfile to voxelized*.datfile using the Voxelizer with size of voxelvoxelSize. You need CVMLCPP for this - ask Friedi for more details. ~/Path/To/CVMLCPP/bin/voxelize ./<stl_file>.stl -
Open
InputReader.cpp.- Change
deltaDim(line 29) tovoxelSizevalue. - Provide the correct
infileandoutfilenames. SaveInputReader.cpp
- Change
-
Open terminal in root and type:
$ g++ -g -o InputReader InputReader.cpp
$ ./InputReader -
Open the VTK file with Paraview and visualize.