Skip to Content

FreeCAD 
for CNC milling


Setup

Download: https://freecad.org

Pimp your interface

https://www.youtube.com/watch?v=LKq7hgbu7ks

Tool library

  • Go to CAM workbench
  • CAM/Toolbit Library Manager
  • Import tool library

Useful addons

In Tools/Addons, install:

  • Open Theme
  • Mesh to Part
  • Feeds & Speed
  • Detesselate

Preferences

  • Default unit system: Metric small parts & CNC

How to use FreeCAD with your CNC machine

https://www.mekanika.io/en/blog/cnc-milling/how-to-use-freecad-with-your-cnc-machine

Import 3D file (.step, .obj, .stl)

From .step file

The most straightforward way.

From .obj, .stl

  • Go to Mesh workbench
  • Mesh/Analyze/Evaluate and Repair
  • Analyze all → Repair what is needed
  • Mesh/Decimate to reduce the number of faces
  • Go to Part workbench
  • Copy/Refine Shape → to reduce the number of faces on planar surfaces
  • Detesselate workbench
  • Mesh to Body
  • You should end up with a blue cube icon next to the name of your design in the Tree view

Simplify STL mesheshttps://www.youtube.com/watch?v=SFnW5-StDto

to look at: ADDon MeshRemodel Workbench

CAM

  • Go to CAM workbench
  • Select your design with the blue cube icon in the Tree view
  • New Job
  • Select the Solid you want to add operations to
  • Add 10mm extra stock to X/Y on both directions, none on Z direction
  • Click on the bottom left corner of your selection box
  • Click on Set Origin
  • In the Output tab, choose linuxcnc as Processor
  • CAM/Add toolbit → Add to Job
  • Restart FreeCAD (because of a display bug)
  • Reopen your file
  • Go to CAM workbench
  • CAM/CAM addons/Feeds & Speeds
  • Select your toolbit
  • Put the parameters following the calculator: https://docs.google.com/spreadsheets/d/1tBN2sNPY7SJOV9n0mTct5G1SBR57fl854JGNTQw22D4/edit?gid=1510309241#gid=1510309241
  • Save/Close window

Add Pocket

  • Pocket Shape
  • Choose your toolbit
  • Select the faces you want to mill (CAM/Finish Selecting Loop to go faster)
  • Make sure all the milling parameters are good according to the calculator and your object

Add Profile

  • Pocket Shape
  • Choose your toolbit
  • Select the faces you want to mill (CAM/Finish Selecting Loop to go faster)
  • Make sure all the milling parameters are good according to the calculator and your object
  • Choose Inside/Outside: the path will be followed with the toolbit inside, and vice-versa

Dressup: Tag

This is to maintain your piece to the stock while cutting the bottom layer so that it doesn't move.

Dressup: Ramp entry

This is to avoid a too abrupt entry into the material.more info: https://www.youtube.com/watch?v=iqVNHyqWPtg

Check

  • CAM/Legacy simulator

Feeds and speed explained

https://www.mekanika.io/blog/cnc-milling/cnc-feeds-speeds-explained

Use Mekanika Calculator to know what settings you need to use.

Beware of step down value and feed rate!


On the machine

https://www.mekanika.io/en/blog/cnc-milling/get-your-cnc-machine-ready-to-millhttps://www.youtube.com/watch?v=vC8I8Zo4O24

Planet CNC

https://www.mekanika.io/en/blog/cnc-milling/planetcnc-interface-explained

Checklist

  • clamp/screw stock on the martyr
  • HOME
  • put tool on spindle → use wrench to tighten it
  • open file
  • set XY origin
  • calibrate Z with probe
  • put ear protection/glasses on
  • hair/sleeves/scarves up
  • vacuum cleaner ON
  • plug spindle + ON
  • PLAY


Use CNC with 2D files

You can also use a CNC milling machine with 2D files to make direct cuts for example. You can change the parameters for the steps down directly on the machine.
You can also use this technique to use a pen or a drag knife.

Import svg or dxf file directly with Planet CNC.

  • Safe height: disable
  • Spindle: disable
  • Feed speed = vertical speed
  • Plunge speed = horizontal speed


Choosing the right tool

https://www.mekanika.io/en/blog/cnc-milling/cnc-end-mill-selection-guide