Inkscape export plugin and Arduino program for DIY laser cutters, based on TurnkeyTyranny's code.
In addition you will need a program that sends the G-code file to the laser cutter, like Pronterface.
This plugin is based on TurnkeyTyranny's and ajfouls's (and others) work, check it out here: TurnkeyTyranny/laser-gcode-exporter-inkscape-plugin
Like in TurnkeyTyranny's original plugin, each layer can have different settings for the laser, simply specified in the layer's name. Layer visibility now decides whether a layer is exported or not (the layer's style is searched for "display:none", this happens in effect_curve()). You can show the Layers menu in Inkscape by pressing shift+ctrl+L.
Layer parameters should be separated by a comma. Whitespace and case doesn't matter. For example:
power:10, feed:3000, repeat:2
raster - This layer will be rastered using the method specified in the options (TODO: a layer parameter for each raster method)
power:20 - Specifies the laser power to use for this layer. For raster mode, this sets the maximum laser intensity.
feed:3000 - The speed at which to move on this layer while the laser is on.
repeat:2 - How many times to cut this layer (repeat:1 is default and means the layer is cut once)
ppm:60 - Pulses per minute
In Inkscape, select Extensions > Export > Neckbeard Laser Exporter.
Under Preferences, select where to output the G-code file. Fiddle with settings depending on what you are doing.
Hit Apply. Rastering images takes time. You should check for error messages in the window that opens now, not that there necessarily will be any...
Grab neckbeard.py and neckbeard.inx and throw them in:
Windows: C:\Program Files\Inkscape\share\extensions\
Linux: ~/.config/inkscape/extensions/
(Re)start Inkscape.
Remember to make a backup of your current working Marlin if you have one - it's helpful to clearly label is as such. Copy planner.cpp, motion_control.cpp and motion_control.h into your Marlin folder Open Marlin.ino and edit the configurations for your machine, if you need to. Upload the program, and that should be that.
Please see the instructions here on how to install the Arduino and RAMPS 1.4 in your cheapo Chinese laser cutter and how to install Marlin.