已知圆弧槽形,反求砂轮/铣刀廓形

clc ;clear all ;close all;
r1=15;
r2=30;
b=30;%%螺旋角
c=75;%%刀具轴向与工件轴线最短距离
d=60;
%u=10;
%u1=0:5:75;
u=0:10:70;
n=length(u);


for u1=1:n
syms a
eqn=r2*(a/180*pi)*(cotd(b))^2*cosd(u(u1)-a)-c*sind(u(u1)-a)+sind(u(u1))*(c+r1*cosd(u(u1)-a)+r2*(1-cosd(a)))==0;
a=vpasolve(eqn);

xt=r2-r1*cosd(u(u1));
yt=r1*sind(u(u1));

x=xt*cosd(a)-yt*sind(a);
y=xt*sind(a)+yt*cosd(a);
z=r2*(a/180*pi)*cotd(b);

x0=x-c;
z0=(-y)*sind(d)+z*cosd(d);
y0=y*cosd(d)+z*sind(d);

R=sqrt(x0^2+y0^2);
xx(u1)=R;
yy(u1)=z0;
end 
xx=double(xx)
yy=double(yy)
plot(yy,xx);

%fprintf('%6.2f is u ; %6.8f is a; %6.8f is z; %6.8f is R;%6.8f ',u,a,z0,R,y);
fprintf('%6.2f is u1 ; %6.8f is n',u1,n);

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值