public void LoadFile(string gcodePathAndFileName) { loadedGCode = GCodeFile.Load(gcodePathAndFileName); SetInitalLayer(); CenterPartInView(); }