blob: a84d7591877c87204bf7ff4cbec3dd681f80fd15 (
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
28
29
30
31
32
33
34
|
/*
* GCodeFileInfo.h
*
* Created on: 1 Apr 2019
* Author: Christian
*/
#ifndef SRC_GCODES_GCODEFILEINFO_H_
#define SRC_GCODES_GCODEFILEINFO_H_
#include "RepRapFirmware.h"
// Struct to hold Gcode file information
struct GCodeFileInfo
{
GCodeFileInfo() noexcept { Init(); }
void Init() noexcept;
unsigned int GetNumLayers() const noexcept;
FilePosition fileSize;
time_t lastModifiedTime;
float layerHeight;
float firstLayerHeight;
float objectHeight;
float filamentNeeded[MaxExtruders];
uint32_t printTime;
uint32_t simulatedTime;
unsigned int numFilaments;
bool isValid;
bool incomplete;
String<StringLength50> generatedBy;
};
#endif /* SRC_GCODES_GCODEFILEINFO_H_ */
|