Skip to content
saumiJ edited this page Jul 31, 2015 · 6 revisions

Steps:

  1. Convert *.stl file to voxelized *.dat file using the Voxelizer with size of voxel voxelSize. You need CVMLCPP for this - ask Friedi for more details.

  2. Open InputReader.cpp.

    • Change deltaDim (line 29) to voxelSize value.
    • Provide the correct infile and outfile names. Save InputReader.cpp
  3. Open terminal in root and type:

    $ g++ -g -o InputReader InputReader.cpp
    $ ./InputReader

  4. Open the VTK file with Paraview and visualize.

Clone this wiki locally