
Tav,
Very nice!
Phil.
On Fri, 2007-01-05 at 14:31 +0100, Tavmjong Bah wrote:
On Wed, 2007-01-03 at 07:22 -0600, Aaron Spike wrote:
And lastly if the tooth profiles are important to you, please check out lib2geom. lib2geom is a 2d geometry toolkit being developed for use in inkscape. I've written a little toy program for generating gears with proper involute tooth profiles. These gears still lack the proper undercutting or addendum modifications for gears with small numbers of teeth.
Playing with gears looked like too much fun to ignore. I've used Aaron's python routine to make some gears that I have animated for a clock. See:
http://tavmjong.free.fr/INKSCAPE/DRAWINGS/clock_plain.svg
The animation is a resource hog... especially with Firefox 3. Firefox 2, Opera, and Batik aren't as bad. I learned a few new things about browser support for fonts and text on a path from this exercise:
Firefox always uses the same Sans Serif font for all text.
Opera 9 makes a mess of text on paths if the text is shifted.
Saving a file as plain SVG removes the onload("Start(evt") line required for animation. Guess I'll have to file a bug report on that.
Tav
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user