Skip to content

Commit

Permalink
Merge branch 'main' of github.com:bbaudry/swart-studio
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaudry committed Oct 12, 2023
2 parents 4b39511 + 414e5bc commit 02ddb43
Showing 1 changed file with 43 additions and 6 deletions.
49 changes: 43 additions & 6 deletions penplotting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,15 @@ G00 X0 Y0
* iDraw is not compatible with axidraw software. It does not use the [EBB (EiBotBoard) Command Set](https://evil-mad.github.io/EggBot/ebb.html). [axidraw user manual](https://wiki.evilmadscientist.com/AxiDraw_User_Guide) [inkscape and axidraw]( https://wiki.evilmadscientist.com/Axidraw_Software_Installation)
* One may do string art: <https://www.youtube.com/watch?v=ymWi15rvTvM>

### Vpype
### SVG to Gcode

Vpype works out-of-the-box to do two things:
**Vpype** works out-of-the-box to do two things:
- post-process and optimize SVG files, see doc
- generate Gcode with vpyope-gcode `vpype read input.svg gwrite --profile gcode output.gcode` [doc](https://pypi.org/project/vpype-gcode/)

**juicy-gcode** works to transform SVG to gcode
`./juicy-gcode ~/input.svg`

## Links:

* general idraw:
Expand All @@ -73,18 +76,52 @@ Vpype works out-of-the-box to do two things:
* [idraw review @ generativehut](https://www.generativehut.com/post/reviewing-the-idraw-pen-plotter), by [Pierre Paslier](https://www.linkedin.com/in/pierrepaslier/?originalSubdomain=uk)
* Review at generativehut <https://www.generativehut.com/post/reviewing-the-idraw-pen-plotter>
* low level gcode
* [Gcmc](https://www.vagrearg.org/content/gcmc) is a front-end domain-specific language for generating G-code
* [vpype-gcode](https://github.com/tatarize/vpype-gcode/) to be used with [vpype](https://pypi.org/project/vpype/)
* [Juicy-GCode](https://github.com/domoszlai/juicy-gcode) is a command-line application that converts SVG files to GCode
* [svg2gcode](https://github.com/vishpat/svg2gcode) -> [svg2gcode_grbl](https://github.com/arcadeperfect/svg2gcode_grbl) -> [svg2grbl](https://github.com/nknotts/svg2grbl)
* [gcode-cli](https://github.com/hzeller/gcode-cli) command line tool to send gcode to serial pen plotter
* [Juicy-GCode](https://github.com/domoszlai/juicy-gcode) is a command-line application that converts SVG files to GCode ([cannot build for now](https://github.com/domoszlai/juicy-gcode/issues/28))
* [v-plotter](https://github.com/domoszlai/v-plotter): A pen plotter simulator
* [inkscape-grbl](https://github.com/mahtDFR/inkscape-grbl) save Inkscape drawings as G-Code files
* [gcode-generative-for-processing](https://github.com/o0morgan0o/gcode-generative-for-processing)
* [Gcmc](https://www.vagrearg.org/content/gcmc) is a front-end domain-specific language for generating G-code
* simulators
* <https://ncviewer.com/>
* <https://nraynaud.github.io/webgcode/> shows bounds and duration
* <https://riverbendmath.org/modules/XY_Plotter/Simulator/>
* [v-plotter](https://github.com/domoszlai/v-plotter): A pen plotter simulator
* drawing tools
* [vsketch](https://github.com/abey79/vsketch) is a Python generative art toolkit for plotters (API inspired from Processing)
* [vpype](https://pypi.org/project/vpype/) is the Swiss-Army-knife generative art command-line tool for plotter vector graphics and [vpype-gcode](https://github.com/tatarize/vpype-gcode/)
* [whiskers](https://github.com/abey79/vsvg/blob/master/crates/whiskers/README.md) is a Rust-based, Processing-like interactive sketching environment for generative plotter art.
* [pypotrace](https://github.com/tatarize/potrace) transforms bitmaps into vector graphics , port of [potrace](https://potrace.sourceforge.net/)
* samples:
* https://github.com/rsimmons/isovoxel/blob/master/docs/
* https://github.com/abey79/sketches
* https://github.com/Notgnoshi/generative/blob/main/examples/

* other
* [The fascination of pen plotting, handwriting and spirals](https://www.fxhash.xyz/article/the-fascination-of-pen-plotting-handwriting-and-spirals)
* Awesome plotter resources <https://github.com/beardicus/awesome-plotters>
* [DrawingBotV3](https://github.com/SonarSonic/DrawingBotV3) is a software for converting images

## Help

```
./juicy-gcode --help
juicy-gcode - The SVG to G-Code converter
Usage: juicy-gcode [-v|--version] SVGFILE [-f|--flavor CONFIGFILE]
[-o|--output OUTPUTFILE] [-d|--dpi DPI]
[-t|--tolerance TOLERANCE] [-c|--curve-fitting TYPE]
Convert SVGFILE to G-Code
Available options:
-h,--help Show this help text
-v,--version Show version
SVGFILE The SVG file to be converted
-f,--flavor CONFIGFILE Configuration of G-Code flavor
-o,--output OUTPUTFILE The output G-Code file (default is standard output)
-d,--dpi DPI Used to determine the size of the SVG when it does
not contain any units; dot per inch (default is 96)
-t,--tolerance TOLERANCE Maximum derivation of the approximation curve
-c,--curve-fitting TYPE Bezier curve approximation algorithm. TYPE can be
linear, biarc (default) or cubic-bezier
```

0 comments on commit 02ddb43

Please sign in to comment.