Releases: cncjs/gcode-toolpath
Releases · cncjs/gcode-toolpath
v2.1.0
Adds support for accessing position and modal state with the toolpath object (21e9795)
Methods
- setPosition({ x, y, z }) or setPosition(x, y, z)
- getPosition()
- setModal(modalState)
- getModal()
v2.0.1
Support for parsing tool number from "M6 Tx" or "Tx" commands (1ad4c91, closes #1)
v2.0.0
Breaking Changes
- Renames
modalState
to modal
- Renames
coordinate
to wcs
const toolpath = new Toolpath({
modal: {
wcs: 'G54'
},
addLine: (modal, v1, v2) => {},
addArcCurve: (modal, v1, v2, v0) => {}
});
- Use
module.exports
to export a ES6 class
import Toolpath from 'gcode-toolpath';
or
const Toolpath = require('gcode-toolpath');
- deps: gcode-interpreter@^2.0.0
v1.3.0
- Update build and test scripts (8444982)
- deps: gcode-interpreter@^1.3.0
v1.2.0
- Drop support for Node.js 0.12 and 0.10
- deps: gcode-interpreter@^1.2.0
v1.0.0
This release contains significant performance improvements for generating gcode toolpaths. The runtime speed will be at least 5x faster than earlier versions.
v0.6.2
Update package dependencies