I'd like to convert geometric figures between Mathematica and GeoGebra.
Does anyone know how to do that?
I'd like to convert geometric figures between Mathematica and GeoGebra.
Does anyone know how to do that?
Yes, GeoGebra files are in zipped XML so you can replicate GeoGebra drawings in Mathematica - concurrent with every GeoGebra Save.
I wrote a reader of GeoGebra XML and used it for exploring geometry. All symbols in GG can be used in Mathematica except those with "'" or "_" , the latter gets Subscript[].
Symbolic equations with GG symbols can be written in Mathematica. To get the evaluation use the function val[].
{xx, Sqrt[a b - ( a b c^2)/(a + b)^2]} // val
{9.22407, 9.22407}
Or if you don't bother to read values
AB == GD (1 + b/xx) + FD (1 + a/xx) // val
True
I've only tried a few primitive drawings since I was more interested in applying Mathematica computation to geometry {drawings}, but all the data is in the XML.