Week 07

Computer-Controlled Machining

CNC Machining, CAM Workflow, Toolpaths, Tolerances, and Modular Wooden Rail System

1. Checklist

2. Group Assignment

For the group assignment, we completed the CNC safety training and reviewed the main parameters involved in computer-controlled machining, including tool selection, feeds, speeds, fixturing, materials, and toolpath strategies.

3. Introduction to CNC Machining

Computer-Controlled Machining is a digital fabrication process where a cutting tool removes material following toolpaths generated from a digital design. Unlike laser cutting, where the laser beam cuts through the material without physical contact, CNC machining uses a rotating tool that physically removes material layer by layer.

CNC machining is especially useful for producing larger and stronger parts, working with thicker materials, creating pockets, grooves, profiles, and structural assemblies. This makes it an ideal process for my final project, because the Fab Train requires a wooden modular rail system with functional channels, joints, and pieces large enough to assemble a complete train circuit.

Aspect CNC Router Laser Cutter
Cutting method Mechanical material removal with a rotating tool Thermal cutting using a focused laser beam
Material thickness Works well with thick and structural materials Better for thin sheets and lighter materials
3D / depth control Can machine pockets, grooves, reliefs, and 2.5D operations Mainly 2D cutting and engraving
Kerf / tool width Depends on the diameter of the cutting tool Depends on the laser beam and material
Typical use Furniture, molds, structures, large parts Prototypes, engraving, press-fit kits, thin parts

4. CNC Machine Used

The CNC machine available in the laboratory is an industrial format router with 3 axes plus a fourth rotary axis. The working area in X and Y is 1250 mm × 2500 mm, which allows machining large boards and producing parts at a real structural scale.

This machine is mainly used for materials such as MDF, plywood, pine, PVC, foam, and other machinable soft materials. It is not intended for metal or very hard materials because the system does not include direct coolant on the workpiece. Without proper cooling, metal machining could overheat the tool, damage the material, and reduce the lifetime of the spindle and cutting tool.

CNC machine in the laboratory
Industrial CNC router used in the laboratory.

5. Common CNC Tools

Tool selection is one of the most important decisions in CNC machining. Each type of tool affects the finish, chip evacuation, cutting direction, material behavior, and machining strategy.

Tool Type Main Use Typical Application
Straight End Mill General cutting and profiling Basic cuts in wood, MDF, and plastics
Upcut End Mill Pulls chips upward Good chip evacuation, but can leave rougher top edges
Downcut End Mill Pushes chips downward Cleaner top finish, useful for plywood and laminated surfaces
Compression Bit Combines upcut and downcut behavior Clean top and bottom edges in sheet materials
V-Bit 45°, 60°, 90° Engraving and chamfering Text, signs, decorative grooves, and bevels
Ball Nose Rounded tip for 3D surfaces Reliefs, molds, and smooth 3D surfaces
Tapered Ball Nose Fine 3D carving Detailed reliefs and small curved features
Drill Bit Vertical drilling Holes for screws, alignment, and fixturing

6. Machine Accuracy and Tolerance Test

Before machining the final rail system, it was important to understand the real behavior and tolerance of the machine. For this test, I used a 6 mm end mill, which was measured with a digital caliper and showed an actual diameter of 5.98 mm.

A square of 50 mm × 50 mm was machined and then measured in X and Y using a caliper. The Z axis was also checked by machining a programmed depth of 2 mm and measuring the final result.

Measuring CNC tolerance on X axis
Measuring the machined square with a digital caliper.
Measuring CNC tolerance on Y axis
Checking the second axis of the machined test piece.
Axis / Feature Designed Value Measured Value Deviation
X axis 50.00 mm 50.02 mm +0.02 mm
Y axis 50.00 mm 50.04 mm +0.04 mm
Z depth 2.00 mm 2.02 mm +0.02 mm
Tool diameter 6.00 mm 5.98 mm -0.02 mm

These differences are small, but they are important when designing assemblies, joints, and modular parts. For the Fab Train rails, this information helped me define tolerances for the male and female connectors, especially because the pieces must fit together without being too loose or too tight.

7. CNC Coordinate System and Zero Setting

In CNC machining, it is important to understand the difference between the machine home and the work zero. The machine home is the internal reference position of the CNC, while the work zero is the reference point defined by the user for a specific job on the material.

For this assignment, the work zero was set at the corner of the material and the Z zero was taken from the top surface of the board. This means that all machining depths are calculated from the top of the MDF sheet.

Setting CNC work zero
Setting the X, Y, and Z work zero on the CNC using the tool contact point on the material.

8. Design Development in AutoCAD

The design for this assignment is directly connected to my final project: a modular wooden rail system for the Fab Train. The goal was to create several types of wooden train tracks that can be assembled in different configurations by the user.

The rail system includes straight sections, curved sections with different angles, and bifurcations. The design also includes male and female connectors so the pieces can be joined together. The female connector was designed with a tolerance of 0.3 mm to improve the fit between parts.

Different wooden rail designs in AutoCAD
Different types of rail pieces designed in AutoCAD.
Rail pieces arranged for CNC machining
Complete rail layout arranged inside a 1220 mm × 1220 mm working area.

9. CAM Workflow in Aspire Vectric 8.5

After completing the 2D design in AutoCAD, the file was imported into Aspire Vectric 8.5. This software is used as an intermediate CAM environment to prepare the machining job, define the material, select tools, configure toolpaths, simulate the process, and generate the code that the CNC controller can read.

9.1 Job Setup

The first step in Aspire was to define the board dimensions, thickness, Z-zero position, XY origin, and material appearance. In this case, the Z zero was set on top of the material, and the XY origin was located at the lower-left corner of the machining area.

Aspire job setup
Initial Aspire setup defining board dimensions, material thickness, Z zero, and XY origin.

9.2 DXF Import and Layout

The DXF file was imported and placed inside the working area. Aspire provides basic tools to move, rotate, scale, group, join, and edit the vectors before creating the toolpaths.

DXF imported into Aspire
Imported DXF file arranged in the Aspire working area.

9.3 Toolpath Configuration

The toolpath configuration defines how the CNC will machine each part. This includes selecting the tool, cutting depth, machining strategy, ramps, safe heights, tabs, and whether the tool cuts on the line, inside, or outside the vector.

Aspire toolpath configuration
Toolpath configuration window used to define machining operations.

10. Toolpath Strategy

Each machining operation was exported as a separate file. This allowed the CNC process to be executed in stages, making it easier to control the job, change tools manually, and verify each operation before continuing.

Operation Tool Depth Purpose
Drilling / marking 3 mm straight end mill, 2 flutes 2 mm Mark screw positions to fixture the MDF board
Profile on vector 3 mm straight end mill, 2 flutes 3 mm Create decorative rail board lines
Profile on vector 6 mm upcut end mill, 2 flutes 6 mm Machine the train path / rail channel
Pocket 6 mm upcut end mill, 2 flutes 4 mm Create recesses for 3D printed inserts in special rail pieces
Profile outside vector 3 mm straight end mill, 2 flutes 12 mm Final outside cut of each rail piece

10.1 Machining Parameters

Tool RPM Feed Rate Pass Depth Material
3 mm straight end mill, 2 flutes 18000 RPM 2500 mm/min 1.5 mm per pass MDF 12 mm
6 mm upcut end mill, 2 flutes 18000 RPM 3200 mm/min 2.5 mm per pass MDF 12 mm

11. Tabs and Safety During Cutting

Tabs are small uncut bridges that keep the machined pieces attached to the stock material until the job is complete. They are very important for safety because they prevent loose pieces from moving, vibrating, or being thrown by the rotating tool.

For this job, I used tabs with a size of 3 mm wide and 3 mm thick. This made them strong enough to hold the pieces during machining, but easy enough to remove later using a small saw or hand tool.

Tab settings in Aspire
Tab configuration in Aspire, defining width and thickness.
Tabs placed on rail geometry
Tabs placed manually on the geometry, shown as small yellow markers.

Tabs should be placed in strategic areas, especially on parts that could move during the final contour cut. It is also recommended to place them on straight sections because they are easier to remove and clean after machining.

12. Simulation and G-Code Generation

Before machining, Aspire was used to simulate all operations. Simulation is important because it allows checking the final result, detecting possible toolpath errors, and verifying that each operation removes the expected amount of material.

Aspire toolpath simulation
Toolpath simulation showing the expected result after all operations.

After simulation, the correct CNC post-processor was selected. For this machine, the controller is RichAuto DSP11 mm, which generates a .plt file format for the CNC.

CNC controller selection in Aspire
Selecting the RichAuto DSP11 mm controller to generate the CNC-compatible file.

13. CNC Machining Process

The machining process was carried out in stages. First, the material was fixed to the CNC bed using screws. Then each operation was executed separately according to the prepared toolpath files. This staged process made it easier to control the job and manually change between the 3 mm and 6 mm tools.

CNC machining process 1
CNC machining process during the rail fabrication.
CNC machining process 2
Machining the modular rail pieces on the MDF board.
Video extract showing the CNC machining process.

14. Final Result and Assembly

After machining, the tabs were removed and the pieces were cleaned. The final result was a modular wooden rail system that can be assembled in different configurations. This is directly connected to my final project, because these rails will be part of the physical platform for the Fab Train.

The system includes multiple rail types, such as straight pieces, curved pieces, and bifurcations. The modular design allows the user to build different track layouts and test different configurations before defining the final circuit for the complete project.

Final modular wooden rail assembly
Final modular wooden rail system assembled after CNC machining.

15. Reflection