some examples

This commit is contained in:
lo
2018-03-16 23:54:10 +01:00
parent 02816ddb44
commit c7bcbf3349
3 changed files with 37 additions and 0 deletions

View File

@@ -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:

18
examples/animation.py Normal file
View File

@@ -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()

Binary file not shown.