LaserWeb4
LaserWeb4 copied to clipboard
Loading SVG from memroy(generated in the web application)
Hello everyone, I want to generate an SVG file inside the application and load it directly to generate gcode, I can use lw.svg-parser to parse my XML string in the SVG file, any clues on how to start?
Many thanks
The best would probably be to add a new tab "creator" after the "files" tab, in which you load the XML, create the SVG and add the SVG to the workspace. This has to be done the same way like the other tabs (with React & Redux).
Thank you , I implemented it, I used MakerJS to generate svg from text, I just have to clean and organize it.
I'm intrigued: Being able to generate Text, (and outlines/borders? consider this a feature request), directly in LW would be awesome. One less reason to bang my head on the desk while using Inkscape.