-
Notifications
You must be signed in to change notification settings - Fork 39
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
Layer count not correct in dashboard but in DisplayLayerProgress #81
Comments
Hi! The value above the cursor in the screenshot is not coming from displaylayerprogress (and I doubt the model is 1m tall but I might wrong) please enable the displaylayerprogress toolbar and compare with the dashboard values. Are they the same? |
Here is a full screenshot with the output from DisplayLayer Progress in the statusbar on top left side. So we have 3 places with layer 98 one of them is octoprint itself -> Dash does some wrong math i belive? |
Very interesting. So the model is really 1000mm tall? I'm not doing any calculations at all but simply display what displaylayerprogress reports via the event bus. Can you please upload the Gcode so i can debug this? |
Sure thing there you go. |
This may be the same issue as #76 |
Im not sure, the layer count in #76 is correct. Here it is not. |
Thanks. I will take a look tomorrow. 100mm seems more likelly compared to the 1000mm in the screenshot. What version of displaylayerprogress are you using? |
The latest one. |
Hi @ManuGithubSteam @StefanCohen Reason: The default height-evaluation is done by looking for the max z-value. In your case this line is used:
Please change the Height-Evaluation method to |
@ManuGithubSteam I can't reproduce your layer problem with your gcode file:
|
@OllisGit There may be a problem in the latest version of DisplayLayerProgress. I don't do any re-calculations of what DisplayLayerProgress propagates thru the event handler so what we see in the dashboard is what is sent by DisplayLayerProgress. I think 1.14.0 sends the previous layer height instead of the current Layer height. You can see that marked in red in the screenshot above. I added a log message in the Dashboard event handler like below and it consistently gets the previous layer height:
This is not specific to this gcode file. I see it on others too. |
Hi @StefanCohen ,
Reason: Should solve this issue ;-) |
Thanks! I noticed that exception this morning and had already fixed it but that undocumented event solved it. ;) A fix is on the way. I'm just a bit puzzled that it worked at all up until 0.14 since I never had heightChanged in the dashboard. But oh well. It should work from the next release anyway. On a side-note: That gcode file is pretty strange. Did you see how it changes layer height during the layer? Almost as if it is doing mesh levelling but from the slicer instead of in firmware. @ManuGithubSteam Do you know the reason for that? |
…er count not correct in dashboard but in DisplayLayerProgress
The issue with DisplayLayerProgress showing 1000mm is that it looks at non printing Z moves (like the z-axis move up once the print is done for example). To have it show the correct height, change the option for DisplayLayerProgress that says something like "use only extruding moves for layer height calculation" (sorry don't have access to octoprint right now, so can't check the exact name. |
Fixed in v1.10.2 |
Here you go. Code and screenshot. 5 layers x 0.2 = 1mm not 5.60 |
@ManuGithubSteam I can't reproduce it. This is how it looks on my system at layer 5: My DisplayLayerProgress settings: Layer Indicator:
Total Height Method: Max Z-Value with Extrusion on Z-Layer Layer Offset: 1 (since I use Cura most of the time) |
Hmm is the layer graph in your screenshot the new normal ? If so, i think there went something wrong with the update as octoprint did not restart as it should be and i had to to it by hand... |
That layer graph was added in 1.10.0. It is enabled in the settings using the "Show Layer Duration Graph" checkbox. Can you see that setting? |
Yes i see it |
@ManuGithubSteam Bye the way, I think you are not using the "DisplayLayerProgress-Plugin" to visualize the layer and height in the left side.
This has maybe nothing to do with the current problem, but as an advice you should only use "DisplayLayerProgress", because the Dashboard-Plugin only reads this data. Or is there a reason why do don't use the output of DisplayLayerProgress in the sidebar? |
Hello |
I know this is a closed issue, but I was curious if there was a setting to get the layer duration graph to ignore the first layer as shown in your screenshot? My first layer is very lengthy due to slow movements, which kills the scaling on the graph and makes it pretty useless. I would be great to be able to have an option to ignore the 1st layer, which might already be the case? |
Describe the bug
The layer count on the octoprint and in Display Layer Progress semms to nearly correct. see the Left side of the picture.
However in the dashboard some other values are shown....
To Reproduce
Print the gcode.
Expected behavior
Number schould be the same as Display Layer Progress.
Screenshots
See the numbers in the screenshot:
Desktop (please complete the following information):
Gcode:
OnePiece_Spool_Support_3h7m_Real PETG - 0.25mm QUALITY - MK3S - Volcano 0.4.zip
The text was updated successfully, but these errors were encountered: