@duet3d/objectmodel 3.7.0-alpha.13 → 3.7.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/documentation.json +14 -5
- package/dist/inputs/InputChannel.d.ts +1 -0
- package/dist/inputs/InputChannel.js +1 -0
- package/dist/job/Build.d.ts +2 -2
- package/dist/job/Build.js +2 -2
- package/dist/move/index.d.ts +2 -0
- package/dist/move/index.js +2 -0
- package/dist/move/kinematics/KinematicsBase.d.ts +1 -1
- package/dist/move/kinematics/KinematicsBase.js +1 -1
- package/dist/plugins/PluginManifest.d.ts +1 -0
- package/dist/plugins/PluginManifest.js +1 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.js +1 -0
- package/dist/sensors/FilamentMonitors/LaserFilamentMonitor.d.ts +1 -1
- package/dist/sensors/FilamentMonitors/LaserFilamentMonitor.js +1 -1
- package/dist/sensors/Probe.d.ts +1 -1
- package/dist/sensors/Probe.js +1 -1
- package/dist/state/index.d.ts +1 -0
- package/dist/state/index.js +1 -0
- package/dist/volumes/index.d.ts +1 -0
- package/dist/volumes/index.js +1 -0
- package/package.json +1 -1
package/dist/documentation.json
CHANGED
|
@@ -226,6 +226,7 @@
|
|
|
226
226
|
"inputs[].drivesRelative": "Whether relative extrusion is being used",
|
|
227
227
|
"inputs[].feedRate": "Current feedrate as passed by the last G0/G1 F... command",
|
|
228
228
|
"inputs[].inMacro": "Whether a macro file is being processed",
|
|
229
|
+
"inputs[].inverseTimeMode": "Indicates if inverse time mode (G73) is active",
|
|
229
230
|
"inputs[].lineNumber": "Number of the current line",
|
|
230
231
|
"inputs[].macroRestartable": "Indicates if the current macro file can be restarted after a pause",
|
|
231
232
|
"inputs[].motionSystem": "Active motion system index",
|
|
@@ -250,8 +251,8 @@
|
|
|
250
251
|
"summary": "Index of the current object being printed or -1 if unknown",
|
|
251
252
|
"remarks": "This value may now be greater than the length of the job.build.objects array. This is because the size of job.build.objects is limited to conserve memory (to 20 on Duet 2 or 40 on Duet 3), whereas when M486 labelling is used, many more objects can be numbered and the first 64 can be cancelled individually"
|
|
252
253
|
},
|
|
253
|
-
"job.build.
|
|
254
|
-
"job.build.
|
|
254
|
+
"job.build.m486Names": "Whether M486 names are being used",
|
|
255
|
+
"job.build.m486Numbers": "Whether M486 numbers are being used",
|
|
255
256
|
"job.build.objects": "List of detected build objects",
|
|
256
257
|
"job.build.objects[].cancelled": "Indicates if this build object is cancelled",
|
|
257
258
|
"job.build.objects[].name": "Name of the build object (if any)",
|
|
@@ -488,6 +489,8 @@
|
|
|
488
489
|
"move.currentMove": "Information about the current move",
|
|
489
490
|
"move.currentMove.acceleration": "Acceleration of the current move (in mm/s^2)",
|
|
490
491
|
"move.currentMove.deceleration": "Deceleration of the current move (in mm/s^2)",
|
|
492
|
+
"move.currentMove.distance": "Total distance of the current move (in mm)",
|
|
493
|
+
"move.currentMove.duration": "Duration of the current move (in s)",
|
|
491
494
|
"move.currentMove.extrusionRate": "Current extrusion rate (in mm/s)",
|
|
492
495
|
"move.currentMove.laserPwm": "Laser PWM of the current move (0..1) or null if not applicable",
|
|
493
496
|
"move.currentMove.requestedSpeed": "Requested speed of the current move (in mm/s)",
|
|
@@ -546,13 +549,14 @@
|
|
|
546
549
|
}
|
|
547
550
|
},
|
|
548
551
|
"move.kinematics.segmentation": "Segmentation parameters or null if not configured",
|
|
549
|
-
"move.kinematics.segmentation.minSegmentLength": "Minimum length of a segment (in mm)",
|
|
550
552
|
"move.kinematics.segmentation.segmentsPerSec": "Number of segments per second",
|
|
551
553
|
"move.limitAxes": "Limit axis positions by their minima and maxima",
|
|
552
554
|
"move.motionSystems": "List of configured motion systems",
|
|
553
555
|
"move.motionSystems[].currentMove": "Information about the current move",
|
|
554
556
|
"move.motionSystems[].currentMove.acceleration": "Acceleration of the current move (in mm/s^2)",
|
|
555
557
|
"move.motionSystems[].currentMove.deceleration": "Deceleration of the current move (in mm/s^2)",
|
|
558
|
+
"move.motionSystems[].currentMove.distance": "Total distance of the current move (in mm)",
|
|
559
|
+
"move.motionSystems[].currentMove.duration": "Duration of the current move (in s)",
|
|
556
560
|
"move.motionSystems[].currentMove.extrusionRate": "Current extrusion rate (in mm/s)",
|
|
557
561
|
"move.motionSystems[].currentMove.laserPwm": "Laser PWM of the current move (0..1) or null if not applicable",
|
|
558
562
|
"move.motionSystems[].currentMove.requestedSpeed": "Requested speed of the current move (in mm/s)",
|
|
@@ -669,6 +673,7 @@
|
|
|
669
673
|
},
|
|
670
674
|
"plugins[].sbcExecutableArguments": "Command-line arguments for the executable",
|
|
671
675
|
"plugins[].sbcExtraExecutables": "List of other filenames in the dsf directory that should be executable",
|
|
676
|
+
"plugins[].sbcNotifyStarted": "Plugin notifies DSF when it is fully started",
|
|
672
677
|
"plugins[].sbcOutputRedirected": "Defines if messages from stdout/stderr are output as generic messages",
|
|
673
678
|
"plugins[].sbcPackageDependencies": "List of packages this plugin depends on (apt packages in the case of DuetPi)",
|
|
674
679
|
"plugins[].sbcPermissions": "List of permissions required by the plugin executable running on the SBC",
|
|
@@ -676,6 +681,7 @@
|
|
|
676
681
|
"plugins[].sbcPythonDependencies": "List of Python packages this plugin depends on",
|
|
677
682
|
"plugins[].sbcRequired": "Set to true if a SBC is absolutely required for this plugin",
|
|
678
683
|
"plugins[].sdFiles": "List of files to be installed to the (virtual) SD excluding web files",
|
|
684
|
+
"plugins[].started": "Indicates if the plugin is fully started",
|
|
679
685
|
"plugins[].tags": "List of general tags for search",
|
|
680
686
|
"plugins[].version": "Version of the plugin",
|
|
681
687
|
"sbc": "Information about the SBC which Duet Software Framework is running on. This is null if the system is operating in standalone mode",
|
|
@@ -710,7 +716,7 @@
|
|
|
710
716
|
"TRACE": "HTTP TRACE request",
|
|
711
717
|
"DELETE": "HTTP DELETE request",
|
|
712
718
|
"OPTIONS": "HTTP OPTIONS request",
|
|
713
|
-
"WebSocket": "WebSocket request
|
|
719
|
+
"WebSocket": "WebSocket request. This has not been implemented yet but it is reserved for future usage"
|
|
714
720
|
}
|
|
715
721
|
},
|
|
716
722
|
"sbc.dsf.httpEndpoints[].isUploadRequest": {
|
|
@@ -806,7 +812,7 @@
|
|
|
806
812
|
"rtdmax31865": "RTD MAX31865",
|
|
807
813
|
"thermocouplemax31855": "MAX31855 thermocouple",
|
|
808
814
|
"thermocouplemax31856": "MAX31856 thermocouple",
|
|
809
|
-
"linearanalog":
|
|
815
|
+
"linearanalog": null,
|
|
810
816
|
"dht21": "DHT21 sensor",
|
|
811
817
|
"dht22": "DHT22 sensor",
|
|
812
818
|
"dhthumidity": "DHT humidity sensor",
|
|
@@ -891,6 +897,7 @@
|
|
|
891
897
|
"sensors.probes[].tolerance": "Allowed tolerance deviation between two measures (in mm)",
|
|
892
898
|
"sensors.probes[].touchMode": "Touch mode options (if supported, otherwise null)",
|
|
893
899
|
"sensors.probes[].touchMode.active": "Indicates if the touch probe is enabled",
|
|
900
|
+
"sensors.probes[].touchMode.speed": "Speed while probing in touch mode (in mm/s)",
|
|
894
901
|
"sensors.probes[].touchMode.threshold": "Threshold value of the touch probe",
|
|
895
902
|
"sensors.probes[].touchMode.triggerHeight": "Height of the trigger point of the touch probe (in mm)",
|
|
896
903
|
"sensors.probes[].travelSpeed": "Travel speed when probing multiple points (in mm/min)",
|
|
@@ -1031,6 +1038,7 @@
|
|
|
1031
1038
|
"idle": "The machine is on but has nothing to do"
|
|
1032
1039
|
}
|
|
1033
1040
|
},
|
|
1041
|
+
"state.thisActive": "Shorthand for inputs[state.thisInput].active",
|
|
1034
1042
|
"state.thisInput": {
|
|
1035
1043
|
"summary": "Index of the current G-code input channel (see ObjectModel.Inputs)",
|
|
1036
1044
|
"remarks": "This is primarily intended for macro files to determine on which G-code channel it is running. The value of this property is always null in object model queries"
|
|
@@ -1083,6 +1091,7 @@
|
|
|
1083
1091
|
"volumes[].mounted": "Whether the storage device is mounted",
|
|
1084
1092
|
"volumes[].name": "Name of this volume",
|
|
1085
1093
|
"volumes[].openFiles": "Number of currently open files or null if unknown",
|
|
1094
|
+
"volumes[].partitionSize": "Total size of this volume (in bytes or null)",
|
|
1086
1095
|
"volumes[].path": "Logical path of the storage device",
|
|
1087
1096
|
"volumes[].speed": "Speed of the storage device (in bytes/s or null if unknown)"
|
|
1088
1097
|
}
|
package/dist/job/Build.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export declare class BuildObject extends ModelObject {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class Build extends ModelObject {
|
|
10
10
|
currentObject: number;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
m486Names: boolean;
|
|
12
|
+
m486Numbers: boolean;
|
|
13
13
|
readonly objects: ModelCollection<BuildObject>;
|
|
14
14
|
}
|
|
15
15
|
export default Build;
|
package/dist/job/Build.js
CHANGED
|
@@ -13,8 +13,8 @@ export class Build extends ModelObject {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.currentObject = -1;
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.m486Names = false;
|
|
17
|
+
this.m486Numbers = false;
|
|
18
18
|
this.objects = new ModelCollection(BuildObject);
|
|
19
19
|
}
|
|
20
20
|
}
|
package/dist/move/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ import Kinematics from "./kinematics";
|
|
|
11
11
|
export declare class CurrentMove extends ModelObject {
|
|
12
12
|
acceleration: number;
|
|
13
13
|
deceleration: number;
|
|
14
|
+
distance: number;
|
|
15
|
+
duration: number;
|
|
14
16
|
extrusionRate: number;
|
|
15
17
|
laserPwm: number | null;
|
|
16
18
|
requestedSpeed: number;
|
package/dist/move/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export declare enum KinematicsName {
|
|
|
16
16
|
}
|
|
17
17
|
export declare class MoveSegmentation extends ModelObject {
|
|
18
18
|
segmentsPerSec: number;
|
|
19
|
-
|
|
19
|
+
minSegLength: number;
|
|
20
20
|
}
|
|
21
21
|
export declare abstract class KinematicsBase extends ModelObject {
|
|
22
22
|
readonly name: KinematicsName;
|
|
@@ -54,6 +54,7 @@ export declare class PluginManifest extends ModelObject {
|
|
|
54
54
|
sbcExecutableArguments: string | null;
|
|
55
55
|
sbcExtraExecutables: Array<string>;
|
|
56
56
|
sbcAutoRestart: boolean;
|
|
57
|
+
sbcNotifyStarted: boolean;
|
|
57
58
|
sbcOutputRedirected: boolean;
|
|
58
59
|
sbcPermissions: ModelSet<SbcPermission>;
|
|
59
60
|
sbcConfigFiles: Array<string>;
|
|
@@ -55,6 +55,7 @@ export class PluginManifest extends ModelObject {
|
|
|
55
55
|
this.sbcExecutableArguments = null;
|
|
56
56
|
this.sbcExtraExecutables = [];
|
|
57
57
|
this.sbcAutoRestart = false;
|
|
58
|
+
this.sbcNotifyStarted = false;
|
|
58
59
|
this.sbcOutputRedirected = true;
|
|
59
60
|
this.sbcPermissions = new ModelSet();
|
|
60
61
|
this.sbcConfigFiles = [];
|
package/dist/plugins/index.d.ts
CHANGED
package/dist/plugins/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Duet3DFilamentMonitor } from "./Duet3DFilamentMonitor";
|
|
|
4
4
|
export declare class LaserFilamentMonitorCalibrated extends ModelObject {
|
|
5
5
|
percentMax: number;
|
|
6
6
|
percentMin: number;
|
|
7
|
-
|
|
7
|
+
sensitivity: number;
|
|
8
8
|
totalDistance: number;
|
|
9
9
|
}
|
|
10
10
|
export declare class LaserFilamentMonitorConfigured extends ModelObject {
|
package/dist/sensors/Probe.d.ts
CHANGED
package/dist/sensors/Probe.js
CHANGED
package/dist/state/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare class State extends ModelObject {
|
|
|
59
59
|
readonly restorePoints: ModelCollection<RestorePoint>;
|
|
60
60
|
startupError: StartupError | null;
|
|
61
61
|
status: MachineStatus;
|
|
62
|
+
thisActive: boolean | null;
|
|
62
63
|
thisInput: number | null;
|
|
63
64
|
time: string | null;
|
|
64
65
|
upTime: number;
|
package/dist/state/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export class State extends ModelObject {
|
|
|
71
71
|
this.restorePoints = new ModelCollection(RestorePoint);
|
|
72
72
|
this.startupError = null;
|
|
73
73
|
this.status = MachineStatus.starting;
|
|
74
|
+
this.thisActive = null;
|
|
74
75
|
this.thisInput = null;
|
|
75
76
|
this.time = null;
|
|
76
77
|
this.upTime = 0;
|
package/dist/volumes/index.d.ts
CHANGED
package/dist/volumes/index.js
CHANGED