How to Mill Dogbone Butterfly Joints Using FreeCAD CAM and a 3018 CNC
When joining wood boards edge-to-edge, the “butterfly joint" (or Dutchman joint) is often used both to reinforce the joint interface and to provide a visual accent. While carving complex curved butterfly joints accurately by hand using a chisel or trim router requires high skill, a small CNC router makes it possible to machine them precisely according to digital designs.
This time, utilizing three types of scrap wood with different color tones on hand, we will create “dogbone-shaped butterfly joints" by combining FreeCAD’s CAM workbench and a desktop 3018 CNC machine. Our goal is to achieve a tight fit without gaps, using a thin 1mm end mill with a 5mm-deep pocketing operation to prevent wood splitting and tool breakage.
Items to Select in the FreeCAD CAM JOB Initial Settings
To generate G-code for cutting in FreeCAD’s CAM workbench, you first need to create a “JOB" and configure output settings tailored to the equipment you are using. While many options appear on the settings screen, when operating a 3018 CNC, you must reliably select the following two items.
Select “grbl" for the Post-Processor
When you open the list of post-processors, options at the top in alphabetical order like “KineticNCBeamicon2" or “centroid" catch your eye first. However, since standard 3018 CNC control boards are equipped with GRBL firmware, you need to scroll down the list and select “grbl". It is important to match the G-code specifications that the control board can interpret, rather than the machine name.
Check Only “G54" for the Coordinate System
In the system section for specifying the work coordinate system, there are checkboxes from “G54" to “G59.9". Leave only the default “G54" checked.
When you zero-reset the workpiece machining start position in 3018 CNC control software (such as Candle), the G54 origin is rewritten by default. Checking multiple boxes outputs code for multi-part nesting that repeats the same machining at different coordinates, and G59.1 and later are not supported by GRBL, causing errors.
*Note: If you accidentally create two JOBs during operation, you might not be able to delete an unnecessary JOB by selecting it in the model tree on the left and pressing the Delete key. In that case, save the project file once, restart FreeCAD, and then select the JOB again and press the Delete key to delete it normally.
Machining Conditions and Path Selection to Cut with a 1mm End Mill Without Splitting
Once your model data is prepared, create tool paths for the convex part (the butterfly key itself) and the concave part (the mating slot). Because the 3018 CNC does not have high frame rigidity, condition settings are essential to avoid breaking the 1mm end mill and splitting the wood.
Use “Profile" for Outlines and “Pocket Shape" for Cavities
For the convex butterfly key, since the outer contour is cut out from the board, use the “Profile" operation.
On the other hand, we initially tried creating the concave slot using Profile as well, but it only generated a path tracing the inner perimeter without hollowing out the center. To flatten the bottom partway through a board, you must select “Pocket Shape" (pocketing). The basic rule is to use Profile for through-cuts and Pocket Shape for hollowing out to a specified depth.
Adjusting to a 0.5mm Step Down and 30% Stepover
In FreeCAD CAM, the default cutting depth per pass (step down) is set to “OpToolDiameter" (1.0mm in this case), which equals the tool diameter. While this is fine for commercial machine tools, attempting to cut a depth of 1.0mm in a single pass with a 1mm end mill mounted on a 3018 CNC vastly increases the risk of tool breakage due to lateral loads exceeding tolerances.
Therefore, we changed the step down to “0.5mm", which is half the tool diameter. This configuration carves out a 5mm-deep hole in 10 incremental passes.
Furthermore, the path overlap rate (stepover) was set to “30%" instead of the typical 50%. By keeping the lateral cutting width per pass down to 0.3mm, we reduce cutting resistance, prevent wood fibers from tearing out or splitting, and aim to achieve a smooth pocket bottom surface.
Machining Results and Fit with a 5mm Pocket Depth and Default Tolerances
We transferred the generated G-code to the 3018 CNC and performed the actual cutting.
- Base material (concave): Dark brown and reddish-brown scraps (one piece each)
- Butterfly key (convex): Cedar or cypress-toned light-colored scrap
As a result of machining under conditions of a 0.5mm step down and 30% stepover, the 1mm end mill did not break, and there were no issues with wood edges chipping or splitting. The bottom of the 5mm-deep pocket also finished cleanly. Additionally, we processed the parts leaving the clearance (additional offset) for both the convex and concave parts at the default “0mm" without changes. Although they are identical in design, the slight natural elasticity of the wood combined with the machining characteristics of the small-diameter end mill worked together, allowing them to fit tightly without gaps when pressed in by hand. The light-colored dogbone butterfly stands out sharply against the boundary between the dark brown and reddish-brown woods, successfully balancing practical joint strength with aesthetics.
Conclusion
We created dogbone-shaped butterfly joints using FreeCAD’s CAM workbench and a 3018 CNC for both structural reinforcement and decorative wood joining. By setting grbl for the post-processor and G54 for the coordinate system, and keeping the step down to 0.5mm and stepover to 30%, we prevented 1mm end mill breakage and wood splitting. Furthermore, by properly differentiating between Profile for cutouts and Pocket Shape for 5mm-deep cavities, we were able to generate the exact paths intended. As a result, even without additional clearance adjustments, the scrap pieces were joined firmly and seamlessly, achieving high-precision woodworking inlay.






