How to use SketchUp with your CNC machine

A complete guide about how to generate G-Code from a SketchUp design

With over 25 years of existence, SketchUp is a well-established 3D modeling tool, particularly in the architectural world. The software is quite ergonomic, offering a wide range of options for those wishing to create spatial visualizations from 2D plans with just a few clicks.  


But the software is not limited to architecture: it can also easily be used to design parts that can be machined using a CNC machine, as we shall see.


Table of Content


I. SketchUp and CNC: which price plan to choose?


II. Options for generating G-Code from SketchUp


1/ Transfer a vector drawing (DXF, SVG) directly to CNC Planet

2/ Generate G-Code using an extension 

3/ Use other CAM software after SketchUp


III. How to generate and export a 3D model from SketchUp to generate G-Code in Autodesk Fusion 360


1/ Prepare your project in SketchUp

2/ Export your project using the right format

3/ Prepare your SketchUp object for CAM operations 

4/ Generate your G-code from Autodesk Fusion 360


I. SketchUp and CNC machine: which price plan to choose? 


At the time of writing, SketchUp offers several types of pricing plan, but not all of them allow you to manipulate all files. For example, if you wish to import a DXF file into SketchUp, you will need to pay at least a hundred euros per year for a "Go" version capable of handling it.


A free version of the software is also available, but its options are limited and it offers only limited compatibility with certain file types. 


For one-off projects, more complete versions of SketchUp are also available with a free 7-day trial.


Note: For the time being, a free version of the Windows application SketchUp Make 2017 is still available for download at certain locations on the web, providing a dated but nevertheless complete version of the software without having to put your hand directly in the wallet. However this version doesn't handle certain file formats (like DXF standard, for instance).

II. Options for generating G-Code from SketchUp

Have you just finished lovingly polishing your design in SketchUp, and now want to materialize the fruit of your labor with your CNC? 


I've got good news and bad news for you:


The bad news: SketchUp isn't really designed for 3D machining operations.


The good news: there are several technical solutions to overcome SketchUp's CAM (computer-aided manufacturing) shortcomings.


Several options are available:

1/Transfer a vector design (DXF, SVG) directly to CNC Planet

It's totally possible to start from a two-dimensional design and parameterize a cutting operation directly on your machine (Mekanika) equipped with PlanetCNC. 


Certain projects requiring assembly can thus be carried out by cutting several flat parts, which can then be assembled face by face to obtain a three-dimensional model. 


The possibilities offered by this solution are interesting when it comes to designing cabinets, closets or other storage spaces, and some creative applications take the concept quite far. 


However, they are much more limited if you want to tackle 2.5D operations from a real block of material.

2/Generate G-Code using an extension 

A number of extensions can currently be added to SketchUp to compensate for the absence of native machining functions. 


Here is a non-exhaustive list:


Fabber: The plug-in's website describes Fabber as "The fastest way to go from SketchUp to CNC", including a free offer with limited functions, notably in terms of post-processors.


Unfortunately, the lack of activity on Fabber's official  website suggests a certain lack of follow-up if you consider investing in a a paid version and it doesn't seem to be 100% compatible with SketchUp latest versions.


Fabber is however compatible with some older versions of SketchUp like the standalone SketchUp Make 2017 software we mentionned previously.


ABF Extension: The promise is the same, but currently only in Vietnamese, as are the various video tutorials on offer.: The promise is the same, but currently only in Vietnamese, as are the various video tutorials on offer.


SketchUCam: SketchUCAM allows you to generate machining instructions directly from SketchUp in the form of G-Code. This open source plug-in for PCs is offered free of charge and is compatible with the latest versions of SketchUp at the time of writing, despite a few bugs and errors encountered during our trial.


It's a practical tool for those who don't want to open their purse, but it doesn't have an up to date support system, as the latest updates are already a few years old. Trying to make it work with the latest version of Sketchup is definitely not an easy task as it involves making manual G-Code alterations.


3/Pass through other CAM software after SketchUp

Autodesk Fusion 360 , FreeCAD , Autocarve: there's no shortage of specialized CAM options once you've drawn your part in SketchUp, the downside being that some tools may prove less intiuitive or more expensive.

What is the best option to use SketchUp with a CNC machine ?

SketchUp is definitely not made for CAM operations and it shows. After having tested a serie of options, your best shot to use it this way would be to export your model in another, specialized CAM software.

In our case, we chose Autodesk Fusion 360 to go forward and generate our G-Code as the free version allows to handle 3D files format like .STL or .OBJ.

III. How to generate and export a 3D model from SketchUp to generate G-Code in Autodesk Fusion 360


2/Prepare your project in SketchUp

Once you've opened SketchUp, start by importing the clamp model we usually use in our exercises (downloadable here), by clicking on File > Import.


Your clamp design will appear on the screen, if not, try to move your view around using the hand option (shortcut "h") and/or rotating completely the view using the orbit option (shortcut "o") to find your design.


Now you'll need to give your clamp a surface and a volume.


Start by clicking on one of the lines of your design to select it, then right-click to select "modify component".


Then draw a line (shortcut = "l") through the design to give the object a surface.


Immediately delete the line (by selecting it and pressing the "delete" key). 

Now select your entire "clamp" and right-click on "Create group".


Right-click again to split the group you've just created so that each surface can be manipulated independently and delete both hollow parts of your design by selecting them and pressing the "delete key"


You can now extrude your design (shortcut = "p") to the required dimensions by selecting the surfaces one by one and then changing their respective thickness (in our case 1cm for the main body and 0,5 cm for the tip.

Note that to define the height of your piece with precision, you need to "pull" it with your mouse and then type the height you need using the measurement unit your SketchUp version uses.


That's it, you are now done with the CAD part of the operation. 

2/ Export your project from SketchUp using the right format

With your design now in 3D, it's time to export it to Autodesk Fusion 360 so that we can move to the CAM part of the operation.

Go to File>Export>3D Model and chose the format you want.

The free version of Autodesk Fusion 360 (personal use) only allows to use a limited types of files with the .STL and .OBJ standards common to both SketchUp and Autodesk Fusion 360.


In our case, we opted for the stereolithography (.STL) format as it was the least demanding in terms of amount of subsequent manipulations.

3/ Prepare your SketchUp object for CAM operations 

You can now open Autodesk Fusion 360 and open your file.

Click on "Open from my computer" and browse your drive to select the STL file you just created.

Your design should now be showing on the screen.



To convert it into a physical object, select your whole object and then go to the "Mesh" menu and select Modify>Convert to mesh and click on "OK".

Your object is now solid but does it have the right size?


In our case, the export from SketchUp to Autodesk Fusion 360 shrank it by a 10 factor. To remedy this issue, you can 

Go to Solid>Modify>Scale

Select your whole object and scale it back to the size you want