MARKWIN has asked for the wisdom of the Perl Monks concerning the following question:

Im writing a Perl module to cut cycloidal gear wheels out of sheet metal. The code actually generates g-code that can be fed to a milling machine. Its currently called cog.pm but I know this is wrong on at least two counts: Its a top level name and perhaps shouldnt be, and its all lower case and shouldnt be. So I'd like some advice. What should I call it? A few examples can be seen here: http://www.jetmark.co.uk/cog/

Hmm. I notice when I first discussed this a year or so ago, that my intention was to call it CNC::Cog This still seems like a good idea, so thats what I'll do. Any further comments?

  • Comment on What should I call a gear cutting module now called cog.pm?

Replies are listed 'Best First'.
Re: What should I call a gear cutting module now called cog.pm?
by Corion (Patriarch) on Oct 30, 2005 at 18:53 UTC

    I don't know what g-code is - I guess it's what G-Men speak. But then, you could call it just that, Gcode::Gears, or Gcode::Generator::Gears or something like that. Maybe CNC::Generator::Gears, if the G-code is somewhat widely spread or universally understood by all CNC milling machines.

        but there are many slightly different varients.

        Is there any way to define the variant for which your module produces code? Or, does it use a subset that will it work across all variants? The reason I ask is that it might be a good idea to include that in your module name if it is doable.

        -sauoq
        "My two cents aren't worth a dime.";
        
Re: What should I call a gear cutting module now called cog.pm?
by zentara (Cardinal) on Oct 31, 2005 at 12:32 UTC
    The software currently covers horrelogical tooth shapes

    Perfect for Halloween.

    P.S. Somehow has to say it....how about naming it G-Spot. :-)


    I'm not really a human, but I play one on earth. flash japh
Re: What should I call a gear cutting module now called cog.pm?
by cog (Parson) on Oct 31, 2005 at 12:42 UTC
    :-O
Re: What should I call a gear cutting module now called cog.pm?
by pboin (Deacon) on Oct 31, 2005 at 14:01 UTC

    Like the others, I don't know much about CNC or g-code, so I lack context to make any real suggestions. I do however, write modules for in-house use with many proprietary products. In order to fit the Perl Way a little more closely, I use capitalized vendor name followed by capitalised usage. For example, today I'm finishing a module that handles batch update cards for a piece of sofware from a company called Mobius. That module is Mobius::Card.