jc1984 发表于 2011-5-9 19:17
别的边界条件你自己琢磨琢磨吧
您好,我看了您做的渐开线齿轮之后大受启发,但是我有些东西想要向您请教!如何将齿轮的渐开线变为现在这种情况,而且仍然保证其是保证斜齿轮的斜度!期待您的回复!
上图的代码为(是经过上面的网友改编的):
r=10; N=20;
R=10.1;
for n=1:N
p=2*pi/N*(n-1);q=2*pi/N*n;
theta=2*pi/N*(n-1)+1/2*2*pi/N;
tao=2*pi/N*(n-1);
hold on;
plot([r*cos(tao),R*cos(theta)],[r*sin(tao),R*sin(theta)]);
plot([r*cos(q),R*cos(theta)],[r*sin(q),R*sin(theta)]);
end
axis equal;
axis([-2*r 2*r -2*r 2*r]);
|