xyz-tools / gcode-preview

A simple GCode parser & previewer lib with 3D printing in mind. Written in Typescript.
https://gcode-preview.web.app/
MIT License
160 stars 31 forks source link

demo: layer options aren't kept when changing to a new file #172

Closed remcoder closed 2 months ago

remcoder commented 4 months ago

When changing to a new file, either via the file selector or by drag 'n dropping a file onto the canvas, these options are aren't kept:

remcoder commented 2 months ago

after thinking about this, maybe this isn't a bug. The number of layers changes for a new file So I'd be ok with keeping this behaviour and I'll close this for now.