@@KK_CADfound the reason that belt move around circle. you did not consider the scenario of (angle - Index *10 < 0). which needs more if else branches.
@@KK_CAD changing sign of Index from - to + won't solve the issue. it just postpone the happening time. after angle > 180, you will see the tooth start move and go away at the upper right side. :) ( because all them just follow same scenario: Variables.angle + Index * 10 > 560 ? )
so help me to know how FreeCAD doing animation. Thank you very much
You are welcome!
@@KK_CADfound the reason that belt move around circle. you did not consider the scenario of (angle - Index *10 < 0). which needs more if else branches.
@@heimizhou450 Thank you for the comments. I consider that as I can use "+" instead of "-" for indexing the elements, so there will be no
@@KK_CAD changing sign of Index from - to + won't solve the issue. it just postpone the happening time. after angle > 180, you will see the tooth start move and go away at the upper right side. :)
( because all them just follow same scenario: Variables.angle + Index * 10 > 560 ? )
from angle > 20 (at beginning @3rd step) it will happen because : 20 + Index (=75) * 10 = 770 > 760