# What are the rules of thumb with various calibration and 3D print settings in Luban?

**URL:** <https://forum.snapmaker.com/t/what-are-the-rules-of-thumb-with-various-calibration-and-3d-print-settings-in-luban/13709>\
**Category:** Snapmaker2.0 Troubleshooting guides\
**Created:** [December 31, 2020, 8:33pm UTC](https://forum.snapmaker.com/t/what-are-the-rules-of-thumb-with-various-calibration-and-3d-print-settings-in-luban/13709 "2020-12-31T20:33:38Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![MooseJuice](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/moosejuice/32/10684_2.png) [@MooseJuice](https://forum.snapmaker.com/u/MooseJuice)\
**Post date:** [January 1, 2021, 4:38pm UTC](https://forum.snapmaker.com/t/what-are-the-rules-of-thumb-with-various-calibration-and-3d-print-settings-in-luban/13709/10 "2021-01-01T16:38:45Z")

</div>

I have generated a pair of macros for an 11 x 11 calibration routine ~~with the heated bed on.~~

You can try this if you like, i cant say with certainty it is ideal at this time there is speculation about the heated bed affecting the sensors but i feel like it would be relatively consistant

First preheat your bed to the temp you want to run at. ~~i need to edit the macro to add a wait for temperature. i have to test a little bit to make sure i put it in the right position but if you preheat before hand this will work for you~~

 

Execute Macro 1 (Begin heated 11 x 11 calibration) -

```
G1029P11 ; Define 11x11 mesh size
G1029A ; Run auto calibration
M140 S60 ;Bed Temperature (adjust as desired)

```

Then, use jogging from luban to set the z-offset, the display wont prompt you at all, do not move the X or Y at all. You will be able to have finer control via luban than the touch screen for this.

then execute Macro 2 (Finish heated 11 x 11 calibration):

```
G1029S ; Offset matrix by current Z position
G1029D0 ; Compute interpolations and enable bed leveling
M140 S0 ; Turn off heated bed
G28 ; Return Home

```

this will preform 121 points of measurement on your bed, ~~heated to the temp you are running at.~~

ideally we will soon be turning the heater off and on between probes to keep it at temp but disable the heat while probed, but i think it is a good start.

not that this is some magic secret i came up with, i just gathered this info from the forum, but i did this last night and like the results. adjust the value for the heated bed to whatever temp you want in the first macro.

I think for best results youd want to be connected via USB, but i dont see why you couldnt do this over wifi. via usb you can actually watch the probe results and see how different each spot it, its very fascinating!

next time i want to do the calibration im going to sort out the wait for temp and confirm everything holds and then i will present these modifications to the macros.

you could simply add the following to the beginning of the first macro

```
M140 S60 ;Bed Temperature (adjust as desired)
M190 S60 ;Wait for bed temperature (adjust as desired)

```

but i want to see if i can figure out a way to only need to enter the temperature value once instead of 3 times.

I think I can see the logic behind the heater affecting the probe, because the heater is not going to be on constantly, its going to be turning on and off to maintain a temperature within a hysteresis. the current flowing through it could affect the sensing height (probably allowing it to sense from higher up). if it was going to be strictly on or strictly off the z offset would be able to compensate universally.

~~However, its better than nothing without doing a manual calibration.~~

 

Meanwhile, brent is working on some updates to the firmware to include an ON OFF for the heated bed during a calibration which is really just freaking awesome. i love this kind of shit.

~~ya’ll hacking new features and bug fixes into the machine and my contribution is a 3 line macro on par with mIRC scripting to halfass cheat the system and a replacement side plate for the 3dp module with a hole in the side for a wire… 🙄 someday i hope to get more talent.~~

Edit: The reality is, the machine does NOT hold the temperature during this, the value from the thermistor freezes on luban to give the illustration it does.

The 11 x 11 calibration method is legit, although the z-offset adjustment is a pain, so you can do this whole thing as posted. Pre-heating your bed for about 15 minutes to the temp you want is what you really want to do more than anything.

---

_[View the full topic](https://forum.snapmaker.com/t/what-are-the-rules-of-thumb-with-various-calibration-and-3d-print-settings-in-luban/13709)._
