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

Layer count always "- / -" #33

Closed
TheBlueGreen opened this issue Apr 25, 2018 · 8 comments
Closed

Layer count always "- / -" #33

TheBlueGreen opened this issue Apr 25, 2018 · 8 comments
Labels
type: bug Something isn't working

Comments

@TheBlueGreen
Copy link

I've been using this plugin for a week or so and have updated several times but my LCD and top bar in the browser never show a layer count. The percentage works fine but it will display as "99% - / -" (99% is an example but the "-"s should be the layer counts). I'm using an Original Prusa MK3 on the latest OctoPrint and latest Prusa firmware. I don't believe it is a problem with my printer as the layer counts never worked in the OctoPrint UI either. Any ideas? Thanks

@OllisGit OllisGit added type: bug Something isn't working status: waitingForFeedback Wating for Customers feedback labels Apr 25, 2018
@OllisGit
Copy link
Owner

Which slicer do you use?

Please look at the startpage for the description how the plugin works.
Short: the g-code must contain layer information via predefined comment-format

BR
Olli

@richgain
Copy link

I had the same issue until I realised that my printer profile in Simplify3D had an entry in the Post Processing script box that was automatically changing the layer message.
Once I deleted that script, layer counts started displaying correctly.

@ejjenkins
Copy link

ejjenkins commented Apr 28, 2018

Mine does the same thing, I use Simplify3D as well, nothing is in the PostProcessing script box. Here is the G-Code:
BC_Wheel.zip

Thank you for the Plugin!

@OllisGit
Copy link
Owner

hmmm... I put your gcode to my octoprint and after selecting it shows "Layer: - / 49" in the statusbar.

Which plugin version do you use?
Yesterday I released Version 1.4.1. Bugfix for "layer-patterns" without a number (see #36).
Maybe you can test the new one.

If it's not working, please also provide a downloaded version of your g-code (upload to octoprint, download from octoprint). Maybe the layer-indicator is not correctly created.

BR
Olli

@ejjenkins
Copy link

ejjenkins commented Apr 28, 2018

I was using the latest version (1.4.1)...the g-code I attached above WAS downloaded from the octoprint web interface. I scrolled through the g-code and it shows the layer info in what appears to be the correct format.

Edit: One thing I do differently (maybe) I save directly to the OctoPrint upload directory using Simplify3D, I have it mapped as a shared directory on my desktop system.

So I assume your plugin parses the file when it is uploaded...since I really don't "upload" to OctoPrint it does not work?

@OllisGit
Copy link
Owner

Thats the point!! I reproduced the behavior.
The file preProcessor is not working if file was just copied to upload-folder, you need to use:
a) web-page via drag-drop
b) rest-api (e.g. like the slicer do)

Why is uploading not working for you, what is the problem?

@ejjenkins
Copy link

The uploading is not a problem, saving directly from the slicer is more convenient. At first I did not realize that your plugin parsed the file during upload. Now that I do, no problem.

Thank you.

@OllisGit OllisGit removed the status: waitingForFeedback Wating for Customers feedback label Apr 29, 2018
@OllisGit
Copy link
Owner

No Problem!
I close this issue, if you have other questions/bugs, please creae a new one!

BR
Olli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants