• Stars
    star
    279
  • Rank 147,967 (Top 3 %)
  • Language OpenSCAD
  • License
    Other
  • Created about 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenSCAD gear generator.

OpenSCAD gear generator

This is a fork of this OpenSCAD gear generator, translated into English.

OpenSCAD Library for Gear Racks, Involute and Worm Gears

A library for the parametric creation of gear racks, spur-, ring-, bevel- and worm gears, as well as of assemblies.

Parametric Gear Rack

Creates a gear rack.

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 20° helix angle, a pressure angle of 20° becomes a pressure angle of 21.17° in the transverse section.

Format

zahnstange(modul, laenge, hoehe, breite, eingriffswinkel=20, schraegungswinkel=0)

Parameters

  • modul = height of the tooth above the pitch line
  • laenge = length of the rack
  • hoehe = height from bottom to the pitch line
  • breite = face width
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867. Should not be greater than 45°.
  • schraegungswinkel = bevel angle perpendicular to the rack's length; 0° = straight teeth

Parametric Involute Spur Gear

Creates an involute spur gear without profile displacement following DIN 867 / DIN 58400.

Two gears will mesh if their modules are the same and their helix angles opposite. The centre distance of two meshing gears A and B with module m and tooth numbers za and zb is m/2·(za + zb)

Helical gears run more smoothly than gears with straight teeth. However, they also create axial loads which the bearings must be designed to contain. Recommendations for the helix angle depending on the module can be found in DIN 3978.

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 20° helix angle, a pressure angle of 20° becomes a pressure angle of 21.17° in the transverse section.

Format

stirnrad (modul, zahnzahl, breite, bohrung, eingriffswinkel=20, schraegungswinkel=0, optimiert=true)

Parameters

  • modul = gear module = height of the tooth above the pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl = number of teeth
  • breite = face width
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle to the rotation axis; 0° = straight teeth
  • optimiert = if true, create holes for material/weight reduction resp. surface increase, if geometry allows

Parametric Herringbone Involute Spur Gear

Creates a herringbone spur gear without profile displacement. Two gears will mesh if their modules are the same and their helix angles opposite. The centre distance of two meshing gears with module m and tooth numbers za and zb is m/2·(za + zb)

Herringbone gears run more smoothly than gears with straight teeth. They also do not create torque on the axis like helical gears do.

A helix angle, if used, should be set between between 30° and 45°. Recommendations for the helix angle depending on the module can be found in DIN 3978.

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 30° helix angle, a pressure angle of 20° becomes a pressure angle of 22.80 in the transverse section.

Format

pfeilrad (modul, zahnzahl, breite, bohrung, eingriffswinkel=20, schraegungswinkel=0, optimiert=true)

Parameters

  • modul = gear module = height of the tooth above the pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl = number of teeth
  • breite = face width
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle to the rotation axis; 0° = straight teeth
  • optimiert = if true, create holes for material/weight reduction resp. surface increase, if geometry allows

Parametric Gear Rack and Pinion

Creates a gear rack and pinion.

Helical gears / bevelled racks run more smoothly than gears with straight teeth. However, they also create axial loads which the bearings must be designed to contain. Recommendations for the helix angle depending on the module can be found in DIN 3978.

With a given module m and zp teeth on the pinion, the distance between the pinion's axis and the rack's pitch line is m/2·zp

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 20° helix angle, a pressure angle of 20° becomes a pressure angle of 21.17° in the transverse section.

Format

zahnstange(modul, laenge, hoehe, breite, eingriffswinkel=20, schraegungswinkel=0)

Parameters

  • modul = gear module = height of the tooth above the pitch line/pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • laenge_stange = length of the rack
  • zahnzahl_ritzel = number of teeth on the pinion
  • hoehe_stange = height from bottom to the pitch line
  • bohrung_ritzel = central bore diameter of the pinion
  • breite = face width
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = bevel angle perpendicular to the rack's length resp. helix angle to the rotation axis on the pinion; 0° = straight teeth
  • zusammen_gebaut = assembled (true) or disassembled for printing (false)

Parametric Involute Ring Gear

Creates a herringbone ring gear without profile displacement. Helical gears run more smoothly than gears with straight teeth. However, they also create axial loads which the bearings must be designed to contain. Recommendations for the helix angle depending on the module can be found in DIN 3978.

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 20° helix angle, a pressure angle of 20° becomes a pressure angle of 21.17° in the transverse section.

Format

hohlrad(modul, zahnzahl, breite, randbreite, eingriffswinkel=20, schraegungswinkel=0)

Parameters

  • modul = gear module = height of the tooth above the pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl = number of teeth
  • breite = face width
  • randbreite = width of the rim around the ring gear, measured from the root circle
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle to the rotation axis; 0° = straight teeth

Parametric Herringbone Involute Ring Gear

Creates a herringbone ring gear without profile displacement. A ring and spur gear mesh if they have the same module and opposite helix angels. Herringbone gears run more smoothly than gear with straight teeth. They also do not create axial load like helical gears do.

A helix angle, if used, should be set between between 30° and 45°. Recommendations for the helix angle depending on the module can be found in DIN 3978. This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 30° helix angle, a pressure angle of 20° becomes a pressure angle of 22.80° in the transverse section.

Format

pfeilhohlrad(modul, zahnzahl, breite, randbreite, eingriffswinkel=20, schraegungswinkel=0)

Parameters

  • modul = gear module = height of the tooth above the pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl = number of teeth
  • breite = face width
  • randbreite = width of the rim around the ring gear, measured from the root circle
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle to the rotation axis; 0° = straight teeth

Parametric Planetary Gear using Involute Tooth Geometry and Herringbone Shape

This script calculates both the ring gear as well as, if required, the number and geometry of the planetary gears from the number of teeth on the sun and planets. For a module of m, zs teeth for the sun and zp teeth for the planets, the centre distance will be m/2·(zs + zp)

If the number of planets is set to zero (anzahl_planeten = 0) then the module will try and calculate them.

For a module of m, zs teeth for the sun, zp teeth for the planets and a rim width of br, the outer diameter is m·(zs+2zp+2.333)+2br

The helix angle should be between between 30° and 45°. Recommendations for the helix angle depending on the module can be found in DIN 3978. This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 30° helix angle, a pressure angle 20° becomes a pressure angle of 22.80° in the transverse section.

If no number of gears is given (anzahl_planeten = 0), then the script will attempt to calculate the least number of planet gears.

To avoid the gears sticking in a 3D print, particularly sticking of the planet gears to the ring gear, the gears can be printed in disassembled layout (zusammen gebaut = false). In that case, please note that herringbone teeth complicate the re-assembly. Experience shows that reassembly is still possible at 30°; however in case of reassembly problems, a lesser helix angle should be selected. Of course, one could always choose straight teeth (Schraegungswinkel = 0).

The gears can also be kept from sticking by a sufficiently large clearance ("Spiel"); a sufficient clearance also avoids meshing problems. Clearance can be left smaller if the 3D printer offers good resolution, however experience shows that it should not be less than 5%.

Format

planetengetriebe(modul, zahnzahl_sonne, zahnzahl_planet, breite, randbreite, bohrung, eingriffswinkel=20, schraegungswinkel=0, zusammen_gebaut=true, optimiert=true)

Parameters

  • spiel = clearance between teeth as a fraction of their width (0 = no clearance)
  • modul = gear module = height of the tooth above the pitch circle = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl_sonne = number of teeth on the sun gear
  • zahnzahl_planet = number of teeth per planet gear
  • anzahl_planeten = number of planet gears; if set to zero, the script will attempt to calculate the least number of planet gears
  • breite = face width
  • randbreite = width of the rim around the ring gear, measured from the root circle
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle to the rotation axis; 0° = straight teeth
  • zusammen_gebaut = components assembled for construction (true) or disassembled (false) for 3D printing
  • optimiert = if true, create holes for material/weight reduction resp. surface increase, if geometry allows

Parametric Herringbone Bevel Gear with Spherical Involute Geometry

This script creates a herringbone bevel gear with spherical involute teeth geometry. Two gears will mesh if their modules are the same and their helix angles opposite. Herringbone gears run more smoothly than gear with straight teeth. They also do not create axial load like helical gears do. Recommendations for the helix angle depending on the module can be found in DIN 3978.

This script adjusts the pressure angle in the transverse section to the helix angle: e.g. with a 30° helix angle, a pressure angle of 20° becomes a pressure angle of 22.80° in the transverse section.

Format

pfeilkegelrad(modul, zahnzahl, teilkegelwinkel, zahnbreite, bohrung, eingriffswinkel=20, schraegungswinkel=0)

Parameters

  • modul = gear module = height of the gear teeth above the pitch cone = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl = number of teeth
  • teilkegelwinkel = reference cone (half-)angle
  • zahnbreite = width of teeth from the rim in direction of the reference cone tip
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle between the teeth and the reference cone envelope line, 0° = straight teeth

Parametric Pair of Bevel Gears

This script calculates both the gear and the pinion of a bevel gear pair, using the gears' module and their numbers of teeth. The preset angle of 90° between the axes of both gears can be varied. It is possible to calculate the pair both assembled for design as well as disassembled for printing.

Format

kegelradpaar(modul, zahnzahl_rad, zahnzahl_ritzel, achsenwinkel=90, zahnbreite, bohrung, eingriffswinkel = 20, schraegungswinkel=0, zusammen_gebaut=true)

Parameters

  • modul = gear module = height of the gear teeth above the pitch cone = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl_rad = number of teeth on the gear
  • zahnzahl_ritzel = number of teeth on the pinion
  • achsenwinkel = angle between the axes of pinion and gear, standard value = 90°
  • zahnbreite = width of the teeth from the rim in direction of the cone tip
  • bohrung_rad = central bore diameter of the gear
  • bohrung_ritzel = central bore diameter of the pinion
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle between the teeth and the reference cone envelope line, 0° = straight teeth
  • zusammen_gebaut = assembled (true) oder disassembled for printing (false)

Parametric Pair of Herringbone Bevel Gears

This script calculates both the gear and the pinion of a herringbone bevel gear pair, using the gears' module and their numbers of teeth. The preset angle of 90° between the axes of both gears can be varied. It is possible to calculate the pair both assembled for design as well as disassembled for printing.

Format

pfeilkegelradpaar(modul, zahnzahl_rad, zahnzsahl_ritzel, achsenwinkel=90, zahnbreite, bohrung, eingriffswinkel = 20, schraegungswinkel=0, zusammen_gebaut=true)

Parameters

  • modul = gear module = height of the gear teeth above the pitch cone = 25.4 / diametrical pitch = circular pitch / Ï€
  • zahnzahl_rad = number of teeth on the gear
  • zahnzahl_ritzel = number of teeth on the pinion
  • achsenwinkel = angle between the axes of pinion and gear, standard value = 90°
  • zahnbreite = width of the teeth from the rim in direction of the cone tip
  • bohrung_rad = central bore diameter of the gear
  • bohrung_ritzel = central bore diameter of the pinion
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • schraegungswinkel = helix angle between the teeth and the reference cone envelope line, 0° = straight teeth
  • zusammen_gebaut = assembled (true) or disassembled for printing (false)

Parametric Worm

Creates a cylidrical worm (archimedean spiral) following DIN 3975.

The worm's pitch circle r can be calculated out of its module m, number of threads z and lead angle γ:

r = m·z·1/2sinγ

Format

schnecke(modul, gangzahl, laenge, bohrung, eingriffswinkel=20, steigungswinkel=10, zusammen_gebaut=true)

Parameters

  • modul = height of the thread above the pitch circle
  • gangzahl = number of threads
  • laenge = length of the worm
  • bohrung = central bore diameter
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867
  • steigungswinkel = lead angle of worm. Positive lead angle = clockwise thread rotation
  • zusammen_gebaut = assembled (true) or disassembled for printing (false)

Worm Gear Set (Worm and Pinion)

Creates a set of one worm gear and a pinion. The pinion is a normal spur gear without globoid geometry.

Format

module schneckenradsatz(modul, zahnzahl, gangzahl, breite, laenge, bohrung_schnecke, bohrung_rad, eingriffswinkel=20, steigungswinkel, optimiert=true, zusammen_gebaut=true)

Parameter

  • modul = gear module = and height of the gear teeth above th pitch circle / of the thread above the pitch circle
  • zahnzahl = number of teeth on the pinion
  • gangzahl = number of threads
  • breite = face width on the pinion
  • laenge = length of the worm
  • bohrung_schnecke = central bore diameter of the worm
  • bohrung_rad = central bore diameter of the pinion
  • eingriffswinkel = pressure angle, standard value = 20° according to DIN 867. Shouldn't be greater than 45°
  • steigungswinkel = lead angle of worm. Positive lead angle = clockwise thread rotation
  • optimiert = if true, create holes for material/weight reduction resp. surface increase, if geometry allows
  • zusammen_gebaut = assembled (true) or disassembled for printing (false)

More Repositories

1

django-chroniker

Easily control cron jobs through Django's admin.
Python
138
star
2

webarticle2text

[DEPRECATED] A script to extract the main article text from an arbitrary webpage.
HTML
86
star
3

weka

A Python wrapper for Weka
Python
76
star
4

dtree

A simple pure-Python decision tree construction algorithm
Python
55
star
5

ros_mpu6050_node

ROS driver for the MPU6050 IMU and DMP.
C++
46
star
6

django-materialized-views

A simple Django framework for managing materialized views.
Python
28
star
7

criticalpath

Calculates the critical path of a task network.
Python
25
star
8

django-database-size

Monitor the size of your database tables from Django.
Python
15
star
9

asklet

A learning algorithm for the 20 questions game.
Python
14
star
10

freekey

Allows limited keyboard use on a locked desktop
Python
12
star
11

rpi_gpio

A ROS node for controlling the GPIO pins on a Raspberry Pi
Python
11
star
12

django-rete

The RETE-UL algorithm implemented on top of Django's ORM.
Python
10
star
13

ros_qr_tracker

QR code tracking package for ROS.
Python
9
star
14

laser-range-finder

Calculates distance using a low-power laser and a generic webcam
Python
9
star
15

django-python-code-field

Store python source code in a database field. Validates syntax of source code on saving to the database.
JavaScript
8
star
16

openscad-extra

Useful addon scripts for OpenSCAD
OpenSCAD
8
star
17

homebot

A low cost open source robot for experimentation.
C++
8
star
18

facekey

Python script to unlock your Linux desktop with your face.
Python
8
star
19

django-noaa

Django app for downloading and storing historical weather data from NOAA.
Python
6
star
20

ntp-clock-projector

A wireless network clock that projects the time onto a wall or ceiling.
C
5
star
21

reinforce

A simple Python reinforcement learning library.
Python
4
star
22

django-analyze

A general purpose framework for training and testing classification algorithms.
Python
4
star
23

django-sense

A Django wrapper around Wordnet and Conceptnet
Python
3
star
24

django-federal-reserve

Django model for storing Federal Reserve time series.
Python
3
star
25

django-data-mirror

Cache remote API data in local Django models
Python
2
star
26

SmoothServo

An Arduino library for smoothing a servo control signal.
C++
2
star
27

speech-to-text-test

A script for testing the accuracy of various speech-to-text systems.
Python
2
star
28

jshint-scanner

Python
2
star
29

sitebias

Python
1
star
30

planner

A simple Python real-time best-first planning algorithm.
Python
1
star
31

django-pjm

A Django app for managing public PJM energy pricing data.
Python
1
star
32

django-worldbank

Django model for storing World Bank indicator data.
Python
1
star
33

sklearn-extra

Additional classification and regression algorithms based on the scikit-learn library.
Python
1
star
34

wptablefinder

Finds and extracts tables from Wikipedia.
Python
1
star
35

webtimer

Measures download times of web page resources.
Python
1
star