Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After SET_PRINT_STATS_INFO modification there are no layer infos (actual layer/total layers) and no slicer time on printer display and in Orca Slicer #38

Open
GitHag42 opened this issue Feb 12, 2025 · 2 comments

Comments

@GitHag42
Copy link

I updated to FW 1.6.0 and did some changes to the configuration as suggested here in the wiki.
With the new code for SET_PRINT_STATS_INFO from here I have no actual layer and no slicer time shown on the printer display and in Orca Slicer (Device tab) while printing. There are just dahes (--).

The code added at the top in gcode-macro.cfg is (as currently shown in the wiki article):

`
[gcode_macro SET_PRINT_STATS_INFO]
rename_existing: SET_PRINT_STATS_INFO_BASE
gcode:

{% set curlayer =  params.CURRENT_LAYER|default(1)|int %}
{% if (printer.toolhead.position.z) >= 268 %}
    # Set chamber target to 10C, which still keeps the chamber heater fan on
    # This allows the print bed to warm the chamber more effectively even
    # though the heater coils are effectively disabled
    M141 S10
{% endif %}
SET_PRINT_STATS_INFO_BASE CURRENT_LAYER={curlayer}

`
(I don't know how to put the hole macro in the code view here, so I added a new line after "gcode:" which is not present in my gcode-macro.cfg)

When I comment this code and restart the printer and start a new print the info is shown again.

Of course I followed the important hint for FW 1.6.0 and set target_min_temp: 10 #<--- Ensure that this field is set to 10C (default is 45C) in the [heater_generic chamber] config section.

Is the position where the code is added in gcode-macro.cfg important or am I missing something else here?

Thanks for any hints :-)

@Ken6432
Copy link

Ken6432 commented Feb 12, 2025

For what it's worth, I have not made the referenced heater change to my 1.6 config, but seemingly randomly, I don't get the remaining time displayed during printing. Sometimes it shows and sometimes it doesn't. The issue may not be related to the changes made.

@jwestenberg
Copy link

Could it be that it does not show layer information while using the "infill combination" setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants