My advice, and your cheapest option.
Buy two spacebars, cut and glue them back together, I've seen people do this with cases and other parts, it can be done quite well actually. The best part is cost, you can get a pair of spacebars for $10 or less. My advice, try this first as every other option is going to be way more expensive. I would use epoxy and I would also fill in some of it, not just for strength but also sound.
Casting is somewhat a decent option
Couple downsides, you can't cast ABS or PBT, this means it will be resin, most likely polyester, but you could also use 3d printing resin (beware costs and fumes on all resin). The good side is you can cast in the texture. A major problem is cost, especially if you have none of the tools. Even if you don't, the amount of silicone and resins needed adds up insanely fast, casting is not cheap.
As mentioned 3d printing has tolerance issues (when you get this precise), but also strength and warping issues. Spacebars are notoriously difficult to make even with injection mold because of how plastic cools, ABS shrinks up to 8% as it cools and it and PBT both can warp if they cool unevenly, and since you have reinforcement ribs it gets really tricky. Milling could be used, but that will be extremely expensive, and it can still warp (you won't easily do this on a a cnc router). You could do resin 3d printing but while the warping would probably be less, it will still not be as strong and you once again have those tolerance issues, you also won't have ABS or PBT, but they do have some resins that have different properties.