3D printing is an upcoming trend based on a 3D modeled object which needs to be sliced and converted into instructions for the extruder. This is being done by using different algorithms in staircases. Find out more in my Paper of 3D Printing Algorithms.
The following Pictures are made with a short Java-Code. It can be found on https://github.com/Bitfroest/STL_Slicer.
Take a look on all layers of this rim.