svg2scad2cc/README.md

31 lines
1.0 KiB
Markdown

# svg2scad2cc
Inkscape plugin to convert SVG paths into an OpenSCAD cookie cutter (with stamp)
## Usage:
1. Unpack contents of the repo to the Inkscape extensions directory.
2. Convert all objects to paths.
- red (no fill) - outer outline / through cut.
- green (no fill) - inner walls / through cut.
- black (no fill) - internal features. If a demoulding plate is selected, together they form a stamp.
- any color (fill without stroke) - connections between inner walls and outer outline.
3. Select File -> Save As... "OpenSCAD cookie-cutter/stamp (*.scad)".
4. Adjust parameters (wall thickness, generating demoulding plate/stamp).
5. Load into OpenSCAD, generate STL, 3D print.
![svg test file](test/test.svg)
![OpenSCAD output file](test/test.scad)
![OpenSCAD preview screenshot](test/test.png)
## Credits
* Main code derived from <https://github.com/arpruss/gcodeplot/blob/master/svg2cookiecutter.py>(svg2cookiecutter) (c) Alexander R. Pruss
* SVG path code (c) Lennart Regebro, Justin Gruenberg
## License
GPL v3.0