I have not used cura but in S3D you open the model and the once you have all your parameters set, you prepare it for printing which put you in the preview mode and then you write the file for printing which creates the gcode.