Taken from http://mydxf.blogspot.com/2008/11/inkscape-r12-dxf.html and fixed to work with the latest inkscape (0.92.1)
Extension de inkscape que genera codigo G para rasterizar/cortar con laser 2.5W by Team Maker-Welt