# Autoleveling and CNC journey

**URL:** <https://forum.snapmaker.com/t/autoleveling-and-cnc-journey/5927>\
**Category:** Snapmaker 2.0 (3-in-1)\
**Created:** [April 10, 2020, 12:28am UTC](https://forum.snapmaker.com/t/autoleveling-and-cnc-journey/5927 "2020-04-10T00:28:05Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Marco](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Marco](https://forum.snapmaker.com/u/Marco)\
**Post date:** [June 29, 2021, 11:08am UTC](https://forum.snapmaker.com/t/autoleveling-and-cnc-journey/5927/26 "2021-06-29T11:08:01Z")

</div>

Hello everyone,

(First, sorry in advance if I miss some rules related to posting here, it’s my first post.)

Last week after reading this post I decide to work on this leveling problem. In the past I try to solve it with a waste board and a spring loaded bit but it didn’t solve it completely.

Nevetheless, I wrote a code that still need to be fully tested (and maybe implemented on an Electron App), but here are the first results. (Unfortunatly as new user I can’t post multiples embedded pictures)

After running the code with a simulated tilted bed, the Gcode is corrected:

 ![Capture3](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/7/7284c03677458503d6e773fdbdbc1fbe86a80807.png)

In the same time I developped a probe routine based on Mika approach and using serial communication between the probe//computer/SM2.

Thx for reading, have a nice day

---

_[View the full topic](https://forum.snapmaker.com/t/autoleveling-and-cnc-journey/5927)._
