<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Scissor lift z-axis firmware change</title>
        <description> Hello everyone, I am currently designing a &quot;pocket 3D printer&quot; 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 &quot;flex&quot; issue that this printer might have.
However the only thing that I can&#039;t figure out is the firmware change.
As the movement won&#039;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 &quot;400&quot; 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!</description>
        <link>https://reprap.org/forum/read.php?147,865637,865637#msg-865637</link>
        <lastBuildDate>Mon, 11 May 2026 17:40:53 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?147,865637,865641#msg-865641</guid>
            <title>Re: Scissor lift z-axis firmware change</title>
            <link>https://reprap.org/forum/read.php?147,865637,865641#msg-865641</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>suxfevi</strong><br />
Hello everyone, I am currently designing a "pocket 3D printer" that I can put in a briefcase and carry with me.<br />
I am working on the design and I will try my best to fix the "flex" issue that this printer might have.<br />
However the only thing that I can't figure out is the firmware change.<br />
As the movement won't be linear, the z-axis steps/mm will have to change as the z position changes.<br />
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 }<br />
The "400" needs to be changed into a function which has the current Z position as the variable.<br />
So here is the question: how do I call the Z variable in Marlin?<br />
<br />
Thanks in advance for the help!</div></blockquote>
<br />
Can you write down this function(Z) ?<br />
Anyway, you can put such a function as a value in a #define]]></description>
            <dc:creator>MKSA</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sat, 11 Jan 2020 15:42:10 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,865637,865637#msg-865637</guid>
            <title>Scissor lift z-axis firmware change</title>
            <link>https://reprap.org/forum/read.php?147,865637,865637#msg-865637</link>
            <description><![CDATA[ Hello everyone, I am currently designing a "pocket 3D printer" that I can put in a briefcase and carry with me.<br />
I am working on the design and I will try my best to fix the "flex" issue that this printer might have.<br />
However the only thing that I can't figure out is the firmware change.<br />
As the movement won't be linear, the z-axis steps/mm will have to change as the z position changes.<br />
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 }<br />
The "400" needs to be changed into a function which has the current Z position as the variable.<br />
So here is the question: how do I call the Z variable in Marlin?<br />
<br />
Thanks in advance for the help!]]></description>
            <dc:creator>suxfevi</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sat, 11 Jan 2020 14:06:58 -0500</pubDate>
        </item>
    </channel>
</rss>
