Dear Mehrdad,
firstly you can check the console output of the voxelizer:
[STLmesh] nTriangles=2654; maxDist2=0.000610779
[STLmesh] minPhysR(StlMesh)=(0.199901,0.0900099,0.0117236); maxPhysR(StlMesh)=(0.243584,0.249987,0.0398131)
[Octree] radius=0.143744; center=(0.221602,0.169858,0.025628)
[STLreader] voxelSize=0.0005615; stlSize=0.001
[STLreader] minPhysR(VoxelMesh)=(0.199984,0.0904058,0.0118712); maxPhysR(VoxelMesh)=(0.24322,0.249872,0.0393847)
[STLreader] Voxelizing … OK
Please check for your case, if the min and max dimensions of the stl mesh and the voxel mesh are correct.
In a further step you can check the Octree of the stlindicator with the call:
stlreader.writeOctree(); // (output is saved in the tmp floder)
If the octree is not correct you can try to use other indicate functions (e.g. 1 or 3)
The prepare geometry step is sequential, so you can check after each renaming procedure the output to test, where the renaming problem occurs.
Best Marc