Coder Social home page Coder Social logo

xy's Introduction

xy Software for the Makeblock XY Plotter

Installation

brew install py2cairo
pip install -r requirements.txt

You will probably need to set the PORT in device.py, as well as the UP and DOWN pen positions:

https://github.com/fogleman/xy/blob/master/xy/device.py

Examples

Several examples are in the root of the repository.

xy's People

Contributors

fogleman avatar setphen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xy's Issues

Problems with running examples / installation

Thanks a lot for creating this software!

I had a few initial problems setting this up on my machine:

macOS 10.13.3
Python 2.7.10

I was getting these errors:

  • NameError: global name 'numpy' is not defined
  • ImportError: No module named cairo

What I had to do to make some of the examples work:

  • pip install numpy
  • pip install cairocffi and change import cairo in drawing.py to import cairocffi as cairo

Install instructions

Hi, Michael.

Could you add some instructions on how to install and use your code, please?

What I've done so far (without luck) is:

  1. I uploaded firmware.ino to my plotter (Orion based)
  2. Run python test.py
Traceback (most recent call last):
  File "test.py", line 3, in <module>
    import xy
  File "/Users/violeta/fogleman/xy/__init__.py", line 5, in <module>
    from gcode import GCode
ImportError: No module named gcode

Please add a license.

There are a bunch of gems in this repo, and I'd really like to clone it and tweak parts of it for my own side projects. However, I feel bad doing so without a license. Could you please add one?

Thank you!

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.