Giter VIP home page Giter VIP logo

eggbot_extension's Introduction

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 ~/.config/inkscape folder.

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

Dependencies

  • Inkscape (obviously)
  • python
  • python-serial

On Debian or Debian-based distributions (Ubuntu, Mint) use apt-get/aptitude/apt, for example

sudo apt-get install inkscape python python-serial

Access Rights

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.

Troubleshooting

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.

Installation Windows

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

Other Projects Parts

eggbot_extension's People

Contributors

paepke avatar justinotherguy avatar andy1978 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.