present resin consumption in milliliters (like other slicers)

This commit is contained in:
Stewart Allen 2022-01-31 17:01:49 -05:00
commit 38099de82b
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@
print_hrs = print_hrs.toString().padStart(2,'0');
$('print-filename').value = filename;
$('print-volume').value = Math.round(volume);
$('print-volume').value = (volume/1000).round(2);
$('print-layers').value = layers;
$('print-time').value = `${print_hrs}:${print_min}:${print_sec}`;

View file

@ -1,8 +1,8 @@
<div class="header"><label>export</label></div>
<div id="print-info" class="f-col box">
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
<div><label>resin used ML</label><input id="print-volume" size="10" spellcheck="false" /></div>
<div><label>layers</label><input id="print-layers" size="10" spellcheck="false" /></div>
<div><label>volume</label><input id="print-volume" size="10" spellcheck="false" /></div>
<div><label>print time</label><input id="print-time" size="10" spellcheck="false" /></div>
</div>