You need a replacement guide roller for a 20 mm wide rail. The roller looks wide enough, but its two raised flanges leave less room than the outside measurement suggests. Measure between the inside faces: an 18 mm span is 2 mm too narrow for a 20 mm rail. Center the rail and the model overlaps by 1 mm on each side.
For a design target of 0.5 mm clearance per side, the required inside span is 20 + 0.5 + 0.5 = 21 mm. There is one more consequence to check: widening this roller also increases its length along the axle.

Find the space the rail actually uses
The axle opening is easy to recognize from the end. The rail clearance is easier to understand from the side, where you can see the tread and the inside faces of both flanges.
These views show an independent FreeCAD geometry study. The gold rail is a centered, 20 mm wide dimensional reference. The three sections use the same view and scale to show what changes at its edges.
At 18 mm, both edges overlap
The baseline has only 18 mm between the flanges. Its flange-to-flange outside width is 24 mm, but that includes two 3 mm thick flanges. Those outer faces do not tell you how much room is available for the rail.
Follow the gold rail’s upper corners in the section. Each extends into a teal flange by 1 mm. Widening the space between the flanges is the relevant edit.

At 24 mm, the side gaps become 2 mm
Increasing the inside span to 24 mm clears both edges. The difference is now 4 mm across the assembly, shared as 2 mm on either side when the rail is centered.
That answers whether the reference geometry overlaps. It also reveals why “make it wider” needs a more precise target: the resulting side gaps may be larger than the ones you intended.

Work back from the gap you want
Choose 0.5 mm per side as the target for this model. Add both gaps to the 20 mm rail width to get a 21 mm inside span. The final section shows the two narrow spaces beside the rail.

| Inside span | Reference rail width | Centered result per side |
|---|---|---|
| 18 mm | 20 mm | 1 mm interference |
| 24 mm | 20 mm | 2 mm clearance |
| 21 mm | 20 mm | 0.5 mm clearance |
The calculation is side clearance = (inside span − rail width) ÷ 2 for a centered rail. A negative result indicates interference. The rail width and the chosen gap should be separate inputs to your design.
Check the axle space as well
The inside span is not the only dimension affected here. Including the projecting hub, the overall axial length changes from 30 mm in the baseline to 36 mm in the wider trial, then 33 mm in the final model.
Before choosing a replacement, measure the space between its supports as well as the rail. A useful editing brief names both requirements: set the space between the flanges for the rail and side clearance you want, then check the resulting overall length against the available axle space.
That turns “the roller looks wide enough” into two dimensions you can inspect before committing to the design.