项目作者: Kamoba

项目描述 :
Convert image to gcode
高级语言: Python
项目地址: git://github.com/Kamoba/imageToGcode.git
创建时间: 2020-06-15T13:57:05Z
项目社区:https://github.com/Kamoba/imageToGcode

开源协议:GNU General Public License v3.0

下载


#

#

Hand writing to G-code

#

#

REQUIREMENTS:

Python 3

opencv-python

RasterCarve

imutils

numpy

scipy

Introduction:

This small tool allows you to convert an image into gcode.

For an optimal conversion use a black writing on a sheet of paper, and the photo must have a good brightness and without borders.

GETTING STARTED:

  1. Go to the project folder and run the following command:

    pip3 install -r requirements.txt

  2. Run:

    python imageToGcode.py test/very-bad-photo.jpg

You can quickly visualize the gcode file thanks to free online services such as:

For the stl: https://openjscad.org



  1. This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see http://www.gnu.org/licenses/.