Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 2.37 KB

CHANGELOG.md

File metadata and controls

80 lines (64 loc) · 2.37 KB

next

  • remove preview.parser.parseGcode in favor of parseGCode
  • remove .init
  • remove WebGLPreview.
  • expose GCodeParser

2.7.0

  • (experimental) Add drag 'n drop support
  • (experimental) Stream support (for both Fetch and drag n drop )
  • Naming & cleanup:
    • preview.parser.parseGCode iso now deprecated parseGcode
    • Added .init constructor in favor of now deprecated WebGLPreview
    • The targetId param is deprecated in favor of canvas
    • the deprecated versions remain working for now
  • DEMO:
    • Store build volume dimensions in localStorage
    • Make loading of large files faster by increasing the chunk size
  • Added examples using Fetch API

2.6.1

  • Fix bug where the .lines property was overwritten instead of appended to
  • Fix bug where the thumbnails was not properly stored

2.6

  • preserve input gcode, including comments, accessible as GCodePreview.parser.lines

2.5

  • parse preview/thumbnail generated by slicer

2.4

  • improve memory usage by properly disposing of unused geometries and materials.

2.3

  • properly handle feedrate

2.2

  • add buildVolume param to render the build volume

2.1.1

  • add startLayer, endLayer and singleLayerMode

2.1.0

  • remove lineWidth for now

2.1.0-alpha.5

  • 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)

2.1.0-alpha.4

  • fixed scaling & resizing issues
  • support multiple instances

2.1.0-alpha.3

  • support lineWidth to render fat lines (known issue: travel is inorrectly rendered as extrusion lines)

alpha 2.1.0-alpha.2

  • 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

alpha 2.1.0-alpha.0

  • 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

2.0

  • updated demo page
  • toggle rendering of travel
  • toggle rendering of extrusion
  • WebGL rendering with pan/zoom/rotate controls
  • added lineWidth option (canvas 2.5 D only)
  • fully typed

1.0.0

  • ported to typescript
  • added distributable library build in dist folder
  • some minor fixes