Scissor lift z-axis firmware change January 11, 2020 02:06PM |
Registered: 4 years ago Posts: 1 |
Re: Scissor lift z-axis firmware change January 11, 2020 03:42PM |
Registered: 6 years ago Posts: 1,007 |
Quote
suxfevi
Hello everyone, I am currently designing a "pocket 3D printer" that I can put in a briefcase and carry with me.
I am working on the design and I will try my best to fix the "flex" issue that this printer might have.
However the only thing that I can't figure out is the firmware change.
As the movement won't be linear, the z-axis steps/mm will have to change as the z position changes.
Currently my firmware has this, where the 3rd value is the z-axis steps/mm: #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 401.2 }
The "400" needs to be changed into a function which has the current Z position as the variable.
So here is the question: how do I call the Z variable in Marlin?
Thanks in advance for the help!