@duet3d/objectmodel 3.7.0-rc.6 → 3.7.0-rc.8
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 +10 -3
- package/dist/enums.json +5 -0
- package/dist/move/InputShaping.js +1 -1
- package/dist/move/MotionSystem.d.ts +12 -2
- package/dist/move/MotionSystem.js +15 -2
- package/dist/sensors/AnalogSensor.d.ts +5 -0
- package/dist/sensors/AnalogSensor.js +5 -0
- package/dist/sensors/Probe.d.ts +1 -1
- package/dist/sensors/Probe.js +1 -1
- package/package.json +1 -1
package/dist/documentation.json
CHANGED
|
@@ -45,7 +45,10 @@
|
|
|
45
45
|
"boards[].iapFileNameSD": "Filename of the IAP binary that is used for updates from the SD card or null if unsupported",
|
|
46
46
|
"boards[].inductiveSensor": "Information about an inductive sensor or null if not present",
|
|
47
47
|
"boards[].maxHeaters": "Maximum number of heaters this board can control",
|
|
48
|
-
"boards[].maxMotors":
|
|
48
|
+
"boards[].maxMotors": {
|
|
49
|
+
"summary": "Maximum number of motors this board can drive",
|
|
50
|
+
"remarks": "RRF reports this as verbose on the main board only, because expansion boards can be hot-plugged and verbose values are only fetched on the initial connect"
|
|
51
|
+
},
|
|
49
52
|
"boards[].mcuTemp": "Minimum, maximum, and current temperatures of the MCU or null if unknown",
|
|
50
53
|
"boards[].mcuTemp.current": "Current value",
|
|
51
54
|
"boards[].mcuTemp.max": "Maximum value",
|
|
@@ -593,7 +596,6 @@
|
|
|
593
596
|
"move.motionSystems[].currentMove.duration": "Duration of the current move (in s)",
|
|
594
597
|
"move.motionSystems[].currentMove.extrusionRate": "Current extrusion rate (in mm/s)",
|
|
595
598
|
"move.motionSystems[].currentMove.filePosition": "Position in the job file of the move being executed (in bytes or null)",
|
|
596
|
-
"move.motionSystems[].currentMove.laserPwm": "Laser PWM of the current move (0..1) or null if not applicable",
|
|
597
599
|
"move.motionSystems[].currentMove.requestedSpeed": "Requested speed of the current move (in mm/s)",
|
|
598
600
|
"move.motionSystems[].currentMove.topSpeed": "Top speed of the current move (in mm/s)",
|
|
599
601
|
"move.motionSystems[].currentObject": "Number of the current object being printed or null if not printing",
|
|
@@ -900,6 +902,11 @@
|
|
|
900
902
|
"mcutemp": "MCU temperature",
|
|
901
903
|
"drivers": "On-board stepper driver sensors",
|
|
902
904
|
"driversduex": "Stepper driver sensors on the DueX expansion board",
|
|
905
|
+
"boardtemp": "Board temperature sensor of an expansion board",
|
|
906
|
+
"current": "Heater current sensor of an expansion board",
|
|
907
|
+
"thermopile_tpis.object": "TPiS thermopile object temperature",
|
|
908
|
+
"thermopile_tpis.ambient": "TPiS thermopile ambient temperature",
|
|
909
|
+
"thermopile_tpis.environment": "TPiS thermopile environment temperature",
|
|
903
910
|
"remote": "Sensor on a CAN-connected expansion board",
|
|
904
911
|
"unknown": "Unknown temperature sensor"
|
|
905
912
|
}
|
|
@@ -1011,7 +1018,7 @@
|
|
|
1011
1018
|
"0": "No probe",
|
|
1012
1019
|
"1": "A simple unmodulated probe (like dc42's infrared probe)",
|
|
1013
1020
|
"2": "A modulated probe (like the original one shipped with the RepRapPro Ormerod)",
|
|
1014
|
-
"3": "Alternate analog probe (
|
|
1021
|
+
"3": "Alternate analog probe (obsolete, should not be used any more)",
|
|
1015
1022
|
"4": "Endstop switch (obsolete, should not be used any more)",
|
|
1016
1023
|
"5": "A switch that is triggered when the probe is activated (filtered)",
|
|
1017
1024
|
"6": "Endstop switch on the E1 endstop pin (obsolete, should not be used any more)",
|
package/dist/enums.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import ModelObject from "../ModelObject";
|
|
2
2
|
import ModelCollection from "../ModelCollection";
|
|
3
3
|
import RestorePoint from "../state/RestorePoint";
|
|
4
|
-
import {
|
|
4
|
+
import { MoveRotation } from ".";
|
|
5
|
+
export declare class MotionSystemCurrentMove extends ModelObject {
|
|
6
|
+
acceleration: number;
|
|
7
|
+
deceleration: number;
|
|
8
|
+
distance: number;
|
|
9
|
+
duration: number;
|
|
10
|
+
extrusionRate: number;
|
|
11
|
+
filePosition: number | null;
|
|
12
|
+
requestedSpeed: number;
|
|
13
|
+
topSpeed: number;
|
|
14
|
+
}
|
|
5
15
|
export declare class MotionSystem extends ModelObject {
|
|
6
|
-
readonly currentMove:
|
|
16
|
+
readonly currentMove: MotionSystemCurrentMove;
|
|
7
17
|
currentObject: number | null;
|
|
8
18
|
currentTool: number;
|
|
9
19
|
nextTool: number;
|
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
import ModelObject from "../ModelObject";
|
|
2
2
|
import ModelCollection from "../ModelCollection";
|
|
3
3
|
import RestorePoint from "../state/RestorePoint";
|
|
4
|
-
import {
|
|
4
|
+
import { MoveRotation } from ".";
|
|
5
|
+
export class MotionSystemCurrentMove extends ModelObject {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.acceleration = 0;
|
|
9
|
+
this.deceleration = 0;
|
|
10
|
+
this.distance = 0;
|
|
11
|
+
this.duration = 0;
|
|
12
|
+
this.extrusionRate = 0;
|
|
13
|
+
this.filePosition = null;
|
|
14
|
+
this.requestedSpeed = 0;
|
|
15
|
+
this.topSpeed = 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
5
18
|
export class MotionSystem extends ModelObject {
|
|
6
19
|
constructor() {
|
|
7
20
|
super(...arguments);
|
|
8
|
-
this.currentMove = new
|
|
21
|
+
this.currentMove = new MotionSystemCurrentMove();
|
|
9
22
|
this.currentObject = null;
|
|
10
23
|
this.currentTool = -1;
|
|
11
24
|
this.nextTool = -1;
|
|
@@ -23,6 +23,11 @@ export declare enum AnalogSensorType {
|
|
|
23
23
|
mcuTemp = "mcutemp",
|
|
24
24
|
drivers = "drivers",
|
|
25
25
|
driversDuex = "driversduex",
|
|
26
|
+
boardTemp = "boardtemp",
|
|
27
|
+
current = "current",
|
|
28
|
+
thermopileTPiSObject = "thermopile_tpis.object",
|
|
29
|
+
thermopileTPiSAmbient = "thermopile_tpis.ambient",
|
|
30
|
+
thermopileTPiSEnvironment = "thermopile_tpis.environment",
|
|
26
31
|
remote = "remote",
|
|
27
32
|
unknown = "unknown"
|
|
28
33
|
}
|
|
@@ -24,6 +24,11 @@ export var AnalogSensorType;
|
|
|
24
24
|
AnalogSensorType["mcuTemp"] = "mcutemp";
|
|
25
25
|
AnalogSensorType["drivers"] = "drivers";
|
|
26
26
|
AnalogSensorType["driversDuex"] = "driversduex";
|
|
27
|
+
AnalogSensorType["boardTemp"] = "boardtemp";
|
|
28
|
+
AnalogSensorType["current"] = "current";
|
|
29
|
+
AnalogSensorType["thermopileTPiSObject"] = "thermopile_tpis.object";
|
|
30
|
+
AnalogSensorType["thermopileTPiSAmbient"] = "thermopile_tpis.ambient";
|
|
31
|
+
AnalogSensorType["thermopileTPiSEnvironment"] = "thermopile_tpis.environment";
|
|
27
32
|
AnalogSensorType["remote"] = "remote";
|
|
28
33
|
AnalogSensorType["unknown"] = "unknown";
|
|
29
34
|
})(AnalogSensorType || (AnalogSensorType = {}));
|
package/dist/sensors/Probe.d.ts
CHANGED
package/dist/sensors/Probe.js
CHANGED
|
@@ -4,7 +4,7 @@ export var ProbeType;
|
|
|
4
4
|
ProbeType[ProbeType["none"] = 0] = "none";
|
|
5
5
|
ProbeType[ProbeType["analog"] = 1] = "analog";
|
|
6
6
|
ProbeType[ProbeType["dumbModulated"] = 2] = "dumbModulated";
|
|
7
|
-
ProbeType[ProbeType["
|
|
7
|
+
ProbeType[ProbeType["alternateAnalog_obsolete"] = 3] = "alternateAnalog_obsolete";
|
|
8
8
|
ProbeType[ProbeType["endstopSwitch_obsolete"] = 4] = "endstopSwitch_obsolete";
|
|
9
9
|
ProbeType[ProbeType["digital"] = 5] = "digital";
|
|
10
10
|
ProbeType[ProbeType["e1Switch_obsolete"] = 6] = "e1Switch_obsolete";
|