make a gear a solid

 From:  NCDave (DAVSIM)
I am using the spurgearprofile script to make a gear. However, I want it to twist. Here's a good example:

Here's how I tried to do mine:

The only way I could make it solid it to do a boolean.

Is there a better way? I tried to extrude, but I can't seem to make it twist that way .. at least do it and stay straight.