diff --git a/README.md b/README.md index 79fa9f4..7247573 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,25 @@ A gear module for FreeCAD ![gear](examples/spiral.png) +## supported gear-types: +- cylindric involute + - shifting + - helical + - double helical + - undercut + +- involute rack + +- cylindric cycloid + - helical + - double helical + +- spherical involute bevel-gear + - spiral + +- crown-gear + + Use only with FreeCAD version > 0.16 * install on Linux: diff --git a/examples/animation.py b/examples/animation.py new file mode 100644 index 0000000..e786dce --- /dev/null +++ b/examples/animation.py @@ -0,0 +1,18 @@ +# script for bevel-gear animation + +from PySide import QtGui, QtCore + +doc = App.ActiveDocument +g2 = doc.Common +g1 = doc.Common001 + +timer = QtCore.QTimer() + +def update(*args): + print("time") + delta_phi = 0.005 + g1.Placement.Rotation.Angle += delta_phi * 2 + g2.Placement.Rotation.Angle -= delta_phi + +timer.timeout.connect(update) +timer.start() \ No newline at end of file diff --git a/examples/bevel_gear_animation.fcstd b/examples/bevel_gear_animation.fcstd new file mode 100644 index 0000000..b3ede20 Binary files /dev/null and b/examples/bevel_gear_animation.fcstd differ