@duet3d/objectmodel 3.6.0-beta.7 → 3.6.0-rc.1

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.
@@ -2,6 +2,11 @@ import { IModelObject } from "../../ModelObject";
2
2
  import KinematicsBase from "./KinematicsBase";
3
3
  export declare class PolarKinematics extends KinematicsBase {
4
4
  constructor();
5
+ radiusHomed: number;
6
+ radiusMax: number;
7
+ radiusMin: number;
8
+ ttAccMax: number;
9
+ ttSpeedMax: number;
5
10
  update(jsonElement: any): IModelObject | null;
6
11
  }
7
12
  export default PolarKinematics;
@@ -6,6 +6,11 @@ const index_1 = require("./index");
6
6
  class PolarKinematics extends KinematicsBase_1.default {
7
7
  constructor() {
8
8
  super(KinematicsBase_1.KinematicsName.polar);
9
+ this.radiusHomed = 0;
10
+ this.radiusMax = 0;
11
+ this.radiusMin = 0;
12
+ this.ttAccMax = 0;
13
+ this.ttSpeedMax = 0;
9
14
  }
10
15
  update(jsonElement) {
11
16
  if (jsonElement === null) {
@@ -1,6 +1,14 @@
1
1
  import { IModelObject } from "../../ModelObject";
2
2
  import { ZLeadscrewKinematics } from "./KinematicsBase";
3
3
  export declare class ScaraKinematics extends ZLeadscrewKinematics {
4
+ crosstalk: number[];
5
+ distalLength: number;
6
+ minRadius: number;
7
+ proximalLength: number;
8
+ psiLimits: number[];
9
+ thetaLimits: number[];
10
+ xOffset: number;
11
+ yOffset: number;
4
12
  update(jsonElement: any): IModelObject | null;
5
13
  }
6
14
  export default ScaraKinematics;
@@ -4,6 +4,17 @@ exports.ScaraKinematics = void 0;
4
4
  const KinematicsBase_1 = require("./KinematicsBase");
5
5
  const index_1 = require("./index");
6
6
  class ScaraKinematics extends KinematicsBase_1.ZLeadscrewKinematics {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.crosstalk = [0, 0, 0];
10
+ this.distalLength = 0;
11
+ this.minRadius = 0;
12
+ this.proximalLength = 0;
13
+ this.psiLimits = [0, 0];
14
+ this.thetaLimits = [0, 0];
15
+ this.xOffset = 0;
16
+ this.yOffset = 0;
17
+ }
7
18
  update(jsonElement) {
8
19
  if (jsonElement === null) {
9
20
  throw new Error("Kinematics must not be null");
@@ -16,8 +16,8 @@ export declare enum ProbeType {
16
16
  export declare class ProbeTouchMode extends ModelObject {
17
17
  active: boolean;
18
18
  sensitivity: number;
19
- speed: number;
20
19
  triggerHeight: number;
20
+ threshold: number;
21
21
  }
22
22
  export declare class Probe extends ModelObject {
23
23
  constructor();
@@ -22,8 +22,8 @@ class ProbeTouchMode extends ModelObject_1.default {
22
22
  super(...arguments);
23
23
  this.active = false;
24
24
  this.sensitivity = 0;
25
- this.speed = 0;
26
25
  this.triggerHeight = 0;
26
+ this.threshold = 0;
27
27
  }
28
28
  }
29
29
  exports.ProbeTouchMode = ProbeTouchMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.6.0-beta.7",
3
+ "version": "3.6.0-rc.1",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",