@thi.ng/axidraw 1.1.112 → 1.1.114

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/api.d.ts CHANGED
@@ -8,7 +8,7 @@ export type StartCommand = ["start"];
8
8
  export type StopCommand = ["stop"];
9
9
  /** Return plotter to initial XY position */
10
10
  export type HomeCommand = ["home"];
11
- /** Reset curr position as home (0,0) */
11
+ /** Reset curr position as home `(0,0)` */
12
12
  export type ResetCommand = ["reset"];
13
13
  /** Turn XY motors on/off */
14
14
  export type MotorCommand = ["on" | "off"];
@@ -86,7 +86,7 @@ export interface AxiDrawOpts {
86
86
  * thi.ng/units `quantity()`), the units used to define these dimensions are
87
87
  * irrelevant (and independent of {@link AxiDrawOpts.unitsPerInch}!) and
88
88
  * will be automatically converted. Also, the resulting bounds will always
89
- * be based on [0, 0].
89
+ * be based on `[0,0]`.
90
90
  *
91
91
  * List of paper sizes/presets:
92
92
  * https://github.com/thi-ng/umbrella/blob/develop/packages/units/README.md#constants
@@ -176,7 +176,7 @@ export interface AxiDrawOpts {
176
176
  * means the available horizontal drawing space will be reduced by the same
177
177
  * amount...
178
178
  *
179
- * @defaultValue [0, 0]
179
+ * @defaultValue `[0,0]`
180
180
  */
181
181
  home: ReadonlyVec;
182
182
  /**
package/axidraw.d.ts CHANGED
@@ -47,7 +47,7 @@ export declare class AxiDraw implements IReset {
47
47
  * {@link AxiDrawOpts.control} for details).
48
48
  *
49
49
  * Reference:
50
- * - http://evil-mad.github.io/EggBot/ebb.html
50
+ * http://evil-mad.github.io/EggBot/ebb.html
51
51
  *
52
52
  * Also see {@link complete}.
53
53
  *
@@ -106,7 +106,7 @@ export declare class AxiDraw implements IReset {
106
106
  */
107
107
  moveRelative(delta: ReadonlyVec, tempo?: number): number[];
108
108
  /**
109
- * Syntax sugar for {@link AxiDraw.moveTo}([0, 0]).
109
+ * Syntax sugar for {@link AxiDraw.moveTo} position `[0,0]`.
110
110
  */
111
111
  home(): number[];
112
112
  setHome(pos: ReadonlyVec): void;
@@ -118,7 +118,7 @@ export declare class AxiDraw implements IReset {
118
118
  *
119
119
  * @remarks
120
120
  * Reference:
121
- * - https://github.com/evil-mad/AxiDraw-Processing/blob/80d81a8c897b8a1872b0555af52a8d1b5b13cec4/AxiGen1/AxiGen1.pde#L213
121
+ * https://github.com/evil-mad/AxiDraw-Processing/blob/80d81a8c897b8a1872b0555af52a8d1b5b13cec4/AxiGen1/AxiGen1.pde#L213
122
122
  *
123
123
  * @param id
124
124
  * @param x
package/axidraw.js CHANGED
@@ -130,7 +130,7 @@ class AxiDraw {
130
130
  * {@link AxiDrawOpts.control} for details).
131
131
  *
132
132
  * Reference:
133
- * - http://evil-mad.github.io/EggBot/ebb.html
133
+ * http://evil-mad.github.io/EggBot/ebb.html
134
134
  *
135
135
  * Also see {@link complete}.
136
136
  *
@@ -359,7 +359,7 @@ class AxiDraw {
359
359
  return this.sendMove(tempo);
360
360
  }
361
361
  /**
362
- * Syntax sugar for {@link AxiDraw.moveTo}([0, 0]).
362
+ * Syntax sugar for {@link AxiDraw.moveTo} position `[0,0]`.
363
363
  */
364
364
  home() {
365
365
  return this.moveTo(ZERO2);
@@ -394,7 +394,7 @@ class AxiDraw {
394
394
  *
395
395
  * @remarks
396
396
  * Reference:
397
- * - https://github.com/evil-mad/AxiDraw-Processing/blob/80d81a8c897b8a1872b0555af52a8d1b5b13cec4/AxiGen1/AxiGen1.pde#L213
397
+ * https://github.com/evil-mad/AxiDraw-Processing/blob/80d81a8c897b8a1872b0555af52a8d1b5b13cec4/AxiGen1/AxiGen1.pde#L213
398
398
  *
399
399
  * @param id
400
400
  * @param x
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/axidraw",
3
- "version": "1.1.112",
3
+ "version": "1.1.114",
4
4
  "description": "Minimal AxiDraw plotter/drawing machine controller for Node.js",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,21 +39,21 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/checks": "^3.6.22",
44
- "@thi.ng/compose": "^3.0.22",
45
- "@thi.ng/date": "^2.7.42",
46
- "@thi.ng/errors": "^2.5.25",
47
- "@thi.ng/logger": "^3.0.30",
48
- "@thi.ng/math": "^5.11.19",
49
- "@thi.ng/transducers": "^9.2.17",
50
- "@thi.ng/units": "^1.0.5",
51
- "@thi.ng/vectors": "^7.12.19",
42
+ "@thi.ng/api": "^8.11.20",
43
+ "@thi.ng/checks": "^3.6.23",
44
+ "@thi.ng/compose": "^3.0.23",
45
+ "@thi.ng/date": "^2.7.43",
46
+ "@thi.ng/errors": "^2.5.26",
47
+ "@thi.ng/logger": "^3.1.1",
48
+ "@thi.ng/math": "^5.11.20",
49
+ "@thi.ng/transducers": "^9.2.18",
50
+ "@thi.ng/units": "^1.0.6",
51
+ "@thi.ng/vectors": "^7.12.20",
52
52
  "serialport": "^13.0.0"
53
53
  },
54
54
  "devDependencies": {
55
- "esbuild": "^0.24.2",
56
- "typedoc": "^0.27.6",
55
+ "esbuild": "^0.25.0",
56
+ "typedoc": "^0.27.7",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "keywords": [
@@ -118,5 +118,5 @@
118
118
  "year": 2022,
119
119
  "screenshot": "axidraw/axiscape-1280.jpg"
120
120
  },
121
- "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
121
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
122
122
  }
package/palettes.d.ts CHANGED
@@ -64,6 +64,7 @@ export interface RadialPaletteOpts extends BasePaletteOpts {
64
64
  * of https://thi.ng/geom-axidraw.
65
65
  *
66
66
  * Also see:
67
+ *
67
68
  * - {@link LinearPaletteOpts} for options
68
69
  * - {@link radialPalette} for circular/elliptical palette layouts
69
70
  * - {@link dip} (used internally for dipping sequence)
@@ -135,6 +136,7 @@ export declare const linearPalette: (opts: LinearPaletteOpts) => (id: number) =>
135
136
  *
136
137
  * @remarks
137
138
  * Also see:
139
+ *
138
140
  * - {@link RadialPaletteOpts} for options
139
141
  * - {@link linearPalette} for more details & code example
140
142
  * - {@link dip} (used internally for dipping sequence)