Class Kinematics
Information about the configured geometry
Inheritance
Kinematics
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public class Kinematics : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Name
Name of the configured kinematics
Declaration
public KinematicsName Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| KinematicsName |
Segmentation
Segmentation parameters or null if not configured
Declaration
public MoveSegmentation? Segmentation { get; set; }
Property Value
| Type | Description |
|---|---|
| MoveSegmentation |
Methods
UpdateFromJson(JsonElement, bool)
Update this instance from a given JSON element
Declaration
public override IModelObject? UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonElement | jsonElement | Element to update this intance from |
| bool | ignoreSbcProperties | Whether SBC properties are ignored |
Returns
| Type | Description |
|---|---|
| IModelObject | Updated instance |
Overrides
Exceptions
| Type | Condition |
|---|---|
| JsonException | Failed to deserialize data |