svg clipPath element

Lenore shared this problem 8 months ago
Not a Problem

Note, I'm very, very far from being an svg expert


I am attempting to draw mathematically in ggb, open in Inkscape and manipulate (copy, rotate, scale) and then use Inkscape to send to VisiCut which runs a laser engraver/cutter. I have discovered in this process that every line segment in ggb shows up in the svg file with a clipPath element which seems on simple testing to be unnecessary (and breaks my toolchain mentioned above). Why the seemingly unnecessarily clunky output in svg? I have attached both what ggb generates and my cleaned version [that looks correct when opened in Firefox and Inkscape and behaves as expected in Inkscape] of 3 line segments that form a triangle.

Comments (6)

photo
1

Sorry. I forgot to actually attach. Argh! How can we talk about what's wrong with svg export if we can't attach svg files? What files types will work? I see no list. Zip seems to have worked.

photo
1

Are you using GeoGebra 5 or GeoGebra 6?

photo
1

I'm using GeoGebra 5. (And I'm not getting emails when there's a response to my bug reports even though I've checked "following" so I didn't realize you'd responded. Sorry for the delay.)

photo
1

Please try GeoGebra 6 - it has much better SVG export


GeoGebra 5 SVG export won't get any more changes

photo
1

Since I don't want to redefine the entire figure, I'm trying to use ggb6 to open the file I created in ggb5. It's been a minute or more and all I get is "loading...". It's a big enough file that ggb5 was struggling a little to zoom/move, but this is not inspiring. Can self-made tools be used from one version to the other?


--- The file did finally open, but ggb6 is so much slower than ggb5 that for practical purposes ggb6 is unusable on this file. I can't even get the menu to open. As I recall, the slowness of ggb6 is a known issue so I'm a little puzzled by ggb5 development being stopped while ggb6 still has such a big speed problem.

photo
1

I finally got a tiny case open in ggb6 and the export to svg has only one clipPath element in this case.

© 2019 International GeoGebra Institute