VisiCut icon indicating copy to clipboard operation
VisiCut copied to clipboard

support SVG mask and clip

Open mgmax opened this issue 12 years ago • 4 comments

Another step towards complete SVG support: clipping and masking. I have not yet needed them for lasercutting, so this is a low priority feature request you can keep for later :)

Example file: http://upload.wikimedia.org/wikipedia/commons/2/2f/Usa-maskSvgTutorial.svg http://upload.wikimedia.org/wikipedia/commons/d/d3/Usa-clipSvgTutorial.svg

mgmax avatar Jul 28 '12 19:07 mgmax

Masks should be supported by newer SVGSalamander versions, see https://github.com/blackears/svgSalamander/pull/78

mgmax avatar Oct 30 '22 18:10 mgmax

That's great. Did you test if visicut works with the new version without modifications or are there API changes?

t-oster avatar Nov 02 '22 14:11 t-oster

With the newer SVGSalamander version 1.1.4, masks work partially but not really great. So this issue will probably never be fixed.

mgmax avatar May 04 '24 20:05 mgmax

Hi, I’m the person who implemented the partial mask support for svgSalamander. I have since moved my efforts to developing my own svg rendering library: https://github.com/weisJ/jsvg

Masks and clips are fully supported in jsvg so this might be something to consider.

weisJ avatar Jun 09 '24 20:06 weisJ