t-oster / VisiCut

A userfriendly tool to prepare, save and send Jobs to Lasercutters
https://visicut.org
Other
233 stars 115 forks source link

support SVG mask and clip #15

Open mgmax opened 12 years ago

mgmax commented 12 years ago

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 commented 2 years ago

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

t-oster commented 2 years ago

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

mgmax commented 6 months ago

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

weisJ commented 5 months ago

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.