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

Adding custom move feedrate for G26 #20729

Merged
merged 5 commits into from
Jan 23, 2021

Conversation

ScrewThisBanana
Copy link
Contributor

Requirements

G26_MESH_VALIDATION enabled in configuration, no additional requirements

Description

This commit adds an additional configuration parameter (G26_XY_FEEDRATE_MOVE) in the Configuration.h file that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

The added feature was tested on my personal printer (TwoTrees Sapphire Pro) and works like a charm. Only x/y movements without e components take the newly introduced feedrate. All other behaviours of the G26 command stay the same.

Benefits

The amount of time used for G26 is drastically reduced as the feedrate for print moves is now different from moves without E-components

Configurations

platformio.ini.txt
Configuration.h.txt

Related Issues

Closes #20615

ScrewThisBanana added 3 commits December 31, 2020 17:47
This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
This commit adds a default 'G26_XY_FEEDRATE_MOVE' value (max movement speed / 1.5) in the G26.cpp - same behaviour as the default 'G26_XY_FEEDRATE' value
@qwewer0
Copy link
Contributor

qwewer0 commented Jan 9, 2021

I think G26_XY_FEEDRATE_TRAVEL would reflect the setting more, and maybe 100 would be safer, while still acceptable as default value.
@ScrewThisBanana What do you think?

@qwewer0
Copy link
Contributor

qwewer0 commented Jan 10, 2021

Tried it out, works as expected.

@ScrewThisBanana
Copy link
Contributor Author

I think G26_XY_FEEDRATE_TRAVEL would reflect the setting more, and maybe 100 would be safer, while still acceptable as default value.
@ScrewThisBanana What do you think?

I will change that two topics tomorrow

Configuration parameter renamed for better readability and consistency

MarlinFirmware#20615
@ScrewThisBanana
Copy link
Contributor Author

ScrewThisBanana commented Jan 15, 2021

I think G26_XY_FEEDRATE_TRAVEL would reflect the setting more, and maybe 100 would be safer, while still acceptable as default value.
@ScrewThisBanana What do you think?

I will change that two topics tomorrow

"Tomorrow" is relative - fixed now ^^ See 2344ac4

Changed default value for 'G26_XY_FEEDRATE_TRAVEL' from 150 mm/s to 100 mm/s for safety purposes, comment alignment

MarlinFirmware#20615
@@ -1361,6 +1361,7 @@
#define MESH_TEST_HOTEND_TEMP 205 // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
#define MESH_TEST_BED_TEMP 60 // (°C) Default bed temperature for the G26 Mesh Validation Tool.
#define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for XY Moves for the G26 Mesh Validation Tool.
#define G26_XY_FEEDRATE_TRAVEL 100 // (mm/s) Feedrate for XY Moves without extrusion for the G26 Mesh Validation Tool
Copy link
Contributor

@qwewer0 qwewer0 Jan 15, 2021

Choose a reason for hiding this comment

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

Decimal point should be aligned for all.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

By the way, your change regarding the decimal point alignment is done in the new (needed) PR #20879 in commit 5d930a3 - I finally understood what you wanted from me ;) I hope that is ok for you?

Copy link
Contributor

Choose a reason for hiding this comment

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

All ok, thank you.

@Roxy-3D
Copy link
Member

Roxy-3D commented Jan 23, 2021

@ScrewThisBanana This is a long overdue improvement.

Thank You!

@Roxy-3D Roxy-3D merged commit 14567f3 into MarlinFirmware:bugfix-2.0.x Jan 23, 2021
@qwewer0 qwewer0 mentioned this pull request Jan 23, 2021
@Roxy-3D
Copy link
Member

Roxy-3D commented Jan 24, 2021

@ScrewThisBanana Ooooops! I shouldn't have merged this yet. We need to keep all the example Configuration.h files synchronized with the default Configuration.h file. I need to revert this.

As soon as the Example Configuration.h files have the new option in them we can continue.

UPDATE: I reverted the changes. I have very little time right now, but over the next couple of days I'll try to create a new Pull Request with your changes and the option added to all of the Configuration.h files. (And at that point it can be merged.) Or as an alternative, you can create a new Pull Request with all of the desired changes. Either path works for me.

Roxy-3D added a commit that referenced this pull request Jan 24, 2021
Roxy-3D added a commit that referenced this pull request Jan 24, 2021
@ScrewThisBanana
Copy link
Contributor Author

@Roxy-3D how should I proceed? Pull example configuration files from https://github.com/MarlinFirmware/Configurations and add the new configuration parameter in each example configuration file?

@Roxy-3D
Copy link
Member

Roxy-3D commented Jan 24, 2021

@ScrewThisBanana I apologize! I seem to be a little bit out of the loop. What I said used to be very true. All of the (many) Example Configuration.h files needed to be updated to reflect any new options added. But that is no longer true.

What you had was sufficient and I should not have reverted the merge. I don't think there is an easy way for me to recover the original Pull Request. If you can start a fresh Pull Request with the exact changes reflected up above, I will get it merged again.

@ScrewThisBanana
Copy link
Contributor Author

ScrewThisBanana commented Jan 25, 2021

@Roxy-3D A new pull request (#20879) was opened, feel free to try again ;)

TyMi pushed a commit to TyMi/Marlin that referenced this pull request Jan 25, 2021
…_bugfix

* commit '876c2586b9146dd123af4c7b21138b8239ef5d39': (116 commits)
  Clean up MMU2 code (MarlinFirmware#20794)
  Init KILL, SUICIDE, PSU earlier (MarlinFirmware#20810)
  "Move … code" followup (MarlinFirmware#20869)
  Apply SEC_TO_MS and other fixes
  Reformat abortSDPrinting
  Fix sign warning (MarlinFirmware#20872)
  Cosmetic changes (2) (MarlinFirmware#20876)
  "Move … code" followup (MarlinFirmware#20868)
  "Move … code" followup (MarlinFirmware#20874)
  Graphical TFT fixes, cleanup (MarlinFirmware#20861)
  🧻 Cosmetic changes (MarlinFirmware#20859)
  🛠Fix deps script version regex
  Fix Ender 3 V2 DWIN manual move (MarlinFirmware#20837)
  [cron] Bump distribution date (2021-01-25)
  Fix LiquidCrystal CI failures (MarlinFirmware#20873)
  Revert "Adding custom move feedrate for G26 (MarlinFirmware#20729)" (MarlinFirmware#20870)
  MeatPack serial encoding (MarlinFirmware#20802)
  [cron] Bump distribution date (2021-01-24)
  lcd_put_wchar_max for COLOR_UI (MarlinFirmware#20838)
  Adding custom move feedrate for G26 (MarlinFirmware#20729)
  ...

# Conflicts:
#	Marlin/Configuration.h
#	Marlin/Configuration_adv.h
@qwewer0
Copy link
Contributor

qwewer0 commented Jan 25, 2021

@Roxy-3D Can you remove/delete revert-20729-bugfix-2.0.x branch? I think it served it's purpose and will only cause confusion.

Roxy-3D pushed a commit that referenced this pull request Jan 26, 2021
…0879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes #20615
Jyers pushed a commit to Jyers/Marlin that referenced this pull request Feb 3, 2021
…ware#20729 (MarlinFirmware#20879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615

* Fixing missing default 'G26_XY_FEEDRATE_MOVE' value

This commit adds a default 'G26_XY_FEEDRATE_MOVE' value (max movement speed / 1.5) in the G26.cpp - same behaviour as the default 'G26_XY_FEEDRATE' value

* Adding comment describing functionality in G26.cpp

* Renaming 'G26_XY_FEEDRATE_MOVE' to 'G26_XY_FEEDRATE_TRAVEL'

Configuration parameter renamed for better readability and consistency

MarlinFirmware#20615

* Setting 'G26_XY_FEEDRATE_TRAVEL' to a safer value, aligned comments

Changed default value for 'G26_XY_FEEDRATE_TRAVEL' from 150 mm/s to 100 mm/s for safety purposes, comment alignment

MarlinFirmware#20615
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
…ware#20729 (MarlinFirmware#20879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615

* Fixing missing default 'G26_XY_FEEDRATE_MOVE' value

This commit adds a default 'G26_XY_FEEDRATE_MOVE' value (max movement speed / 1.5) in the G26.cpp - same behaviour as the default 'G26_XY_FEEDRATE' value

* Adding comment describing functionality in G26.cpp

* Renaming 'G26_XY_FEEDRATE_MOVE' to 'G26_XY_FEEDRATE_TRAVEL'

Configuration parameter renamed for better readability and consistency

MarlinFirmware#20615

* Setting 'G26_XY_FEEDRATE_TRAVEL' to a safer value, aligned comments

Changed default value for 'G26_XY_FEEDRATE_TRAVEL' from 150 mm/s to 100 mm/s for safety purposes, comment alignment

MarlinFirmware#20615
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
…ware#20729 (MarlinFirmware#20879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615

* Fixing missing default 'G26_XY_FEEDRATE_MOVE' value

This commit adds a default 'G26_XY_FEEDRATE_MOVE' value (max movement speed / 1.5) in the G26.cpp - same behaviour as the default 'G26_XY_FEEDRATE' value

* Adding comment describing functionality in G26.cpp

* Renaming 'G26_XY_FEEDRATE_MOVE' to 'G26_XY_FEEDRATE_TRAVEL'

Configuration parameter renamed for better readability and consistency

MarlinFirmware#20615

* Setting 'G26_XY_FEEDRATE_TRAVEL' to a safer value, aligned comments

Changed default value for 'G26_XY_FEEDRATE_TRAVEL' from 150 mm/s to 100 mm/s for safety purposes, comment alignment

MarlinFirmware#20615
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
…ware#20729 (MarlinFirmware#20879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Apr 29, 2021
…ware#20729 (MarlinFirmware#20879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes MarlinFirmware#20615
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes #20615

* Fixing missing default 'G26_XY_FEEDRATE_MOVE' value

This commit adds a default 'G26_XY_FEEDRATE_MOVE' value (max movement speed / 1.5) in the G26.cpp - same behaviour as the default 'G26_XY_FEEDRATE' value

* Adding comment describing functionality in G26.cpp

* Renaming 'G26_XY_FEEDRATE_MOVE' to 'G26_XY_FEEDRATE_TRAVEL'

Configuration parameter renamed for better readability and consistency

#20615

* Setting 'G26_XY_FEEDRATE_TRAVEL' to a safer value, aligned comments

Changed default value for 'G26_XY_FEEDRATE_TRAVEL' from 150 mm/s to 100 mm/s for safety purposes, comment alignment

#20615
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
…0879)

* Adding custom move feedrate for G26

This commit adds an additional configuration parameter that can be used to specify the movement speed during the G26 validation pattern command during moves without extrusion.

Closes #20615
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.

4 participants