G-code voxelization and export to STL
In this tutorial we will see two unique features of Voxelizer: G-code voxelization and export to STL. The first lets you take a G-code file and reconstruct the original model from it, the second lets you export a voxel object to the popular STL format. The following tutorial will show how to use both.
Let's say you have a G-code file but you have lost the original 3D model which you would still like to use. You can use Voxelizer to roll-back from the G-code to the model. Just load your G-code, in the GCODE view select the Voxelize gcode panel, click on Voxelize and choose the voxel size for the algorithm (a small value will produce a more precise result but it will also take more time. The default 0.10 is usually a good value). The software will create a new voxel object in the SETTINGS view.
Some of the original code remains but the new voxelixed object does not filter out things like the power raft in this image. You may also see other modifications that were in the G-code such as elevated layer heights, a waste material brim or tower, or other artifacts. However we can use Voxelizer's filters and voxel manipulation to make it look closer to the original mesh.
Now you could use this model again, applying to it other filters or printing settings and generate a new G-code file. But it may be that you want a mesh file that can also be used with other programs. In this case you can use the export to STL feature of Voxelizer. Just select the object that you want to export and go to File->Export->mesh (.stl). Now you have a mesh geometry generated from a voxel object.