Pen change/ SVG
2021-01-25 at 05:19 #29273
I am still very happy about my “Makelangelo” which I built almoste completely with leftovers from other projects (CNC shield, Arduino MEGA, NEMA 17 and “thingiverse”). So far I made already several pictures with different interfaces from the Makelangelo software (SVG, Scratch2, DXF, JPEG) and there are still plenty of things to test, optimize and draw. Most of the time I use the SVG format to import my geometries, pictures from “plotterfun” etc.
For a future project I would like to use at least 2 different pens, e.g. with different colors or thicknesses. Is there a possibility to use a single e.g. SVG file where the Makelangelo then draws the first color/ type and then asks to replace the pen and continues to plot the second part?
This could in principle be done with two different SVG files but I frequently use the options from the Makelangelo software to resize, flip etc. Thus, if I have two files the chances are high that the scaling gets messed up.
Bernd2021-01-25 at 10:50 #29274DanKeymaster
Have you tried to load a two-color SVG? It should already remember the colors and offer a pen change at the right moment.2021-02-02 at 04:52 #29300
I tried it with a relatively simple SVG file with only two colors. It draws everything in the same color and there is no “pause” etc.
Please find below an excerpt from the SVG I am using.
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
d=”M976 0 L986 6 L996 13 M1054 53 …. Z”
d=”m 1122.9626,1939.2465 -3.4987,6.1867 ….”
Do you know where I can find a “working” mulitcolor SVG-file. I could give it a try and may find the issue…
Bernd2021-07-19 at 09:32 #29551
Would like to adress it once more….
I already have some experience with SVGs etc., but multicolor SVGs still open as all in one color.
Is there an example available?
- You must be logged in to reply to this topic.