@duet3d/objectmodel 3.5.0-beta.34 → 3.5.0-beta.36

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.
@@ -5,7 +5,6 @@ export declare class Directories extends ModelObject {
5
5
  gCodes: string;
6
6
  macros: string;
7
7
  menu: string;
8
- scans: string;
9
8
  system: string;
10
9
  web: string;
11
10
  }
@@ -10,7 +10,6 @@ class Directories extends ModelObject_1.default {
10
10
  this.gCodes = "0:/gcodes";
11
11
  this.macros = "0:/macros";
12
12
  this.menu = "0:/menu";
13
- this.scans = "0:/scans";
14
13
  this.system = "0:/sys";
15
14
  this.web = "0:/www";
16
15
  }
@@ -41,6 +41,7 @@ export declare class Move extends ModelObject {
41
41
  noMovesBeforeHoming: boolean;
42
42
  printingAcceleration: number;
43
43
  readonly queue: ModelCollection<MoveQueueItem>;
44
+ reducedAcceleration: number;
44
45
  readonly rotation: MoveRotation;
45
46
  readonly shaping: InputShaping;
46
47
  speedFactor: number;
@@ -76,6 +76,7 @@ class Move extends ModelObject_1.default {
76
76
  this.noMovesBeforeHoming = true;
77
77
  this.printingAcceleration = 10000;
78
78
  this.queue = new ModelCollection_1.default(MoveQueueItem);
79
+ this.reducedAcceleration = 10000;
79
80
  this.rotation = new MoveRotation();
80
81
  this.shaping = new InputShaping_1.default();
81
82
  this.speedFactor = 1;
@@ -11,7 +11,8 @@ export declare enum KinematicsName {
11
11
  delta = "delta",
12
12
  polar = "Polar",
13
13
  rotaryDelta = "Rotary delta",
14
- scara = "Scara"
14
+ scara = "Scara",
15
+ unknown = "unknown"
15
16
  }
16
17
  export declare class MoveSegmentation extends ModelObject {
17
18
  segmentsPerSec: number;
@@ -16,6 +16,7 @@ var KinematicsName;
16
16
  KinematicsName["polar"] = "Polar";
17
17
  KinematicsName["rotaryDelta"] = "Rotary delta";
18
18
  KinematicsName["scara"] = "Scara";
19
+ KinematicsName["unknown"] = "unknown";
19
20
  })(KinematicsName = exports.KinematicsName || (exports.KinematicsName = {}));
20
21
  class MoveSegmentation extends ModelObject_1.default {
21
22
  constructor() {
@@ -59,6 +59,7 @@ function getKinematics(name) {
59
59
  return new PolarKinematics_1.default();
60
60
  default:
61
61
  const _exhaustiveCheck = name;
62
+ case KinematicsBase_1.KinematicsName.unknown:
62
63
  console.warn(`Kinematics '${name}' is not supported, falling back to cartesian`);
63
64
  return new CoreKinematics_1.default(name);
64
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.5.0-beta.34",
3
+ "version": "3.5.0-beta.36",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",