Prusaslicer: [Request] Custom filename - used_filament in meters

Created on 18 Jan 2019  路  6Comments  路  Source: prusa3d/PrusaSlicer

The output file name parameter "used_filament" is in millimeters with three decimal places? Better would be in meters I think. Just like on the panel.

Most helpful comment

  • {total_weight} needs rounding too.

All 6 comments

Implemented with de742bbab2a81ee182fc707754227dcbdbfa5869

Thank you. Slic3rPE 1.42.0 a5 - Now it is stored in meters but does not round off. For 3.00 on panel is stored 2.99615. Better to round them to 2 decimal places.

Now it is stored in meters but does not round off. For 3.00 on panel is stored 2.99615. Better to round them to 2 decimal places.

+1 Same problem here. In a nut shell; {used_filament} stored in (ex.) 5.66696 meters. I prefer round up to 5.67
Like the sliced info section.

  • {total_weight} needs rounding too.

+1
just encountered the option to specify the output names. but the whole decimal value isnt human readable.
please fix :-)

Easy fix: use "..._{int(total_weight)}g_..."
For more decimals use "..._{int((total_weight*10.0))/(10.0)}g_..." or replace the "10.0" with any order of magnitude you like.
And yes, the amount of brackets look redundant, but they are important.
Tested with Slicer 2.2.0

Was this page helpful?
0 / 5 - 0 ratings