ABS or Nylon is common for 3D-printed gears in low-torque applications. Finishing:

All modern gears use an involute tooth profile. This is a specific curve that ensures constant velocity ratio during meshing. The generator calculates the coordinates of this curve based on the base circle diameter.