Skip to content

HeavyMoon/inkscape-gcodetools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

inkscape-gcodetools - Gcodetools2

Gcodetools is a set of Inkscape extensions for generating G-Code and other performing computer-aided manufacturing related tasks. It serves as an interface for working with plotters, laser cutters, engravers and other CNC machines based on Inkscape.

original repo: extensions-gcodetools

Installation

These scripts should be installed with an Inkscape package already (if you have installed Inkscape). For packagers or people testing newer releases, you can install the *.inx and *.py files into /usr/share/inkscape/extensions or ~/.config/inkscape/extensions .

Testing

You must install the program pytest in order to run these tests. You may run all tests by omitting any other parameters or select tests by adding the test filename that you want to run.

pytest
pytest tests/test_gcodetools.py

See extensions/TESTING.md for further details.

Increasing the test coverage of gcodetools is one of the primary development objectives at the moment.

Development

The gcodetools extension requires the inkex library, developed here. Clone the main extensions repository and add the cloned folder to your PYTHONPATH, e.g. by creating a .pth file in your virtualenv's site-packages.

The branches of gcodetools are parallel to the branches of inkex, i.e. the 1.1.x branch uses only functionality that is included in the inkex-1.1.x branch (corresponding to the Inkscape 1.1.x release series). This is also ensured by the CI pipeline.

Apart from this, the same rules as in the main extensions repo apply with respect to code quality.

V2 Features

  • Extension IDs have changed.
  • Comment symbols have been changed from () to ; to support Klipper.
  • Corrects G0x format G code to Gx (G01->G1).
  • Updated the default value for Graffiti in the Tool Library.
  • Added a function to sort gcodes by path id.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages