Pages

Monday, May 15, 2006

We have an involute gear script!


Just got past the last peculiarity of the Beanshells scripting language and the gear profile displays. It would have never been possible without Vik's cog script as a starting point and his advice at critical moments. I'll be passing copies of the script around to the team as soon as I do a little code cleaning on it.

2 comments:

  1. Very nice.

    It could probably also do with a hole for an axle and some little hub thing sticking out a bit that can be used to fasten it to the axle.

    Can we produce gears of different sizes that still mesh correctly with each other?

    ReplyDelete
  2. ***It could probably also do with a hole for an axle and some little hub thing sticking out a bit that can be used to fasten it to the axle.***

    You do all that with AoI.

    ***Can we produce gears of different sizes that still mesh correctly with each other?***

    I think so. This routine figures the tooth placement from the pitch radius which, if I understand it correctly, is the place where the teeth of meshing gears interact.

    What you do is decide on a pitch radius, say 130 mm and 13 teeth. Then you if you wanted a 13:6 gear ratio you'd go for 60 mm and 6 teeth.

    I think that's how it works, let me try that and see...

    ReplyDelete