Re: Replacing Pinion Gear on Chinese CNC - Please Help!
It looks like that gear is part of the shaft or in other words, the gear and shaft are all one piece.
It looks like the bearing is pressed into the housing from the back, so to remove the cover, tap on the end of the gear and drive it towards the back. Once you get the ''box'' removed, then you should be able to get to the set screws for the belt drive pulley.
I would try to find a proper gear and just fit it to a new shaft. Maybe you can match the size and tooth form here https://www.ametric.com/s-461-gearsspur.aspx
EDIT: After looking at the pictures again, it could be that the bearing goes out the front. In that case the back end of the shaft would be pressed into a bearing in the cover. Might take a little pry bar action to separate the halves.
Jim Dawson
Sandy, Oregon, USA