Cura is a fully functional slicer and will generate your g code for you