0
0
mirror of https://github.com/Doodle3D/Doodle3D-Slicer.git synced 2025-04-12 22:50:38 +02:00

add comment

This commit is contained in:
casperlamboo 2018-01-25 12:24:01 +01:00
parent e289fd848a
commit fb06bfb135

@ -191,6 +191,7 @@ export async function slice(target, name, mesh, settings, updateProgress) {
const file = new File([gcode], 'doodle.gcode', { type: 'plain/text' });
body.append('file', file);
// because fetch has no way of retrieving progress we fake progress
let loaded = 0;
const interval = setInterval(() => {
loaded += 15 * 1024;