Get the possible PrintTime from the SpoolWeight
I print a lot and for this I´ve developed an spool holer with an integrated weight scale. So I get an nearly exact weight of the remaining filament weight. This information is send to my Repetier Server and is shown up, BUT my exported files from Prusa Slicr have only an PrintTime in their name.
Filename: Print_1x_0.6n_0.3mm_ASA_MK3S_54m.gcode
How can I now check if it´s possible to print this with remaining 200g of filament?
Is there any conversion from filament weight to print time? << would be the best solution
Or is it possible to get the weight in automatically in the print name like the print time?
RE: Get the possible PrintTime from the SpoolWeight
There are many placeholders you can add to the file name. One of them is filament weight. (as long as your filament is properly defined with its density so it can work it out).
https://help.prusa3d.com/ja/article/list-of-placeholders_205643 for a list of placeholders. You want the filename ones. total_weight for the output in grams.
For example my Output Filename format I commonly have configured in my print profiles is
{input_filename_base}_{layer_height}mm_{filament_type[0]}_{temperature[0]}_{print_time}_{int(total_weight)+1}g.gcode which rounds up the grams to a whole number and gives me a safe indication of how much filament is needed by weight.
RE: Get the possible PrintTime from the SpoolWeight
Thanks ... I have now found the placeholders, but for that I would now have to regenerate all (>100) gcode files 🙁 from the projects.
Your filename is a good choice.