Parametric Timing Pulley v4
by JamesNewton, published
This OpenSCAD script makes many different types of pulleys for just about any sort of timing belt. This latest version adds support for shafts that have a flat, for multiple nut sizes based on the shaft diameter, adjustable flanges, and for making pulley sets, where the second one is based on a ratio of teeth from the first one. The prior version added support for any number of setscrews and allowed them to be at an angle. The original (By Erik de Bruijn) supported threaded shafts with a recess for a nut to hold the pulley in place, or an even number of set screws printed in a hub with a (capped) teardrop hole. The original works well with the Synchroflex(R) timing belt,1500Lx10Wmm from RS (order code 474-5892), spliced in half (to 5 mm width).
Recent Commentsview all
Liked Byview all
Give a Shout Out
Render with F6, as F5 doesn't always work correctly with this script. If rendering is very slow, change $fs to 1 and $fa to 12; at least while working. Change the parameters for your belt, and for your pulleys. The samples supplied include a small pulley for a stepper motor with a flat on it's shaft, a large pulley with a 4:1 ratio of teeth to the first one and a large hub with 3 setscrews at a slight angle, and another small one with a nut recess for a threaded rod.
<tt> <b>GENERIC PARAMETERS:</b>
<b>toothType</b> // 1 = slightly rounded, 2 = oval sharp, 3 = square. For square, set the toothWidth a little low.
$fs=0.2; // defaults 1, 0.2 is high res $fa=3; //defaults 12, 3 is very nice //NOTE: If rendering is very slow, change $fs to 1 and $fa to 12; at least while working.
<b>PULLEY SPECIFIC PARAMETERS:</b>
<b>pitch</b> // distance between the teeth <b>beltWidth</b> // the width/height of the belt. The (vertical) size of the pulley is adapted to this. <b>beltThickness</b> // thickness of the part excluding the notch depth! <b>notchDepth</b> // make slightly bigger than actual, to avoid outward curvature in the inner solid part of the pulley <b>toothWidth</b> // Teeth of the PULLEY, that is. <b>numTeeth</b> // this value together with the pitch determines the pulley diameter <b>flanges</b> // the rims that keep the belt from going anywhere, 0, 1 (on the top) or 2 <b>flangeHeight</b> // how much the flanges angle in toward the inner diameter of the pulley. <b>shaftDiameter</b> // the shaft at the center, will be subtracted from the pulley. Better be too small than too wide. // If there is no flat, and no setscrew, we assume the shaft is threaded and a recess for a nut is added. // The nut size is selected automatically based on the shaft size, and reported in the compile log. <b>shaftFlatDiameter</b> // the diameter of the shaft when measured at a flat milled in the shaft. 0 if the shaft is round. <b>hubDiameter</b> // if the hub or timing pulley is big enough to fit a nut, this will be embedded. <b>hubHeight</b> // the hub is connected to the pulley to allow a set screw to go through or as a collar for a nut. <b>hubSetScrewDiameter</b>// use either a set screw or nut on a shaft. Set to 0 to not use a set screw. <b>hubSetScrewAngle</b> // change from 90 to angle the setscrews <b>hubSetScrews</b> // 1 is usually fine, 3 allows centering </tt>