Table of Contents

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

float

Current

Motor current (in mA)

public int Current { get; set; }

Property Value

int

Driver

Assigned driver

public DriverId? Driver { get; set; }

Property Value

DriverId

Factor

Extrusion factor to use (0..1 or greater)

public float Factor { get; set; }

Property Value

float

Filament

Name of the currently loaded filament

public string Filament { get; set; }

Property Value

string

FilamentDiameter

Diameter of the corresponding filament (in mm)

public float FilamentDiameter { get; set; }

Property Value

float

Jerk

Motor jerk (in mm/s)

public float Jerk { get; set; }

Property Value

float

Microstepping

Microstepping configuration

public Microstepping Microstepping { get; }

Property Value

Microstepping

Nonlinear

Nonlinear extrusion parameters (see M592)

public ExtruderNonlinear Nonlinear { get; }

Property Value

ExtruderNonlinear

PercentCurrent

Percentage applied to the motor current (0..100)

public int PercentCurrent { get; set; }

Property Value

int

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

float

PressAdv

Pressure advance parameters (see M572)

public ExtruderPressureAdvance PressAdv { get; }

Property Value

ExtruderPressureAdvance

PressureAdvance

Pressure advance

[Obsolete("use PressAdv instead")]
public float PressureAdvance { get; set; }

Property Value

float

PrintingJerk

Motor jerk during the current print only (in mm/s)

public float PrintingJerk { get; set; }

Property Value

float

RawPosition

Raw extruder position as commanded by the slicer without extrusion factor applied (in mm)

public float RawPosition { get; set; }

Property Value

float

Speed

Maximum speed (in mm/min)

public float Speed { get; set; }

Property Value

float

StepsPerMm

Number of microsteps per mm

public float StepsPerMm { get; set; }

Property Value

float

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

from IStaticModelObject

Other 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

jsonElement JsonElement

Element to update this intance from

ignoreSbcProperties bool

Whether 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

reader Utf8JsonReader

Reader to update this intance from

ignoreSbcProperties bool

Whether SBC properties are ignored

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data