Class Extruder
- Namespace
- DuetAPI.ObjectModel
- Assembly
- DuetAPI.dll
Information about an extruder drive
public class Extruder : ModelObject, INotifyPropertyChanging, IStaticModelObject, IModelObject, ICloneable, INotifyPropertyChanged
- Inheritance
-
Extruder
- Implements
- Inherited Members
Constructors
Extruder()
public Extruder()
Properties
Acceleration
Acceleration of this extruder (in mm/s^2)
public float Acceleration { get; set; }
Property Value
Current
Motor current (in mA)
public int Current { get; set; }
Property Value
Driver
Assigned driver
public DriverId? Driver { get; set; }
Property Value
Factor
Extrusion factor to use (0..1 or greater)
public float Factor { get; set; }
Property Value
Filament
Name of the currently loaded filament
public string Filament { get; set; }
Property Value
FilamentDiameter
Diameter of the corresponding filament (in mm)
public float FilamentDiameter { get; set; }
Property Value
Jerk
Motor jerk (in mm/s)
public float Jerk { get; set; }
Property Value
Microstepping
Microstepping configuration
public Microstepping Microstepping { get; }
Property Value
Nonlinear
Nonlinear extrusion parameters (see M592)
public ExtruderNonlinear Nonlinear { get; }
Property Value
PercentCurrent
Percentage applied to the motor current (0..100)
public int PercentCurrent { get; set; }
Property Value
PercentStstCurrent
Percentage applied to the motor current during standstill (0..100 or null if not supported)
public int? PercentStstCurrent { get; set; }
Property Value
- int?
PhaseStep
Whether or not the extruder is currently using phase stepping
public bool? PhaseStep { get; set; }
Property Value
- bool?
Position
Extruder position (in mm)
public float Position { get; set; }
Property Value
PressAdv
Pressure advance parameters (see M572)
public ExtruderPressureAdvance PressAdv { get; }
Property Value
PressureAdvance
Pressure advance
[Obsolete("use PressAdv instead")]
public float PressureAdvance { get; set; }
Property Value
PrintingJerk
Motor jerk during the current print only (in mm/s)
public float PrintingJerk { get; set; }
Property Value
RawPosition
Raw extruder position as commanded by the slicer without extrusion factor applied (in mm)
public float RawPosition { get; set; }
Property Value
Speed
Maximum speed (in mm/min)
public float Speed { get; set; }
Property Value
StepsPerMm
Number of microsteps per mm
public float StepsPerMm { get; set; }
Property Value
Methods
Assign(IStaticModelObject)
Assign the properties from another instance. This is required to update model properties which do not have a setter
public void Assign(IStaticModelObject from)
Parameters
fromIStaticModelObjectOther instance
Clone()
Clone this instance
public object Clone()
Returns
- object
Cloned instance
Remarks
This method is auto-generated
UpdateFromJson(JsonElement, bool)
Update this instance from a given JSON element
public void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)
Parameters
jsonElementJsonElementElement to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data
UpdateFromJsonReader(ref Utf8JsonReader, bool)
Update this instance from a given JSON element
public void UpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties)
Parameters
readerUtf8JsonReaderReader to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data