I wouldn't create gcode with SketchUp directly. You should export a solid object as STL and use an external slicer program (Cura, Slic3r, Makerbot, KISSlicer, ...).
💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
M