Skip to content

v2.0.0

Compare
Choose a tag to compare
@Frix-x Frix-x released this 11 Dec 15:02
· 193 commits to main since this release
c7e39da

Breaking change

This release may introduce a small breaking change on some older Debian installs as it need 2 system packages that are not installed by default. If you get an error after the update about Numpy complaining some libopenblas missing, you can fix it by manually running:

rm -R ~/klippain_shaketune*
sudo apt update && sudo apt install libopenblas-dev libatlas-base-dev -y
wget -O - https://raw.githubusercontent.com/Frix-x/klippain-shaketune/main/install.sh | bash

What's Changed

  • Updated documentation for clarity, incorporating subtle enhancements throughout for a more intuitive user experience.
  • Transitioned to a dedicated Python Virtual Environment for K-Shake&Tune installation, ensuring isolation from system Python packages to minimize conflicts and outdated library issues. The environement should be created automatically with the install script upon update for everyone.
  • Adopted Scipy for more robust and efficient spectrogram generation, replacing the older matplotlib.mlab.specgram function. This significant upgrade also addresses the notorious bug #7, happening randomly on 32-bit systems.
  • Introduced the AXES_MAP_CALIBRATION macro, an experimental feature for automatic accelerometer orientation measurement to facilitate the correct "axes_map" configuration in your Klipper config (do not hesitate to tell me if this macro gives wrong results).
  • Upgraded the belt differential spectrogram with a new color-coded system to easily identify and diagnose belt-specific issues. The expected visual remains a white rectangle featuring a diagonal line, now represented in a mix of purple and orange to distinguish each belt impact.
  • Segregated the different macros definition in multiple files, allowing for selective inclusion based on printer type. This modular approach allow users to only load macros relevant to their setup, such as for example, omitting belt graphs macros for Cartesian printers. This is just a convenient way to include the macros but using *.cfg is still working correctly if you want all of them :)
  • A lot of code cleanup and optimization were done in order to speed up the graphs generation or consume less RAM. These changes allowed to reduce by half the belt graphs generation time on my Pi3 for example. So it should definitely help you get a better user experience, especially on lower end SBC like the BTT CB1 or PiZero2W.

Full Changelog: v1.2...v2.0.0