Releases: xyz-tools/gcode-preview
Releases · xyz-tools/gcode-preview
v2.4.0 - Memory improvement
This release substantially improves on memory usage for subsequent renders. This is especially noticeable in the demo.
v2.3.0
v2.2.0 build volume
v2.1.1
changes:
- removed: limit parameter
- added parameter startLayer
- added parameter endLayer
- added parameter singleLayerMode
- added vue-demo (previously a separate repo)
v2.1.0
changes:
- fix an issue with incremental rendering where the top layer would sometimes not have the correct color
- allow canvas snapshots (to save the image as a file for instance)
- fixed scaling & resizing issues
- support multiple instances
- don't reset the layer limit after parsing the gcode
- highlight the top layer and the last segment
- top layer / last segment color is configurable
- clear() method added to reset parser state
- add incremental parsing
- bugfix: only create a new layer when extruding
- allow input to be either a string or an array of strings
- remove 2.5d canvas version
- demo: shows how to use incremental parsing to render a file progressively
v2.0.5
v2.0.3
v2.0.2
Version 2.0 -- WebGL support
Most importantly this version brings WebGL rendering (using three.js) with pan/zoom/rotate controls. In addition, travel moves are now renderable too.
Full changelog:
- WebGL rendering with pan/zoom/rotate controls
- toggle rendering of travel
- toggle rendering of extrusion
- added
lineWidth
option (canvas 2.5D only) - updated demo page
- fully typed