
Cut your own gears with profile shift - OpenSCAD library
thingiverse
It appears that the provided code snippet is a set of custom gear-related modules in OpenSCAD. These modules are used to create different types of gears such as cylindrical, beveled, herringbone, and helix gears. They can also calculate characteristic data such as modulus, pitch diameter, profile angle, etc., which can be useful for designing and sizing mechanical systems. Here's a brief explanation of the functionality provided by each module: * `gear(m, z, x, h, w, w_bevel=0, w_helix=0, D=0, clearance=0.1, center=true)`: This function creates a cylindrical gear with the given number of teeth `z`, modulus `m`, profile shift `x`, height `h`, and outer diameter `D`. * `gear2D(m, z, x, w, clearance=0.1)`: This module calculates some characteristic data of the gears but does not produce an object. It could be used for documentation or validation purposes. * `Rack(m, z, x, h, clearance = 0)`: This function creates a gear rack. * The modules with 'bevel', 'herringbone' and 'helix' in the name create a specific kind of cylindrical gear, but these types also add some special characteristics. To use this code library: 1. Open `gears.scad` using OpenSCAD or your preferred code editor. 2. Find an example from the module's list, and press F5 to render. 3. If necessary, adjust the parameter for each module. If you plan on utilizing the library extensively across different projects: 1. Move gears.scad to the main library folder (it will be found at 'OpenSCAD/libraries/') so that the modules can easily be called in any other OpenSCAD file with just a simple import statement ('include' without specifying the path) or project directory. Here is an example of calling it, but for better readability consider breaking these into separate lines and variables.: ``` include include module module module module module
With this file you will be able to print Cut your own gears with profile shift - OpenSCAD library with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Cut your own gears with profile shift - OpenSCAD library.