-
Notifications
You must be signed in to change notification settings - Fork 24
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 information doesn't display when using slic3r gcode even with enhancement 8 settings #36
Comments
Is it possible to provide your gcode, so that I can analyse the commands? |
Sure thing. |
It was the layer information in the side bar. In your screen shot where it says I'm at work so I can't double check my settings, but once I get home I'll try it again and let you know. Thanks for taking a look at this so quickly. |
Just to let you know: Same here. Prusa MK2, Prusa slic3r 1.38.7. |
@guardiande Please provide your g-code or do the following steps:
|
Ami happens to me similar, I see layer 10 of - 0.0 I checked the files as you say and I see the information you mention |
I can't help without g-code! |
bamarillo.zip |
Thx, now I can see the problem!
There are both layer-pattern included Simplify3D AND CURA (without a number)
So, you need to check your slicer settings to provide only one correctly filled pattern and I will optimize my plugin as well. BR |
I had a chance to test the rook gcode and I still don't get the layer progress readout in octoprint. I'm not sure how to try to narrow down the issue from here. Let me know if there's anything you think I should try. I'll be printing though out the weekend so if you have any suggestions I'll definitely give them a try. |
@chris-schmitz To analyse the problem deeper, I need more information. Please do the following steps:
|
@thebarto360 Did you try the new Version 1.4.1? By the way, I don't use s3d, so it is better to provide screenshots with english-language. BR |
This is what slic3r produces:
This is configured in slic3r's printer settings under Will change that setting to include the format that your plugin needs and try again. Sorry for bothering you as I should have RTFM. But since OctoPrint already knows the current layer or at least the G-Code viewer does, wouldn't it be possible to hook onto that? |
@guardiande Well, the g-code viewer do a lot of "magic" to calculate the values.
BR |
@thebarto360 Thanks for the gcode. I improved the regular-expression, added error-handling and also added a busy-indicator, because files bigger than 10MB could take some time to evaluate the height/layer-info. The new relase 1.5.1 is out, so please so kind at test it. BR |
@OllisGit hello, thank you very much for the new update, now if you show me the total number of layers and the height of z, although as I show in the wrong photos since it should be z = 4 and not z = 10 as sample, I will have I find the reason for the error. |
Please check also the selected "Total Height"-Methode in the plugin settings! |
@OllisGit hello again, after entering settings and changing the total method, it shows me the correct height of z. You made me happy the day, thanks for your work regards |
@thebarto360 Your welcome! Yeah, now I can close this long running issue. BR |
Hi Olli, just a comment, not an issue or question. I'm running Slic3r 1.41.0-beta, and it appears that they don't like layer change commands that start with a semicolon anymore. The ;LAYER:[layer_num] just gives a blank space now. Since I see that your plugin reads that in order to add M117 INDICATOR-LayerN to the gcode, I decided to save it a step and put that in the layer change gcode myself. M117 INDICATOR-Layer[layer_num] works well now. Just an FYI so you would know, and maybe could add the info to the readme. |
@AbuMaia why |
Ah - nevermind. |
Or use this: http://projects.ttlexceeded.com/3dprinting_slic3r_gcode.html#other-custom-g-code |
Hi Sorry to did this up, but the problem is still there or reappearing in PrusaSlicer 2.1. ;BEFORE_LAYER_CHANGE in in the gcode also the the other lines mentioned in this and in #8 The plugin does not work. I see no top height and no current layers or the total layers. I tried all the pre things with cura like in #8 but it did not work so i tried only one line ;Before Layer change but that also does not work. This is in the Gcode, but it does not get read by the plugin. ;BEFORE_LAYER_CHANGE CameraLamp v7_56m_Real PETG - 0.35mm QUALITY - MK3S - Volcano 0.4.zip Please help with fixing this :-) |
@ManuGithubSteam I reseted my plugin-settings, upload your gcode and after selecting your model the layer/height informations were shown. BUT your gcode include "muliple-layer-indicators":
You should only use one! Remove Please try again. |
Hello @OllisGit It works now sort of. The layer count is not correct. I did reupload the gcode and it works but the layers are not correct. 1 [;\sLAYER:\s([0-9]+).] CURA In Prusasslicer i removed the ;LAYER: line. I prefer to stay stock and not add too much stuff to the gcode. So it has to use: count [;BEFORE_LAYER_CHANGE] Slic3r |
Hi @ManuGithubSteam , with incorrect layer count, you mean the difference between sidebar ("DisplayLayerProgress-Plugin") and Tab-Content ("Dashboard-Plugin"), right? You are already raised an issue about this topic: j7126/OctoPrint-Dashboard#81 From my point of view the issue is solved, because it is related to the dashboard plugin. PS. Why do you have two Layer-Output on the left-side? |
I cannot get my MK3s setup to show the current layer. Can someone post a screen shot of their "Custom G-Code" screen is PrusaSlicer? I have tried what is suggested here and I am still getting a "Layer: - / 62" in my files. Obviously the 62 changes, that is just what I see on my current file. |
Michael: |
@OllisGit everything works fine but the current layer number. I added ;BEFORE_LAYER_CHANGE to my "Before layer change g-code" section, but this only provided the total number. So what I get during printing is for example "-/50". Works fine for Cura prints. What am I doing wrong? |
Hi @h4nc, Please attach your gcode (as Zip) that was created by your slicer and also the g-code after uploading to OP (download from files-listing). |
Hi @michaelsheridan23 , @AbuMaia , @h4nc !!! This is a closed issue, next time please create a new issue. |
@OllisGit I don't understand or I don't know if I use it. How can I tell.
Will do if your suggestions did not work |
Hi @h4nc , |
Ok, so I will delete ;[layer_z] from my slicer settings and try again. |
@OllisGit thanks now it working. Not a big issue, because it's good enough like that for me, but slic3r files have an offset of 1 layer. So when it's on layer 1 it shows me 2. In the Setting layer offset I have the standard value "1". So that makes sense.
So this basically means that I have to decide for one to be shown correctly, right? |
Yes! |
Hi,
I installed your plugin the other day. I use slic3r so I read up on enhancement #8 to figure out how I need to adjust my gcode settings.
From reading the discussion thread it seemed like all I needed to do was add the following text to my slic3r "before layer change g-code" section:
I did that for a gcode I ran last night, but the layer information still didn't display.
I'm using the prusa flavor of slic3r so I have other information in that section of the settings and I'm wondering if it's causing an issue. Here's a screen shot of my print settings in slic3r:
Am I adding the text wrong? Thanks for the help and the cool plugin :)
I'm using:
The text was updated successfully, but these errors were encountered: