Clock Builder Script

There are things that get re-used by various clocks and test jigs, but don’t really merit inclusion in the library itself. I got a little tired of managing multiple clock scripts, and having to make sure the latest improvements made it into the various configurations. So, all this common logic, for placing the gears, making them mesh and rotate, or laying them out to print, etc… that’s all now contained in this clock builder script which calls MCAD for the gears and my clockwork library for the clockwork. It, in turn is called by short scripts that contain only the parameter values for a particular clock, and any clock-specific code you might care to add (like a frame design, since I haven’t come up with a good generic one yet). Which means that if you want to play with clock configurations with as little as two or as many as nine wheels, with all, any or none of them bearing hands and/or concentric shafts, curled up as loose or as tight as you want, all you need to do is create a copy of a clock-script, and modify parameters to your heart’s content. The core code and parameters are unchanged.”


Related Content