Closed voidtrance closed 4 months ago
Round beds require an odd number of probe points in order to prevent erroneously truncating the mesh.
The adaptive mesh algorithm did not consider that and as a result, it was possible to generate adaptive meshes with even number of probe points.
This change fixes this by increasing the probe point count by 1 in cases where the adaptive probe points are even.
@Arksine, would you mind reviewing this?
I have tested it on kossel linear plus and now adaptive bed mesh works without problems for me.
The change looks good to me. Thanks.
Thanks.
-Kevin
Round beds require an odd number of probe points in order to prevent erroneously truncating the mesh.
The adaptive mesh algorithm did not consider that and as a result, it was possible to generate adaptive meshes with even number of probe points.
This change fixes this by increasing the probe point count by 1 in cases where the adaptive probe points are even.