Skip to content

[Feature Request] print information placeholder for g-code #10918

@Mikeyzy

Description

@Mikeyzy

I'm trying to get PS to work with raise3d's printer. Their firmware uses the following g-code comments to display current layer and print time on printer's screen:
in g-code:
;LAYER:78
;PRINTING_TIME: 2392
;REMAINING_TIME: 50

end of file:
;Print Time: 2442
;Material#1 Used: 2079.2
;Material#2 Used: 0.0
;Material#1 Cost: 0.19
;Material#2 Cost: 0.00

time value is in second, material used in cm

Please make the following placeholder available in G-Code, these are available in file name but not for g-code.
print_time, normal_print_time, silent_print_time, used_filament, extruded_volume, total_cost, total_weight, total_wipe_tower_cost, total_wipe_tower_filament

In addition, can we have current_print_time, current_layer_count, remaining_layer_count variables for g-code placeholder. the time placeholder should be numeric

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions