GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cogat/plotter: Utils for plotting (mostly with an Eleksdraw)

This repository was archived by the owner on Apr 17, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
archive
archive
 
 
lib
lib
 
 
settings
settings
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
README
README
 
 
optimise_svg.py
optimise_svg.py
 
 
requirements.txt
requirements.txt
 
 
svg2gcode.py
svg2gcode.py
 
 

Repository files navigation

Utilities to preprocess and plot SVG/GCode files.

Process
=======

* Create SVG, e.g. using Processing
* run `./optimize-svg.py input.svg -m 1` to optimize the pen path
* run `./svg2gcode.py input-optimized.svg` to make Gcode.
* run `caffeinate` if needed to prevent OS X machine from sleeping.

Upload the Gcode to CNCJS and plot.

Setup
=====

Set up and activate a venv, then:
```
brew install spatialindex
pip install -r requirements.txt
```

Files
=====

optimize-svg.py
---------------
Use greedy optimisation to reduce the travel path for the plotter.

e.g.:

```
./optimize-svg.py input.svg -m 1 -v opt-vis.svg
````

Adapted from penkit-optimize which is installed via pip.

svg2gcode.py
------------
Convert SVG to GCode. Scales and centres svg to plotter surface.

Adapted from https://github.com/davepwsmith/svg2gcode.git to suit plotter rather than
3D printer.

TODO:
=====
* print command in gcode comment
* optimise_svg: bring across width, height and transformations from the source SVG
* output gcode for right orientation on rotated plotter
* allow rotate/scale/offset to go off the edge of the plot area 

Plotter-land
------------
* how to centre plot area on page?
* Get more track and belt for whole of A3 x A3 coverage
* Get M5+M6 tap-and-die for redoing pen hole
* How to add pen tilt to eleksmaker?

About

Utils for plotting (mostly with an Eleksdraw)

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.