From 0429fb74ac2567f08255cde42c40ddbadda2bcd7 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sat, 21 Dec 2019 14:20:42 -0700 Subject: [PATCH] Inkscape laser plugin --- HOWTO/laser-solder-paste-stencil-flatcam.md | 3 +- HOWTO/laser-solder-paste-stencil-inkscape.md | 29 ++++++++++++++++++++ equipment/laser/inkscape/jtech/README.md | 8 ++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/HOWTO/laser-solder-paste-stencil-flatcam.md b/HOWTO/laser-solder-paste-stencil-flatcam.md index d01664f..23ab42d 100644 --- a/HOWTO/laser-solder-paste-stencil-flatcam.md +++ b/HOWTO/laser-solder-paste-stencil-flatcam.md @@ -1,7 +1,8 @@ # HOWTO make SMT Stencils with LASER This documents how to make solder paste stencils with a LASER -using FlatCAM. +using FlatCAM. Inkscape is the preferred method to use over +FlatCAM, for now. ## Equipment Used diff --git a/HOWTO/laser-solder-paste-stencil-inkscape.md b/HOWTO/laser-solder-paste-stencil-inkscape.md index 9e715e8..4346a8c 100644 --- a/HOWTO/laser-solder-paste-stencil-inkscape.md +++ b/HOWTO/laser-solder-paste-stencil-inkscape.md @@ -76,3 +76,32 @@ will export a file to the `Output directory` specified above. * After `Plot`, hit the `Close` button. * Exit KiCAD: `File` --> `Exit`. + +# Inkscape + +In these steps, you take the `.svg` file exported from KiCAD, +open it in Inkscape, and use a plugin to export gcode. + +## Inkscape Initial Setup +The first time you do this process, you need to set up the +Inkscape plugins. It is only needed the first time. + +* First you need to download the plugins. It is available from +upstream here: +https://jtechphotonics.com/Downloads/Inkscape/JTP_Laser_Tool_V2_2%20-%20inkscape%209_2%20version.zip + +* If the above URL is unavailable, there is a mirror in this repo here: +https://code.forksand.com/forksand/pcba/src/branch/master/equipment/laser/inkscape/jtech + +* For example, it could be done thusly: +```bash +git clone https://code.forksand.com/forksand/pcba +cd pcba/equipment/laser/inkscape/jtech +mkdir ~/.config/inkscape/extensions/ +cp -p dxf_input.inx dxf_input.py laser.inx laser.py ~/.config/inkscape/extensions/ +``` + + +## Inkscape Steps + +Steps to generate gcode from an SVG file. diff --git a/equipment/laser/inkscape/jtech/README.md b/equipment/laser/inkscape/jtech/README.md index 7ed58ce..750907c 100644 --- a/equipment/laser/inkscape/jtech/README.md +++ b/equipment/laser/inkscape/jtech/README.md @@ -4,3 +4,11 @@ https://jtechphotonics.com/?page_id=2012 https://jtechphotonics.com/?page_id=1980 https://jtechphotonics.com/Downloads/Inkscape/JTP_Laser_Tool_V2_2%20-%20inkscape%209_2%20version.zip + +* HOWTO install: +```bash +git clone https://code.forksand.com/forksand/pcba +cd pcba/equipment/laser/inkscape/jtech +mkdir ~/.config/inkscape/extensions/ +cp -p dxf_input.inx dxf_input.py laser.inx laser.py ~/.config/inkscape/extensions/ +```