Class Move
- Namespace
- DuetAPI.ObjectModel
- Assembly
- DuetAPI.dll
Information about the move subsystem
public class Move : ModelObject, INotifyPropertyChanging, IStaticModelObject, IModelObject, ICloneable, INotifyPropertyChanged
- Inheritance
-
Move
- Implements
- Inherited Members
Constructors
Move()
public Move()
Properties
AccelerationTime
Value of the M201 T parameter. Only present in builds that support S-curve acceleration
public float? AccelerationTime { get; set; }
Property Value
Axes
List of the configured axes
[Live]
[LimitedResponseCount(9)]
public StaticModelCollection<Axis> Axes { get; }
Property Value
- See Also
BacklashFactor
Backlash distance multiplier
public int BacklashFactor { get; set; }
Property Value
Calibration
Information about the automatic calibration
public MoveCalibration Calibration { get; }
Property Value
Compensation
Information about the currently configured compensation options
public MoveCompensation Compensation { get; }
Property Value
CurrentMove
Information about the current move
[Live]
public CurrentMove CurrentMove { get; }
Property Value
Extruders
List of configured extruders
[Live]
public StaticModelCollection<Extruder> Extruders { get; }
Property Value
- See Also
Idle
Idle current reduction parameters
public MotorsIdleControl Idle { get; }
Property Value
Keepout
List of configured keep-out zones
public StaticModelCollection<KeepoutZone> Keepout { get; }
Property Value
Kinematics
Configured kinematics options
public Kinematics Kinematics { get; set; }
Property Value
LimitAxes
Limit axis positions by their minima and maxima
public bool LimitAxes { get; set; }
Property Value
MotionSystems
List of configured motion systems
[Live]
public StaticModelCollection<MotionSystem> MotionSystems { get; }
Property Value
NoMovesBeforeHoming
Indicates if standard moves are forbidden if the corresponding axis is not homed
public bool NoMovesBeforeHoming { get; set; }
Property Value
PrintingAcceleration
Maximum acceleration allowed while printing (in mm/s^2)
[Obsolete("use motionSystems[].printingAcceleration instead")]
public float PrintingAcceleration { get; set; }
Property Value
Queue
List of move queue items (DDA rings)
public StaticModelCollection<MoveQueueItem> Queue { get; }
Property Value
Rotation
Parameters for centre rotation
[Obsolete("use motionSystems[].rotation instead")]
public MoveRotation Rotation { get; }
Property Value
Shaping
Parameters for input shaping
public InputShaping Shaping { get; }
Property Value
SpeedFactor
Speed factor applied to every regular move (0.01..1 or greater)
public float SpeedFactor { get; set; }
Property Value
TravelAcceleration
Maximum acceleration allowed while travelling (in mm/s^2)
[Obsolete("use motionSystems[].travelAcceleration instead")]
public float TravelAcceleration { get; set; }
Property Value
UsingSCurve
Indicates if third-order S-curve acceleration is enabled. Only present in builds that support S-curve acceleration
public bool UsingSCurve { get; set; }
Property Value
VirtualEPos
Virtual total extruder position
[Obsolete("use motionSystems[].virtualEPos instead")]
public float VirtualEPos { get; set; }
Property Value
WorkplaceNumber
Index of the currently selected workplace
[Obsolete("use motionSystems[].workplaceNumber instead")]
public int WorkplaceNumber { 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)
Wrapper function
public void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)
Parameters
jsonElementJsonElementJSON element
ignoreSbcPropertiesboolIgnore SBC properties
UpdateFromJson(JsonElement, bool, bool)
Update this instance from a given JSON element
public void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties, bool last)
Parameters
jsonElementJsonElementElement to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
lastboolWhether Move.Axes is final
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data
UpdateFromJsonReader(ref Utf8JsonReader, bool)
Wrapper function for JSON updates
public void UpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties)
Parameters
readerUtf8JsonReaderJSON reader
ignoreSbcPropertiesboolIgnore SBC properties
UpdateFromJsonReader(ref Utf8JsonReader, bool, bool)
Update this instance from a given JSON element
public void UpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties, bool last)
Parameters
readerUtf8JsonReaderReader to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
lastboolWhether Move.Axes is final
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data