To 3D print an object, you need the 3D model of it. It can be done on Rhino or CAD for example and the exported file can be an OBJ or STL file.
Then, the process consists into slicing the 3D model into the desired height of filament extruded and add features if needed. For example, I can add a pause if I want to print on a textile.
After slicing, I obtain a Gcode file which is basically a long list of coordinates (X,Y,Z) for the extruder to go to and extrude the filament. This is this file that you give to the 3D printer to read. Here is the 3D printer we had :