RepRap Firmware Retraction

RepRap Firmware Retraction

Description

I wanted a way to fine-tune certain settings, retraction is one of them. Before I would use S3D's multiple processes to change the retraction per a given height. I needed a way to do that with PrusaSlicer. I learned that RRF has firmware retraction. For me, that is a game-changer as I can now change retraction settings on the fly. I needed a way to make those changes automatically. This is where PrusaSlicer's **Before layer change G-Code** comes to play. A few things need to be in place before we get to the code: * The extruder(s) M92 value must be calibrated as best as possible * The slicer's flow rate also must be tuned. **This is important if you have to change the M92** * Firmware retraction needs to be enabled. At the end of your "config.g" add: **M207 S0.80 F2100 T1500**. **M207** is the G-Code for firmware retraction. **Sx.xx** sets the amount of filament to retract (For a V6/Slice Mosquito/Magnum 0.80mm is a good starting point). **Fxxx** set the speed of the retract (2100 mm/min or 35mm/s). **Txxx** sets the un-retract speed (1500 mm/min or 25 mm/sec). This has worked for my RailCore with a Magnum as well as my MK3s with a V6. **Now for the code:** > {if layer_num== 1}M207 S0.0 > {elsif layer_num== 50}M207 S0.1 > {elsif layer_num== 75}M207 S0.2 > {elsif layer_num== 100}M207 S0.3 > {elsif layer_num== 125}M207 S0.4 > {elsif layer_num== 150}M207 S0.5 > {elsif layer_num== 175}M207 S0.6 > {elsif layer_num== 200}M207 S0.7 > {elsif layer_num== 225}M207 S0.8 > {elsif layer_num== 250}M207 S0.9 > {endif} So for every 25 layers from 50 and above the retract distance will increase by 0.10. (The 1st 25 layers are the base and 1st section of the print). So from the 1st section, you will have a range from 0 to 0.90. If you have a Bowden-based printer. You will need higher values to test.

Statistics

Likes

1

Downloads

0