$ rm -f *.gdml # remove existing old gdml file
$ gears export.mac # export gears.tg to gears.gdml
$ root -l visualize.C # visualize gears.gdml in ROOT
You can view the geometry using X3D or openGL by clicking “View” in the menu bar and then the “View With” menu.