Steps:
-
Convert
*.stl
file to voxelized*.dat
file 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) tovoxelSize
value. - Provide the correct
infile
andoutfile
names. SaveInputReader.cpp
- Change
-
Open terminal in root and type:
$ g++ -g -o InputReader InputReader.cpp
$ ./InputReader
-
Open the VTK file with Paraview and visualize.