The lip overhang is ~45 degrees, so should print well.
I've included the openscad file I used to add the lip, it requires the original stl file: “Wheel_R1_0.STL” from Model.
Using the openscad file it's likely you can use it to add a lip to the other versions of this wheel.
Additionally, the openscad file has variables to set the height and width of your captive m4 nut, if you want to resize it
The author remixed this model.
The existing design has a habit of that little spring flexing its way up and out of the teeth, allowing the wheel to spin freely. This model includes a lip at the top of the teeth to keep the springs in contact.
Additionally, The captive nut slot has been shrunk so that my m4 nuts will friction fit or heat set. And I've added sequential bridging to help reduce issues with printing