Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assisted tramming can handle up to 9 points. #25293

Merged

Conversation

lukasradek
Copy link
Contributor

Description

I have implemented the support for assisted tramming of up to 9 points (previously 6).

In code:

  • I have added helpful comment to Configuration_adv.h
  • Within tramming.hpp I have modified the checks whether there is equal number of points and names and validation of positions agains probe safe zone, declaration of point_name constants and point count constant.
  • Within tramming.cpp I have extended the #ifdef hell in the constants' assignment and creation of points array.

Requirements

No.

Benefits

Assisted tramming was able to handle between 3 to 6 points. That is insufficient because if you have a bed that is too big for 4 adjustment screws (I think tramming over screws is the most effective), the next logical step is to have 9 adjustment screws (grid 3x3). Therefore 9 tramming points.

Configurations

Not needed.

Feedback

My preprocessor skills are a bit rusty. Initially I wanted to allow for arbitrary number of tramming points using some sort of loop or recurvively expanding macros but as far as I know that is not possible. Is that true?

Copy link
Contributor Author

@lukasradek lukasradek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Thanks.

thinkyhead added a commit to MarlinFirmware/Configurations that referenced this pull request Feb 21, 2023
@thinkyhead thinkyhead merged commit 0f74546 into MarlinFirmware:bugfix-2.1.x Feb 21, 2023
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request Feb 22, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
LMBernardo pushed a commit to LMBernardo/Marlin that referenced this pull request Mar 19, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
@lukasradek lukasradek deleted the Assisted-Tramming-9-points branch March 21, 2023 20:22
@lukasradek lukasradek restored the Assisted-Tramming-9-points branch March 21, 2023 20:22
@lukasradek lukasradek deleted the Assisted-Tramming-9-points branch March 21, 2023 20:38
@lukasradek lukasradek restored the Assisted-Tramming-9-points branch March 21, 2023 21:05
@lukasradek lukasradek deleted the Assisted-Tramming-9-points branch March 21, 2023 21:17
@lukasradek lukasradek restored the Assisted-Tramming-9-points branch March 21, 2023 21:18
thinkyhead added a commit that referenced this pull request Apr 7, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request Apr 8, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit that referenced this pull request Apr 10, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request May 16, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 17, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
tspiva pushed a commit to tspiva/Marlin that referenced this pull request May 25, 2023
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants