Translations:A2plus Workbench/128/en

step = 1 timeout = 0.001 angle = 0 document = FreeCAD.activeDocument starWheel = document.getObject("star_wheel_001") progressDialog = PySide.QtGui.QProgressDialog(u"Animation progress", u"Stop", 0, 360)
 * 1) we use steps of 1 degree
 * 1) wait 1 ms between every step
 * 1) initial angle is 0 degree
 * 1) we take the currently opened document
 * 1) we want later change the rotation angle of the part "star_wheel_001"
 * 1) define a progress dialog running from 0 to 360