hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
421 stars 150 forks source link

Add runnnig sum of filament used since layer 0 to the current layer #76

Closed DeanStuff closed 5 years ago

DeanStuff commented 5 years ago

I would like to calculate the amount of filament used up to a certain layer. That way I know how much filament to splice together (between layers) to make a multi-color print.

The ui.js file is where I made a modification to show the sum of the filament used including the layer being viewed.