LaserWeb4 icon indicating copy to clipboard operation
LaserWeb4 copied to clipboard

Clipped (cropped) Inkscape SVG files do not maintain the clipping in LW4

Open awmt102 opened this issue 1 year ago • 1 comments

When i apply a clip (crop) to an object in Inkscape it clips correctly. When I import this into LW4 the clip is not pulled through and the entire unclipped element is visible. Example files attached.

LaserWeb 4.0.999 on Mac OS Ventura 13.2.1 Inkscape 1.2.1

test.json.txt test Screenshot 2023-04-27 at 12 39 21

awmt102 avatar Apr 27 '23 11:04 awmt102

If something is shown in LaserWeb, it obviously was in the svg. So your croping didn't work. Instead of croping, you could try to copy only the needed parts to a new file.

cprezzi avatar May 31 '24 07:05 cprezzi

https://forum.makerforums.info/t/clipped-cropped-inkscape-svg-files-do-not-maintain-the-clipping-in-lw4/88040 and https://forum.makerforums.info/t/clipped-cropped-inkscape-svg-files-do-not-maintain-the-clipping-in-lw4/88040/4

Are essentially the same topic; LW takes a very simple approach and generates paths for all lines and curves in the source. It has no concept of 'clipping', the above topics cover this and how to work around.

easytarget avatar Jul 12 '24 13:07 easytarget