End of my curtains kept falling of the rail, so I made this simple part to stop that.
The inner diameter of the part (28 mm) is slightly smaller than the curtain rail, so it sits tight under slight tension.
Solidworks and step files have been so you can remix to your content.