inkscape


A better open-source extension for Silhouette Cameo, Inkscape, and Ubuntu

I would have updated my previous attempt at configuring Inkscape to work with the Silhouette Cameo, but got so swept up in the excitement of cutting vinyl stickers, I forgot to do it until now. Unless something has changed since my last relevant post, InkCut doesn’t really work.

This post demonstrates how to configure the open-source inkscape-silhouette extension on Ubuntu 16.04.

System and dependencies

Do the usual system prep before adding the software upon which Inkscape and the Silhouette extension depend:

1
2
sudo apt update
sudo apt upgrade

Ubuntu 16.04

Just as with a conventional printer, the Silhouette Cameo requires some drivers be installed before it can work with Ubuntu.

Open your System Settings:

[Open System Settings]

Open the Printers option:

[Click Printers]

Add a printer:

[Add Printer]

Hopefully you see your device in the list:

[Find device in list]

The drivers for generic printing devices will suffice in this situation:

[Select Generic] [Text-only driver]

Change your cutter’s name, if you like. I left these settings untouched:

[Printer description]

Not sure what would happen if you attempted to print a test page. I cancelled:

[Cancel test page]

If all is well, you should see the device you just added:

[Silhouette device added]

Inkscape

The Inkscape vector graphics tool has an extension that enables you to send your own SVG files to the Cameo.

Add the Inkscape repository and install:

1
2
3
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape

Run it from the command line to make sure it works:

1
inkscape

inkscape-silhouette extension

These steps are adapted from the inkscape-silhouette wiki.

This extension depends upon python-usb:

1
sudo apt install python-usb

Next, you’ll need to download a copy of the extension’s latest release. At the time of writing, you could obtain it from the command line like this:

1
2
3
cd ~
wget https://github.com/fablabnbg/inkscape-silhouette/releases/download/v1.19/inkscape-silhouette_1.19-1_all.deb
sudo dpkg -i inkscape-silhouette_1.19-1_all.deb

Try it out

Execute inkscape (from the command line, if you wish):

1
inkscape

Load the SVG file you want to cut and navigate to Extensions > Export > Send to Silhouette:

[Extensions > Export > Send to Silhouette]

I leave the settings for you to play with. I only cut vinyl, so I go with the extension-provided defaults:

[Vinyl defaults]

When ready, press Apply and watch your Silhouette Cameo spring to life.


Silhouette Cameo 3, Inkscape, InkCut, and Ubuntu

DEPRECATED!

This approach never really worked very well. Here are some better instructions.

Introduction

My wife and I had a hard time deciding between the Silhouette Cameo 3 and the Cricut Explore Air 2. We went with the Silhouette Machine because it seemed easier to get running on Ubuntu 16.04, though neither machines are particularly open source friendly. We had to dust off our old MacBook Air to upgrade the cutter’s firmware.

System and dependencies

I did the usual system prep before adding the software upon which Inkscape and InkCut depend:

1
2
sudo apt-get update
sudo apt-get upgrade

You don’t realize you need these packages until you try using InkCut for the first time and it crashes:

1
2
sudo apt-get install python-pip python-gtk2-dev python-cups
pip install pyserial

Inkscape

I have no long-term interest in using the hokey design software that comes with the Cameo machine, preferring to use the open source Inkscape vector graphics tool instead.

Added the Inkscape repository and install:

1
2
3
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt-get install inkscape

Make sure you run Inkscape at least once before installing InkCut:

1
inkscape

This’ll create the .config folder into which the InkCut file will be moved (below).

InkCut

There are a few ways to send vector data straight from Inkscape to the Silhouette Cameo machine. I chose InkCut because it seems like the most popular and viable. This is also why I chose the Cameo over the Cricut machine… InkCut doesn’t work with Cricut.

1
2
3
cd ~
wget https://downloads.sourceforge.net/project/inkcut/InkCut-1.0.tar.gz
tar -xzvf InkCut-1.0.tar.gz -C .config/inkscape/extensions/

This InkCut tutorial was very helpful, but it still took a bit of trial and error to figure out how to get the software to talk to the Silhouette Cameo…

Ubuntu 16.04

Having never really owned a conventional printer, it hadn’t occurred to me that I would need to install any drivers. Turns out that’s how I got it working.

Open your System Settings:

[Open System Settings]

Open the Printers option:

[Click Printers]

Add a printer:

[Add Printer]

Hopefully you see your device in the list:

[Find device in list]

The drivers for generic printing devices will suffice in this situation:

[Select Generic] [Text-only driver]

Change your cutter’s name, if you like. I left these settings untouched:

[Printer description]

Not sure what would happen if you attempted to print a test page. I cancelled:

[Cancel test page]

If all is well, you should see the device you just added:

[Silhouette device added]

Send Vector to Silhouette Cameo

Now that Inkscape and InkCut are installed and the OS and the Silhouette Cameo are friends, it’s time to configure InkCut to send data to the cutter.

The following is a simple project I whipped up for demo purposes. I want to use the Silhouette pen (instead of the cutter) to draw this curve.

In order for this to work with InkCut, you need to select all the curves you want to plot. I simply hit Ctrl-A to select everything (also Edit > Select All):

[Select all the curves you want to plot]

Select InkCut from the Inkscape menu as shown

[Extensions > Cutter/Plotter > InkCut v1.0]

The InkCut General tab gives you some options to configure in order to accommodate your cutting/drawing medium. It also allows you the opportunity to preview your vector. Click the Properties button:

[Click Properties]

The settings with which I was successful are shown below:

[Successful settings shown]

I show the Serial settings here just for reference. I have not been able to get this working successfully without installing the printer in Ubuntu first. Make sure the machine is turned on and Test Connection. The Silhouette machine should activate and perform a few short moves.

I copied these settings from the InkCut tutorial linked above:

[InkCut tutorial settings]

Finally, send your vector to the plotter/cutter:

[Commence plotting/cutting!]

Conclusion

It was quite a thrill to finally get the Silhouette Cameo working with Ubuntu, though there are still some kinks to work out. I noticed that the curve I plotted had lines drawn when the pen should have been lifted off the paper. My preliminary research indicates that this is a problem in translation between the HPGL and GPGL protocols. More to come…