Class Tool
Information about a configured tool
Implements
Inherited Members
Namespace: DuetAPI.Machine
Assembly: DuetAPI.dll
Syntax
public sealed class Tool : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
Active
Active temperatures of the associated heaters (in C)
Declaration
public ModelCollection<float> Active { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Single> |
Axes
Associated axes. At present only X and Y can be mapped per tool.
Declaration
public ModelCollection<int[]> Axes { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Int32[]> |
Remarks
The order is the same as the visual axes, so by default the layout is [ [0], // X [1] // Y ] Make sure to set each item individually so the change events are called
Extruders
Extruder drives of this tool
Declaration
public ModelCollection<int> Extruders { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Int32> |
Fans
List of associated fans (indices)
Declaration
public ModelCollection<int> Fans { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Int32> |
FilamentExtruder
Extruder drive index for resolving the tool filament (index or -1)
Declaration
public int FilamentExtruder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Heaters
List of associated heaters (indices)
Declaration
public ModelCollection<int> Heaters { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Int32> |
Mix
Mix ratios of the associated extruder drives
Declaration
public ModelCollection<float> Mix { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Single> |
Name
Name of this tool
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
Number of this tool
Declaration
public int Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Offsets
Axis offsets (in mm) This list is in the same order as Axes
Declaration
public ModelCollection<float> Offsets { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Single> |
See Also
OffsetsProbed
Bitmap of the probed axis offsets
Declaration
public int OffsetsProbed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Retraction
Firmware retraction parameters
Declaration
public ToolRetraction Retraction { get; }
Property Value
Type | Description |
---|---|
ToolRetraction |
Standby
Standby temperatures of the associated heaters (in C)
Declaration
public ModelCollection<float> Standby { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Single> |
State
Current state of this tool
Declaration
public ToolState State { get; set; }
Property Value
Type | Description |
---|---|
ToolState |