Transmission With Teeth-Uncompleted Gears

The orange gear is driving. The green rack reciprocates with dwell.
The forward and backward displacement may be different depending on the tooth numbers of the orange gear and stop positions of the rack and the blue gear.