This project aims to address the lack of built-in backlash compensation in 3d printers that use marlin firmware older then marlin 2.0. by providing two different methods for incorporating backlash compensation into the printing process.
- Compatibility: Primarily developed for older Marlin 3D printers lacking native support for backlash compensation.
- Current Status: This project is in the development phase, and users are advised to exercise caution as it may contain bugs. Use it at your own risk.
To use backlash compensation as a Cura post-processing script, follow these steps:
-
Download the Script:
- Download the
BacklashCompensationCura.pyscript from this repository.
- Download the
-
Copy the Script:
- Open File Explorer and navigate to
C:\Users\<user>\AppData\Roaming\cura\<version_number>\scripts\. - Copy the downloaded
BacklashCompensationCura.pyscript to this folder.
- Open File Explorer and navigate to
-
How to Use:
- Restart Cura and go to
Extensions>Post Processing>Modify G-Code. - Click on
Add a scriptand selectScript>Backlash Compensation. - Adjust the
X BacklashandY Backlashvariables in the script to your backlash values in mm. - Click on "close".
- Slice your model as usual, and the backlash compensation will be applied during post-processing.
- Restart Cura and go to
To implement backlash compensation using the Python script, follow these steps:
-
Clone the Repository:
git clone https://github.com/your_username/backlash-compensation.git cd backlash-compensation -
Usage:
- Adjust the
input_file_pathandoutput_file_pathvariables in the script according to your G-code files. - Adjust the
XbacklashandYbacklashvariables to your backlash values in mm. - Run the script:
python backlash_compensation.py
- Adjust the
-
Important Note:
- Ensure that you thoroughly test the generated G-code on a non-critical print before using it for important projects.
Contributions and feedback are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
This software is still in the development phase, and it is not guaranteed to be free of bugs. Use it at your own risk. The developers and contributors are not responsible for any potential issues that may arise from its use.