This spur gear generator allows you to enter in values and generate gears designed to your needs. Some of the terminology may not be obvious, so see the below diagram to understand how you should be setting the parameters.
To remove the pinion gear, you can simply set the pinion gear height to 0 or if you want to have a raised area around the axis hole without teeth, just define it as a pinion gear with 0 teeth.