Thermoplastic is the problem here. There are plenty of thermoset and other kinds of plastics that handle heat well and don’t soften with heat in normal ranges. 3d printed thermoplastics typically need to be liquid at <300 C so the glass transition usually is closer to 200 or even less. Definitely not suitable for the engine bay.