Coder Social home page Coder Social logo

img2ngrv's Introduction

img2ngrv - Image to Engraver Raster       Build Status Build Status

Convert a pixel or vector image to G-code as commonly used by home-made (laser) engraving machines.

This particular code is tested with the LulzBot 3D printers modified for laser engraving with one of the kits sold by J Tech Photonics. The software is similar in end result to their LaserEtch tool. For other engraves, you will have to teak the (G-)code manually, especially the preamble. Luckily the program is contained in one python file.

Usage

To install img2ngrv, you will need a copy of the code. Either download it from the release section of github or run:

git clone [email protected]:con-f-use/img2ngrv.git

After to you received a copy and uzipped the code, run:

./setup.py install   # --user
# or
# pip install --editable .

Once done, you should be able to get a the programs usage with:

img2ngrv --help

License and Disclaimer

Copyright (c) 2016 [email protected]

The project along with all files in this repository are owned by the copy right holder. The content of this repository can be used under the Creative Commons Attribution 4.0 International License..

A copy of the license should be included with the distribution of this text. If not, visit http://creativecommons.org/licenses/by/4.0/.

THE WORK INCLUDING ANY DERIVED HARDWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

img2ngrv's People

Contributors

con-f-use avatar

Watchers

 avatar  avatar  avatar

img2ngrv's Issues

Various issues with versions of cairosvg and pillow

On some platforms, weird problems occur that seem to be related to versions of Pillow and cairosvg. E.g. saying no module named 'paste' although paste is installed.
Another one is img2ngrv/img2ngrv.py:228: RuntimeWarning: Parent module 'img2ngrv' not found while handling absolute import.

Here is what I'm mostly using that never caused problems:

>>> cairosvg.VERSION
'1.0.22'
>>> PIL.VERSION
'1.1.7'
>>> PIL.PILLOW_VERSION
'3.3.1'

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.