Welcome to mirror list, hosted at ThFree Co, Russian Federation.

GCodeFileInfo.cpp « GCodes « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 426a8a449a2d3e4c40944556e7cd84f2decb14a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * GCodeFileInfo.cpp
 *
 *  Created on: 11 Jan 2020
 *      Author: David
 */

#include "GCodeFileInfo.h"

void GCodeFileInfo::Init() noexcept
{
	isValid = false;
	incomplete = true;
	objectHeight = 0.0;
	layerHeight = 0.0;
	printTime = simulatedTime = 0;
	numFilaments = 0;
	lastModifiedTime = 0;
	generatedBy.Clear();
	fileSize = 0;
	for (float& f : filamentNeeded)
	{
		f = 0.0;
	}
}

// End