export detailed printing info by CLI
 
Notifications
Clear all

export detailed printing info by CLI  

  RSS
ng333
(@ng333)
Member
export detailed printing info by CLI

Hello, 

after slicing, some beautiful and useful information are calculated (/estimated),  i.e. time and percentage of support material, solid infill, etc... I refer to whater is in the yellow circled box of my screenshot.

I'd like to extract all those values from command lines, is it possible?

All I can find is to export the gcode by the command "--export-gcode" , but the gdoce file only contains the summarized info in the green circle of the screenshot, such as estimated printing time, and filament used. 

thank you.

(the screenshot gets cutted, i added the two zoom in part)

Posted : 06/02/2025 9:13 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

You want to extract data from the generate gcode preview legend window?
AFAIR this is not available in summarized format, you'd have to somehow process G0/G1 commands yourself with additional comments to detect if the perimeter or infill is generated.

 

What could be useful is https://help.prusa3d.com/article/list-of-placeholders_205643

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 06/02/2025 11:09 pm
ng333
(@ng333)
Member
Topic starter answered:
RE: export detailed printing info by CLI

Yep, that was my request. I would have liked to get the already calculated values, instead of recalculate them myself from the gcode. But thanks anyway, that was useful information.

Posted : 07/02/2025 9:04 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: export detailed printing info by CLI

You could ask for a feature request in PrusaSlicer github repo to have that data available as a placeholders or added to the commented section at the end of the gcode.

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 08/02/2025 3:52 pm
Share: