Skip to content

Create thermal_optimizations.cfg#389

Open
SPUNGUH wants to merge 1 commit intopaxx12:developfrom
SPUNGUH:SPUNGUH-patch-1
Open

Create thermal_optimizations.cfg#389
SPUNGUH wants to merge 1 commit intopaxx12:developfrom
SPUNGUH:SPUNGUH-patch-1

Conversation

@SPUNGUH
Copy link
Copy Markdown

@SPUNGUH SPUNGUH commented Apr 11, 2026

Adds TMC2240 driver_slope_control without edits to tmc2240.py. Sets value to 2.

Adds TMC2240 driver_slope_control without edits to tmc2240.py. Sets value to 2.
@SPUNGUH
Copy link
Copy Markdown
Author

SPUNGUH commented Apr 11, 2026

TMC2240 has adjustable driver_slope_control that needs additional enabling in tmc2240.py. This delayed gcode enables the feature and sets it to "2", which is a good middle ground of the 0-3 settings available. This is already apart of mainline klipper and Kalico, and generally you can adjust these values in printer.cfg, when tmc2240.py has the correct edits.

The delayed gcode enables the feature without any edits to tmc2240.py, of which I was unable to have changes stay after editing and reboots.

This change nets a 15-20C drop in X/Y stepper motors via my testing. I have two other printers (QIDI Q2 and QIDI P4) with the driver_slope_control: 2 sets, and no issues, and consistant mid 60C driver temps

I have never done a PR before, but basically for my own implementation I just input the GCODE directly into my printer.cfg, but I assume you can fix this PR after trying it out, and incorperating in the correct place, and making the feature enable/disableble

For reference
Klipper3d/klipper#6771

Klipper3d/klipper@cf3b047#diff-0bd67ba2e312c77323bc71f593ec179b050108ad1387734f1332fe73004d31bd

KalicoCrew/kalico@ef566f5

@github-actions
Copy link
Copy Markdown

✅ Build Artifacts

Version: 1.2.0-paxx12-test-pr-389
Build: 2348e46 (merge of 88f7fe7 into develop)
Duration: 6m 57s

Artifact Size
extended-devel-build 225.48 MB
extended-build 225.08 MB

View workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant