<p>You need to enable skew correction in the printer.cfg</p>
<pre><code>[skew_correction]
</code></pre>
<p>You need to enter your skew numbers into the console and save it. This will save your skew profile to the bottom of printer.cfg.</p>
<pre><code>SET_SKEW XY=141.22,141.15,100 XZ=140.87,141.34,99.84 YZ=141.12,141.26,99.94
</code></pre>
<pre><code>SKEW_PROFILE SAVE=my_skew
</code></pre>
<p>Also, Klipper docs warns about skew correction causing problems:
<a href="https://www.klipper3d.org/Skew_Correction.html#caveats" rel="nofollow noreferrer">https://www.klipper3d.org/Skew_Correction.html#caveats</a></p>
<p>You need to add SKEW_PROFILE LOAD to your START_PRINT macro and SET_SKEW CLEAR=1 to your END_PRINT macro. You can either add this to your macros in Klipper or slicer program.</p>
<p>My skew parameters may be different from yours. I recommend you to perform your own measurements. My printer is an Ender3 S1 with linear rails.</p>
<p>START_PRINT macro. Skew profile is loaded before the print starts.</p>
<pre><code>SKEW_PROFILE LOAD=&lt;your_skew_profile_name&gt;
</code></pre>
<p><a href="https://i.sstatic.net/ovL9M.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ovL9M.png" alt="start_print macro" /></a></p>
<p>END_PRINT macro. Skew profile is disabled before the print is presented.</p>
<pre><code>SET_SKEW CLEAR=1
</code></pre>
<p><a href="https://i.sstatic.net/yqJDe.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yqJDe.png" alt="end_print macro" /></a></p>

CC BY-SA 4.0
2023-03-28T02:12:08.587Z
It would be helpful (and searchable) if the 'code' was actual text instead of screenshots. Please use the [Edit] feature to improve your answer.
agarza
CC BY-SA 4.0
2023-03-27T21:55:28.610Z
2023-03-30T00:42:51.963Z
2023-03-30T00:42:51.963Z
Steven
<p>The Klipper documentation <a href="https://www.klipper3d.org/skew_correction.html" rel="nofollow noreferrer">describes</a> how I should apply skew correction:</p>
<ol>
<li>Print the test model (I printed this <a href="https://www.thingiverse.com/thing:2972743" rel="nofollow noreferrer">100x100x100 3-dimensional model</a>)</li>
<li>Make the measurements (I have got about 0.5...0.6 mm errors at all of the axes)</li>
<li>Send skew correction G-code at the beginning of the print</li>
</ol>
<p>This does not look like the most convenient way for me. I'd like to add these values to the Klipper configuration file to make all my prints more straight. However, I did not get the idea of how to edit <code>printer.cfg</code> file properly.</p>
<p>I'm aware of the possibility of going beyond the printing zone. I suppose that for my case (only half a millimeter on a 100 mm model) can not lead to any issues with my printer mechanics.</p>
<p>In the <a href="https://www.klipper3d.org/Config_Reference.html?h=skew_correction#skew_correction" rel="nofollow noreferrer">documentation</a>, this part is not adding any details.</p>
<p>Can someone post some examples or short instructions to make this possible?</p>
<p>If you need this information: I have the original Ender 3 (3 y.o. or so) with no kinematics or electronics improvements. Only head modification: V6 with BMG direct extruder.</p>
<p><strong>UPDATE</strong></p>
<p>I tried to append the following to <code>printer.cfg</code> file:</p>
<p><a href="https://i.sstatic.net/XCvZf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XCvZf.png" alt="enter image description here" /></a></p>
<p>However after restart I see error message:</p>
<p><a href="https://i.sstatic.net/KR2fA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/KR2fA.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-09-14T19:14:07.207Z
Is it even worth to correct for 0.5 mm over 100 mm? it's half percent and it could be even caused by measurement errors.
FarO
CC BY-SA 4.0
2021-09-14T19:37:34.313Z
@FarO, I'm printing now two relatively large parts (200 mm in height) which should connect to each other. After I printed them in different orientations (I needed to orient them in this way) and the missalignment is clearly visible. So I try to fix this now.
Roman Matveev
<klipper>
Is it possible to store skew correction values in printer.cfg file in Klipper?
Roman Matveev
# Is it possible to store skew correction values in printer.cfg file in Klipper?

(Asked by: username_0 on 2021-09-14)

The Klipper documentation [describes](https://www.klipper3d.org/skew_correction.html) how I should apply skew correction:

1. Print the test model (I printed this [100x100x100 3-dimensional model](https://www.thingiverse.com/thing:2972743))
2. Make the measurements (I have got about 0.5...0.6 mm errors at all of the axes)
3. Send skew correction G-code at the beginning of the print

This does not look like the most convenient way for me. I'd like to add these values to the Klipper configuration file to make all my prints more straight. However, I did not get the idea of how to edit `printer.cfg` file properly.

I'm aware of the possibility of going beyond the printing zone. I suppose that for my case (only half a millimeter on a 100 mm model) can not lead to any issues with my printer mechanics.

In the [documentation](https://www.klipper3d.org/Config_Reference.html?h=skew_correction#skew_correction), this part is not adding any details.

Can someone post some examples or short instructions to make this possible?

If you need this information: I have the original Ender 3 (3 y.o. or so) with no kinematics or electronics improvements. Only head modification: V6 with BMG direct extruder.

**UPDATE**

I tried to append the following to `printer.cfg` file:

[![enter image description here](https://i.sstatic.net/XCvZf.png)](https://i.sstatic.net/XCvZf.png)

However after restart I see error message:

[![enter image description here](https://i.sstatic.net/KR2fA.png)](https://i.sstatic.net/KR2fA.png)

**Tags:** klipper

> **Comments:**
> **username_1**: Is it even worth to correct for 0.5 mm over 100 mm? it's half percent and it could be even caused by measurement errors.  
> **username_0**: @username_1, I'm printing now two relatively large parts (200 mm in height) which should connect to each other. After I printed them in different orientations (I needed to orient them in this way) and the missalignment is clearly visible. So I try to fix this now.  

---

## 1 answers

### Answer by username_2 on 2023-03-27. Score: 2

You need to enable skew correction in the printer.cfg

```
[skew_correction]

```

You need to enter your skew numbers into the console and save it. This will save your skew profile to the bottom of printer.cfg.

```
SET_SKEW XY=141.22,141.15,100 XZ=140.87,141.34,99.84 YZ=141.12,141.26,99.94

```

```
SKEW_PROFILE SAVE=my_skew

```

Also, Klipper docs warns about skew correction causing problems:
<https://www.klipper3d.org/Skew_Correction.html#caveats>

You need to add SKEW\_PROFILE LOAD to your START\_PRINT macro and SET\_SKEW CLEAR=1 to your END\_PRINT macro. You can either add this to your macros in Klipper or slicer program.

My skew parameters may be different from yours. I recommend you to perform your own measurements. My printer is an Ender3 S1 with linear rails.

START\_PRINT macro. Skew profile is loaded before the print starts.

```
SKEW_PROFILE LOAD=<your_skew_profile_name>

```

[![start_print macro](https://i.sstatic.net/ovL9M.png)](https://i.sstatic.net/ovL9M.png)

END\_PRINT macro. Skew profile is disabled before the print is presented.

```
SET_SKEW CLEAR=1

```

[![end_print macro](https://i.sstatic.net/yqJDe.png)](https://i.sstatic.net/yqJDe.png)

> **Comments:**
> **username_3**: It would be helpful (and searchable) if the 'code' was actual text instead of screenshots. Please use the [Edit] feature to improve your answer.  

---

