I’ve never used a 3d printer so take this with a grain of salt, but I have made a few simple parts in freecad and autocad (without any experience or formal education with them, and without a physical part as reference) and it didn’t take much time, I guess someone who knows what they’re doing having the broken part to just copy it could do it in minutes.
Take this with a pinch of salt, I’m not a programmer just a nerd that likes those kind of things. I tried them years ago first swift (I think it was in version 2) and a couple years later rust, and while both are great I found swift makes it easier to write clear code you’re gonna understand and like when you come back to it. Rust was better I think with concurrency (at the time), you’ll catch everything at compile time, but they talk about interoperability with c++, so this safety will be lost since most code interfacing with c++ will be unsafe.