# Mesh Compensation

## My Bed Is Too Low or High

### Problem&#x20;

The nozzle is too high up from the bed. My filament has no chance of sticking to the bed.

OR

The nozzle is scraping against the bed.  Little or no filament is extruding.&#x20;

### Temporary Solution

{% hint style="info" %}
This solution only applies during a print.&#x20;
{% endhint %}

Open the "Print Status" Tab.

![](/files/-LPDN0fXf7ZgXZtfYOYz)

Look for the "Z Baby Stepping" section.

![](/files/-LPDN2oDNT9exUz7LtpI)

Use the two buttons below.&#x20;

```
+ 0.05 mm = Moving the Bed DOWN
- 0.05 mm = Moving the Bed UP
```

{% hint style="info" %}
Use the buttons LIBERALLY. 0.05 mm increments are hard to visually see.

The goal is to manually set nozzle bed height to a desired level.&#x20;
{% endhint %}

Mesh grid compensation is NOT disabled. It is shifted, holistically.&#x20;

### &#x20;Solution

Your Bed Switch's Height Offset parameter not calibrated.

OR

Skipping of bed caused the Height Offset to change.

Follow the [Setup Bed Probe](/beginners-setup-guides/get-your-bed-ready.md) guide.

If you notice any skipping of the bed since the last time mesh compensation probing (G29) was preformed, follow the[ Read The Map](/beginners-setup-guides/get-your-bed-ready.md#map-the-bed) guide.

If not, proceed with printing.

{% hint style="warning" %}
Do Not Home The Z after performing a G30. Homing Z ***OVERRIDES*** any bed level adjustments you just did with the bed probe. \
\
Homing Z serves 2 purposes:&#x20;

1\) Allow movements (No movement can occur without homing first).

2\) Used for power recovery.
{% endhint %}

## Bed Mesh Compensation Is Not Accurate

### Problem&#x20;

Mesh compensation is on and compensating, but the nozzle-bed height is still erratic.&#x20;

### Solution

Mesh compensation works within the mesh grid probe.

Check your print's location, with respect to the limits of the mesh grid.

Run:

```
M557; Mesh Grid Parameters
```

The output should provide the mesh grid limits.

Example:

```
Grid: X0.0:340.0, Y35.0:380.0, radius -1.0, X spacing 48.0, Y spacing 48.0, 64 points
```

X Minimum: 0

X Maximum: 340

Y Minimum: 50

Y Maximum: 380

## Cannot Find Heightmap.csv

### Problem&#x20;

Duet Web Console (DWC) throws an error during a print and/or during operation of the printer involving  Heightmap.csv

![](/files/-LP86xToRvJIKPMF_dUa)

### Solution

Engage your bed limit switch.

Make sure your bed limit switch is calibrated. If not, follow [Setup Bed Probe](/beginners-setup-guides/get-your-bed-ready.md#setup-bed-probe) guide.

Next, follow the [Map The Bed](/beginners-setup-guides/get-your-bed-ready.md#map-the-bed) guide.

## Bed Mesh Compensation Is Not Activated

### Problem&#x20;

The z motor is not actively compensation for bed level variations.

### Solution

Enter code :

```
M122
```

In the list, look for :

```
Bed compensation in use:
```

If you see:

```
Bed compensation in use: none
```

Enter:

```
G29 S1
```

If you see:

```
Bed compensation in use: mesh
```

The mesh compensation is activated. Bed compensation typically occur in fine, slow movements. The more angled your bed is, the more active the z-motor is.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://promega.printm3d.com/how-to-troubleshoot/mesh-compensation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
