[FR] Showing the "real" remaining time #355

Closed
opened 2022-08-10 02:52:18 -05:00 by PapeCoding · 5 comments
PapeCoding commented 2022-08-10 02:52:18 -05:00 (Migrated from github.com)

Description

Would it be possible to parse the line ;TIME:<print time in seconds> from a gcode file that was exported with Cura and display the remaining time (from first command in print, so line ;LAYER:0) somewhere in the UI?

Feature Workflow

  1. Slice model with Cura and put gcode on SD-Card
  2. Printer executes gcode normally and parses the ;TIME:<print time in seconds> line
  3. Once the ;LAYER:0 is reached, the printer starts a timer and counts down the time and displays it in the UI

Additional Information

I guess this will be hard, as the UI is not customizable, if I remember correctly, but would be immensely helpful.
The estimation that Cura makes is quite accurate for me (ignoring heat-up times) and would be super helpful to see instead of e.g. the progress in % through the file. Maybe other slicers output similar lines or you could just make it a feature when Cura is used?

Additionally, it would be possible to create custom lines that can be parsed in the start and end gcode, by using the replacement patterns that slicers support (see here e.g. for Cura).

### Description Would it be possible to parse the line `;TIME:<print time in seconds>` from a gcode file that was exported with Cura and display the remaining time (from first command in print, so line `;LAYER:0`) somewhere in the UI? ### Feature Workflow 1. Slice model with Cura and put gcode on SD-Card 2. Printer executes gcode normally and parses the `;TIME:<print time in seconds>` line 3. Once the `;LAYER:0` is reached, the printer starts a timer and counts down the time and displays it in the UI #### Additional Information I guess this will be hard, as the UI is not customizable, if I remember correctly, but would be immensely helpful. The estimation that Cura makes is quite accurate for me (ignoring heat-up times) and would be super helpful to see instead of e.g. the progress in % through the file. Maybe other slicers output similar lines or you could just make it a feature when Cura is used? Additionally, it would be possible to create custom lines that can be parsed in the start and end gcode, by using the replacement patterns that slicers support (see [here](http://files.fieldofview.com/cura/Replacement_Patterns.html) e.g. for Cura).
github-actions[bot] commented 2022-09-10 21:04:35 -05:00 (Migrated from github.com)

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.
PapeCoding commented 2022-09-12 16:47:46 -05:00 (Migrated from github.com)

Still relevant. Please do not close.

Still relevant. Please do not close.
knutwurst commented 2022-09-15 01:06:08 -05:00 (Migrated from github.com)

Hi @PapeCoding ,
I didn't have the opportunity to further develop the firmware for some time. I'm looking into this, but to be honest this is a relatively low priority as there is still one critical bug and one feature that needs to be fixed.

But I'll remember that and put it in my backlog, ok?

You can either close this ticket or leave it open. But I wrote it down.

best regards.,
Olli

Hi @PapeCoding , I didn't have the opportunity to further develop the firmware for some time. I'm looking into this, but to be honest this is a relatively low priority as there is still one critical bug and one feature that needs to be fixed. But I'll remember that and put it in my backlog, ok? You can either close this ticket or leave it open. But I wrote it down. best regards., Olli
github-actions[bot] commented 2022-10-15 21:05:34 -05:00 (Migrated from github.com)

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.
github-actions[bot] commented 2022-12-21 08:03:31 -06:00 (Migrated from github.com)

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wp/Marlin-2-0-x-Anycubic-i3-MEGA-S#355
No description provided.