A broken shower pipe thread can be removed by cutting off the damaged piece and replacing it with a new one. To do this, follow these steps:
• Shut off the main water supply to your house before beginning.
• Use an adjustable wrench to loosen the nuts that connect the shower pipe to other pipes in your plumbing system.
• Cut away the broken pieces of pipe using a hacksaw or grinder.
• Attach a new fitting or threaded adapter that matches your existing plumbing configuration and tighten it securely with an adjustable wrench.
• Reconnect all other components of your plumbing system and turn on the main water supply valve again when you’re finished.