Laser & CNC
This Little Wooden Gear Mechanism Shows Exactly Why Your Parts Need Room to Move
A maker’s real rack-and-pinion project offers a free file and a useful lesson in fit, clearance and making parts move.

This Little Wooden Gear Mechanism Shows Exactly Why Your Parts Need Room to Move
Turn a little wooden key and a row of teeth starts moving. Turn it the other way and the mechanism heads back again. That’s a lot more interesting than another coaster, and the maker who built this one has shared the project for everyone to inspect.
This rack-and-pinion demonstration by SweetGrandpa is a flat, laser-cut wooden mechanism: a few interlocking gears, two sliding toothed bars and a cover that holds the lot together. The maker built it as a test for a future safe project. I like it because you can actually see what the parts are doing.
The original project page lists the project as CC0 and includes the maker’s own build photos. I haven’t cut this mechanism myself, so the practical tips below are based on the published build and sensible workshop checks, not a claimed hands-on test.
What you’re looking at
A gear is the round toothed piece. A rack is the straight toothed bar. When the round gear turns against the rack, that turning motion moves the bar in a straight line. In this design the gears and racks sit between plates so you can watch the mechanism without the parts wandering all over the bench.
That’s the basic idea behind all sorts of real machines. Here, it makes a pleasing desktop demonstration and a useful first look at why fit and clearance matter when you’re making something that moves.

SweetGrandpa’s actual cut parts before assembly. The maker notes that a later cover is not pictured here. Project and photo: CC0; resized.
The photo tells you more than a polished mock-up would: there are several small components, a base, sliding bars and dowels. That means a little patience during assembly, particularly if your material thickness differs from the designer’s.
Get the files before you buy anything
Go to Gears, Rack and Pinion on Atomm and inspect the listed project file and instructions. The original was made for an xTool S1 with roughly 3 mm basswood plywood. The project uses xTool’s format, so check whether you can open it in your own software before assuming it will work with another machine.
The creator also specifies three pieces of approximately 6 mm dowel, cut to around 10 mm. Measure the actual dowel and the holes: nominal timber sizes can vary, and a press fit that behaves nicely in one sheet can split another.
You’ll need: compatible laser equipment and approved extraction, suitable plywood, matching dowel, a way to clean the parts, and a small spacer. Keep your machine attended. Check the adhesive and material against the machine manufacturer’s guidance, and never assume an unfamiliar sheet is safe to laser.
First job: find out if the parts fit
Don’t glue anything yet. Open the design in compatible software, check the overall size and make sure the plate will fit your bed. Keep a copy of the original, and don’t scale the drawing casually: the dowel holes and slots may no longer match the material if everything is resized together.
Make a small test cut in the same plywood first. Try one dowel hole and one slot if your software lets you isolate them. You want a snug fit where the dowel holds, but not so tight that you need to attack it with a hammer. Similarly, the gears need room to rotate rather than being pinched by the plate.
Machine settings depend on your laser, focus, material and condition. Use the manufacturer’s starting guidance and adjust from a test; the original maker’s settings are not a universal recipe.

Three short dowels become locating points in the maker’s base. Photo: SweetGrandpa, CC0; resized.
The maker describes inserting the dowels into the base plate as a pressure fit. If a piece needs a light tap, support the wood and stop if it starts to split. A badly fitted hole won’t become a good one through determination alone.
Now make the teeth play nicely
The creator places the main plate, aligns it with T-shaped pieces, then adds the gears and key. Before the cover goes on, move the mechanism slowly by hand. Look for a gear catching on a neighbouring tooth, a rack binding against its slot or a tiny bit of loose char under a part.

Here you can see how the round gears engage with the straight racks. Photo: SweetGrandpa, CC0; resized.
If something binds, identify where before sanding everything. A rough edge can be cleaned carefully; an incorrectly sized hole or badly warped sheet may need a new test cut. Don’t force the key until a delicate tooth gives up. It’s a demonstration piece, not a safe door.
The creator shows the project’s mechanism in motion on the original page, so have a look at that alongside the photographs before deciding how yours should move.
The cover has one surprisingly important job

The narrow cover is intended to remain removable so the gears are easier to see. Photo: SweetGrandpa, CC0; resized.
The file includes two T-shaped covers. The maker describes a thinner, looser one for easy removal and a wider pressure-fit version intended to stay put. Press either down too far and it can catch the gears. The creator suggests a thin piece of cardboard as a spacer to maintain clearance.
That small detail is the lesson here: a moving assembly isn’t finished just because every piece fits into its hole. It also needs space to keep moving after the cover goes on.
Before you open the file, check the format
The supplied project is an XCS file, associated with xTool Creative Space. The listing’s compatible-machine labels and the creator’s own S1 setup are useful clues, not proof that the project will open unchanged in every laser application. Check your version and machine compatibility before buying material for it.
If the file doesn’t open in your normal software, don’t assume that renaming the extension will convert it. Look for an export option in the software that can actually read the project, or choose another design whose format your workflow supports. Preserve the original file so you can compare any converted version against it.
The small moving parts are where I’d check a conversion carefully. Are the gear teeth still smooth? Are the holes actually closed? Did the racks, cover and key arrive at the same scale? A missing line can change a cut; a doubled line can make a machine travel over the same path twice. Use your software’s preview and, where available, inspect the paths before the material goes in.
The creator’s 3 mm sheet and 6 mm dowels are a starting specification, not a guarantee that every nominally similar sheet or dowel measures exactly the same. Measure the material and test a small joint first. I haven’t verified the project on a different machine, so I wouldn’t promise cross-platform compatibility here.
A good project for curious makers
I’d use this as a bench experiment, a classroom demonstration with appropriate supervision, or the starting point for learning how a simple locking mechanism works. I wouldn’t market it as a security device or promise it will work without adjusting for the material.
The page labels the project CC0, but check the terms again at download time and review any separate terms if you move to another creator’s remix. If you change the design, keep the original file and make one change at a time. That way, when the gears stop moving, you know which clever idea to blame.
Sources
Share this article
Know someone who would enjoy this? Pass it along.
