Welcome to the forum!
Hhmm.... This could be a bit over my head. But let's start with this. Were you using Extensions menu > Gcodetools extensions? Or another extension? The Gcodetools extensions are the only native gcode tools in Inkscape. But there are some extensions which you could install, which produce gcode. So first I need to know exactly how you're doing it.