The donuts appear to to be a part of the step file, and I think they should have been clipped to only a tiny section at the end of the connector pins.
It also looks as the pins have moved relative to the housing on the other side of the PCB.
Does the .STEP file look OK in KiCad’s 3D viewer and in FreeCAD?
Have you tried loading the .STEP model in FreeCAD (or some other CAD program) to look at it’s internals and save it there?
Sometimes even just opening and then saving a file saves it in a slightly different way which could fix incompatibilities.
It may also help if you post the .STEP file here. That makes it easier for others to have a look at it. (I do not know about .STEP files myself).
I’m not sure why donuts are there to start with. I have opened pins step files with Creo and it seems fine. I also checked in KiCAD footprint library 3D viewer - all good.
The pins haven’t moved, they are perfectly positioned as required, just the extra features are present.
I tried exporting file number of times, even downloaded all pins 3D data again, updated all footprints etc, still was getting same issue.
In KiCAD 3D viewer it looks fine, so I assume it’s the export feature that failed.
Lastly I restarted my PC and it seems it has fixed it… Not sure what was causing it though.
To me it looks like it’s one of those overly detailed .STEP models. SoA detailed .STEP model for a footprint can be bitter then a whole KICad project.
I’m guessing that a very small section of the donut is used at the very end of the connector.
It seems to have all kinds of nice chamfers and rounded corners, but it would be more clear if you zoom in more
(Or posted the .STEP model so others can look at it).
There are similar donuts around the base of some of the pins.
Hm, it’s really weird, my colleague opened same assembly step file and got no issues. I opened it number of times and always got the donuts. I restarted my PC and opened it again - no donuts. I suspect it’s the 3D software that’s playing up on me…
Edit: in 3D viewer (KiCAD) I have never seen the ‘donut’ features.