Gear project draws a gear in an open office drawing.
You can then load the open office drawing and a nice looking gear is shown.
You can adapt the nr of tooth from the commandline, the shape of the tooth can be changed from the source.
How does it work?
I unzipped an open office drawing and looked how the lines in a file were made, then i automatically generated the lines into the content.xml file and zip the stuff again to make a valid document.
Isn't it great to have open formats (that are also well readable...)!!!
What is essential...
Well, in the archive that you got this program in, there is a 'odg' directory this contains all the files that make up a valid OpenOffice drawing. The program should be run in a place where this odg directory is found...
example you unzipped this archive in a temp directory and now your file tree looks
like this : temp/gear/odg
then you should run the gear program from the temp/gear directory. .
well, it isn't that hard, you will figure it out...