Sameer Puri
Sameer Puri
> > Interesting, could you share those SVGs? I wonder if the marker is in a defs section. In which case the fact that svg2gcode doesn't support use/defs (#56) is...
I looked at the SVG spec a little more closely today. Neither markers nor symbols are meant to be rendered directly, so I've gone ahead and stopped svg2gcode from rendering...
@MaierJuerg the text has to be converted to paths using Inkscape or another similar tool. Text rendering is tricky and I never got around to implementing it, especially because you...
Yeah the preview can be misleading, thanks for calling this out. FWIW you should be able to flatten the clip in inkscape.
The first SVG you shared has `` in it, which should be possible to support but isn't currently implemented. https://github.com/sameer/svg2gcode/blob/e0c2812e6782a319abf7869bcb8a1de3001a8769/lib/src/converter/visit.rs#L363
The viewBox looks fine to me. I'll debug this tomorrow, but in the meantime, you can try removing the 100%/100% width/height attributes. Set those to physical units if needed (in/cm).
> I actually had to interpolate the dpi to 95.63 for it to come out correctly in the correct size 🤔 Can you share the image?
> Not sure whether it's OK to attach here - but I could sent you a copy over a more private channel if that's OK with you? Sure, you can...