Class GCodeFileInfo
Holds information about a G-code file
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
[JsonConverter(typeof(GCodeFileInfoConverter))]
public sealed class GCodeFileInfo : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Filament
Filament consumption per extruder drive (in mm)
Declaration
public ModelCollection<float> Filament { get; }
Property Value
Type | Description |
---|---|
ModelCollection<float> |
FileName
The filename of the G-code file
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
string |
GeneratedBy
Name of the application that generated this file
Declaration
public string? GeneratedBy { get; set; }
Property Value
Type | Description |
---|---|
string |
Height
Build height of the G-code job or 0 if not found (in mm)
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
float |
LastModified
Value indicating when the file was last modified or null if unknown
Declaration
[JsonConverter(typeof(JsonOptionalShortDateTimeConverter))]
public DateTime? LastModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
LayerHeight
Height of each other layer or 0 if not found (in mm)
Declaration
public float LayerHeight { get; set; }
Property Value
Type | Description |
---|---|
float |
NumLayers
Number of total layers or 0 if unknown
Declaration
public int NumLayers { get; set; }
Property Value
Type | Description |
---|---|
int |
PrintTime
Estimated print time (in s)
Declaration
public long? PrintTime { get; set; }
Property Value
Type | Description |
---|---|
long? |
SimulatedTime
Estimated print time from G-code simulation (in s)
Declaration
public long? SimulatedTime { get; set; }
Property Value
Type | Description |
---|---|
long? |
Size
Size of the file
Declaration
public long Size { get; set; }
Property Value
Type | Description |
---|---|
long |
Thumbnails
Collection of thumbnails parsed from Gcode
Declaration
[SbcProperty(true)]
public ModelCollection<ThumbnailInfo> Thumbnails { get; }
Property Value
Type | Description |
---|---|
ModelCollection<ThumbnailInfo> |