Exactly. There are smooth-to-thread adapters readily available in Schedule 40 at Home Depot. I've used both male and female adapters plenty of times. Usually it's best to glue on the smooth end first.