Inkscape EggDuino Extension
This Inkscape extension helps you to use the EggDuino based EggBot from inside Inkscape.
Installation Linux and OSX
You have to put these two directories inside your
curl -L https://github.com/justinotherguy/eggbot_extension/archive/1.2.tar.gz | tar -xz mkdir -p ~/.config/inkscape cp -r eggbot_extension-1.2/templates ~/.config/inkscape cp -r eggbot_extension-1.2/extensions ~/.config/inkscape
- Inkscape (obviously)
On Debian or Debian-based distributions (Ubuntu, Mint) use apt-get/aptitude/apt, for example
sudo apt-get install inkscape python python-serial
On most GNU/Linux distributions you have to be member of the group
dialout to use serial ports.
On Debian/Ubuntu/Mint you can add yourself to the
dialout group with
sudo addgroup $USER dialout
You need to logout/logon or reboot to activate the change.
You aren't able to connect to your EggDuino? Try this:
Disconnect your board from your PC and execute
sudo dmesg -w
and plugin your Board. You should see something like
[ 4285.923992] usb 3-6: new full-speed USB device number 8 using xhci_hcd [ 4286.065120] usb 3-6: New USB device found, idVendor=1a86, idProduct=7523 [ 4286.065123] usb 3-6: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 4286.065124] usb 3-6: Product: USB2.0-Serial [ 4286.065746] ch341 3-6:1.0: ch341-uart converter detected [ 4286.066380] usb 3-6: ch341-uart converter now attached to ttyUSB0
The important pieces you can extract from the above: Your arduino clone (ch341-uart converter)
is now available as
/dev/ttyUSB0. You can now check the rights which are needed to access this device:
$ ls -la /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 0 Mär 6 08:59 /dev/ttyUSB0
So you need to be root or are member of the group
dialout. Are we?
$ groups dialout cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth libvirt sbuild libvirt-qemu
Be sure the output of
groups includes the group
dialout as it does above.
Then start inkscape, select Erweiterungen/Extensions - EggBot - EggBot Control. On the
Manual tab you can check the
individual commands like pen up/down.
You have to unpack the zip file from https://github.com/section77/eggbot_extension/archive/1.1.zip and copy the templates and extensions folders to the inkscape/share folder which is typically located at C:\programme\inkscape\share