The Spline Overlap modifier detects self-overlapping splines and adjusts the displacement of the intersecting segments.
Modify panel > Modifier List > Object Space Modifiers > Spline Overlap
A section of chainlink fencing created using a freehand spline with the Spline Overlap modifier applied (right).

Displays knots on the spline.
Sets the thickness of the spline when determining the offset value during the overlap calculation. In most cases, this is the same value used with the Renderable Spline modifier.
Defines the relative shape of the overlap. The higher the value, the sharper the slope.
Scales the overlap amount according to the soft selection value. If there is no soft selection, this option is ignored.
When a Freehand Spline is being modified, this option uses the normals as the 'up vector' in calculating the overlap displacement direction.
To use the Spline Overlap modifier: