'Dividing an svg line art based on the intersections or common points?
I'm working on a project where a provided image will be converted into line art and then will be converted into step-by-step paths for showing to the user. Finally, I'll convert the svg into gcode for a 2D plotter. I was able to create the line art using OpenCV and converted the line art into an SVG file and save it. But I'm not sure how to convert the paths into different steps. For example, the image provided is the letter 'A'. The line art will be converted into the following steps:
- First draw the '/' line.
- Then draw the '\' line.
- Finally, draw the '-' in the middle.
So basically, I want to create 3 separate svgs for those 3 steps. Any guidelines or helps related to this will be appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
