-
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
Octoprint counts all print layers twice (solved) #240
Comments
I have the same issue. |
@sebbl2 , @sebbl2 please add a screenshot so that I have a better understanding what you mean with "twice the number". My current assumption is that the GCODE include to many comments like this:
Please attach your uploaded gcode and also download the gcode from OP. Then I can take a look and confirm my assumption. Thx, in advance |
gCodes: 1.OP 2.PS You seem to be right with your assumption. A lot of "Layer Change" or "M117 Indicator layer" are displayed. |
I think it is because of the [BEFORE_LAYER_CHANGE] setting in DisplayLayerProgress. |
Great, that is it !! works flawlessly again. Thank you. |
We should leave this open/visible to others |
the last line Unfortunately I didn't know that the prusaslicer generate g-code with both comment-lines:
Or is that not the default behaviour of the slicer...did you add this comment lines to the gcode via custom slicer settings? |
Nope, I didn't customise anything in there |
Same for me. |
Discussion from PR #238 (comment)
Hi @scyto, I think option 2 is the correct solution. Currently the plugin scans each gcode-line agains each layer-expression. That doesn't make sense and reproduce the mentioned error. I will change it to this behaviour: scan each gcode-line agains each layer-expression, after one expression matched it will be taken for the rest of following gcode-lines. |
- B #240 the first matched layer-expression is used for the whole file
Hi, now implemented in Version 1.27.2. Please test and give me feedback Thx, in advance |
This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days. |
It seems that I am the only person with this issue.
Since the update to 1.27.1, DisplayLayerProgress shows exactly twice the number of actual layers. In Prusaslicer the layer count is still correct.
The whole thing in connection with Prusa MK3s+
Tried: Plugin uninstalled, FW MK3s reloaded
It could be related to OP 1.7, because when downgrading DLP the problem still exists.
The text was updated successfully, but these errors were encountered: