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

Machine Definition settings don't take effect until next connection #89

Open
thebeline opened this issue Feb 24, 2021 · 3 comments
Open
Assignees

Comments

@thebeline
Copy link

See #74 where I hijacked a thread. My b.

Issue is I seem to be having some issues with Machine Definition not persisting or updating steps/mm when re-printing my test cube.

I uploaded a 20x20x20 cube in gcode, found my steps were off, so I adjusted the Machine Definition and re-printed, they were still the same off.

I said to heck with it, HALVED the Y-Axis, reprinted, still the same.

So I moved on, uploaded a new STL, went to print, and wouldn't you know it, the Y-Axis was halved...

So I deleted and re-uploaded the cube, printed, Y was halved. At this moment I am fixing the steps/mm back to the values I had calculated, and I am gong to re-print the cube. If they are still halved, I will delete and re-upload and see what happens.

BRB

@thebeline
Copy link
Author

Re-Printing the same file did not show my changes, however, rebooting the Pi (the whole system) and re-printing did.

It occurs to me now that the time my changes (the bad ones) were reflected, was when I had to restart OctoPi due to #88.

@markwal
Copy link
Owner

markwal commented Feb 24, 2021

So, if I understand correctly:

Steps:

  • Modify machine settings
  • Print

Result:
Machine settings not reflected. However:

Steps:

  • Modify machine settings
  • Restart octoprint (or perhaps, disconnect and reconnect the printer on the Connections box)
  • Print

Result:
Machine settings are reflected

If so, then I think what is happening is that machine definition settings are only picked up when the printer is connected.

@markwal markwal self-assigned this Feb 24, 2021
@thebeline
Copy link
Author

Hmmm... Sounds about right. Maybe trigger a disconnect after Machine Definition is saved? Force a reconnect? Or use the feature OctoPrint does when it says "Settings require a restart", I mean, it is fairly common, it would not ruffle my feathers at all.

@markwal markwal changed the title Something something something, steps/mm Machine Definition settings don't take effect until next connection Feb 25, 2021
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

2 participants