0
0
3d-printingHow-ToBeginner · 4 min read

How to Set Retraction Settings in 3D Printing for Better Prints

To set retraction settings in 3D printing, adjust the retraction distance and retraction speed in your slicer software. These settings control how much and how fast the filament is pulled back to prevent oozing and stringing during travel moves.
📐

Syntax

Retraction settings are configured in your slicer software, usually under the filament or printer settings. The two main parameters are:

  • Retraction Distance: How far the filament is pulled back (in millimeters).
  • Retraction Speed: How fast the filament is retracted (in mm/s).

These settings tell the printer when and how to pull the filament back to stop it from leaking during non-print moves.

python
retraction_distance = 5.0  # millimeters
retraction_speed = 40.0    # mm per second
💻

Example

This example shows how to set retraction settings in a popular slicer like Cura. You enter values for Retraction Distance and Retraction Speed in the printer settings panel.

Setting a retraction distance of 6 mm and speed of 45 mm/s helps reduce stringing on PLA filament.

ini
# Example settings in Cura slicer configuration file format
[extruder]
retraction_enable = true
retraction_distance = 6.0
retraction_speed = 45.0

# These settings tell the printer to pull back 6 mm of filament at 45 mm/s during travel moves.
⚠️

Common Pitfalls

Common mistakes when setting retraction include:

  • Setting the retraction distance too high, which can cause filament jams or grinding.
  • Setting the retraction speed too fast, which can damage the filament or extruder motor.
  • Not enabling retraction at all, leading to stringing and blobs on prints.

Always test with small adjustments and observe the print results.

python
## Wrong way (too high distance and speed)
retraction_distance = 15.0  # Too far
retraction_speed = 80.0    # Too fast

## Right way (moderate values)
retraction_distance = 5.0
retraction_speed = 40.0
📊

Quick Reference

SettingRecommended RangePurpose
Retraction Distance3-7 mmPull filament back to prevent oozing
Retraction Speed25-60 mm/sSpeed of filament retraction
Retraction EnableTrueTurn on retraction feature
Retraction Extra Prime Amount0 mmExtra filament pushed after retraction (usually zero)

Key Takeaways

Set retraction distance between 3 to 7 mm to avoid stringing without causing jams.
Use a retraction speed of 25 to 60 mm/s for smooth filament pullback.
Always enable retraction in your slicer to reduce print defects.
Avoid extreme values to prevent filament grinding or clogs.
Test settings with small prints to find the best balance for your filament and printer.