I needed a fairly sturdy bracket to hold my NEMA17 stepper motor in place, facing upwards but attached to the same surface its standing on. Since the mounting holes are then on top, some sort of adapter bracket was needed to connect it to the mounting surface.
The Z-shaped bracket allows the stepper to rest firmly on the surface its being mounted to, so the bracket itself does not actually have to support the weight of the motor, it just has to hold it in place and prevent it moving around.
The mounting screws should counter sink, although the 4mm space for the screw head may not be big enough for some screws. Also the screw length needs to be perfect to make a nice fit - I just ground mine down slightly on a bench grinder.
I printed this upside down as I think this requires the least amount of support to be printed. I prefer printing holes on the horizontal plane as they tend to be more circular this way. The print on fairly high quality took about 6 hours on a Snapmaker.