LaserWeb4 icon indicating copy to clipboard operation
LaserWeb4 copied to clipboard

Loading SVG from memroy(generated in the web application)

Open mfadel85 opened this issue 4 years ago • 3 comments

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

mfadel85 avatar May 21 '20 10:05 mfadel85

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).

cprezzi avatar Aug 06 '20 09:08 cprezzi

Thank you , I implemented it, I used MakerJS to generate svg from text, I just have to clean and organize it.

mfadel85 avatar Aug 07 '20 12:08 mfadel85

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.

easytarget avatar Aug 17 '20 18:08 easytarget