http://www.f-lohmueller.de/pov_tut/animate/anim141e.htm
Actual FM SDL, comments MINE.
#local R1 = 0.15; // Radius of Large Pulley
#local R2 = 0.075; // Radius of Small Pulley
#local Dist = 0.30; // Distance between pulleys
#local Link_N = 30; // number of links in chain
// -------------- calculations ---------
#local Ri = R1-R2; // Difference in pulley radii
#local C_Angle = degrees(asin(Ri/Dist)); // [Dist is a hypotenuse - should be
cos?!]
// chain length linear
#local LLen=sqrt(pow(Dist,2)-pow(Ri,2)); // [can't use a _hypotenuse_ as a
_side_?!]
Post a reply to this message
|