QQ登录

只需一步,快速开始

快捷登录

登录 或者 注册 请先

UG爱好者

查看: 516|回复: 0
打印 上一主题 下一主题

[原创] 在圆上取三个点求圆的位置及圆的半径:

[复制链接]

中尉

Rank: 5Rank: 5

20

主题

199

帖子

3448

积分
跳转到指定楼层
楼主
发表于 2024-4-17 19:26:22 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

根据圆的直角坐标方程:
(X-a)*(X-a)+(Z-b)*(Z-b)=R*R
圆心坐标(a,b)
从圆上取三个点求圆心坐标(a,b)和圆半径R
(X1 Z1)(X2 Z2)(X3 Z3)
X1:#511
X2:#512
X3:#513
Z1:#521
Z2:#522
Z3:#523
列方程组:
[#511-a]*[#511-a]+[#521-b]*[#521-b]=R*R
[#512-a]*[#512-a]+[#522-b]*[#522-b]=R*R
[#513-a]*[#513-a]+[#523-b]*[#523-b]=R*R
换算得到以下方程组:
[#511-a]*[#511-a]+[#521-b]*[#521-b]=[#512-a]*[#512-a]+[#522-b]*[#522-b](1)
[#512-a]*[#512-a]+[#522-b]*[#522-b]=[#513-a]*[#513-a]+[#523-b]*[#523-b](2)
化简:
(1):
[#511-a]*[#511-a]+[#521-b]*[#521-b]=[#512-a]*[#512-a]+[#522-b]*[#522-b](1)
#511*#511-2*a*#511+a*a+#521*#521-2*b*#521+b*b=#512*#512-2*a*#512+a*a+#522*#522-2*b*#522+b*b
#511*#511-2*a*#511+#521*#521-2*b*#521=#512*#512-2*a*#512+#522*#522-2*b*#522
#511*#511+#521*#521-2*a*#511-2*b*#521=#512*#512+#522*#522-2*a*#512-2*b*#522
#511*#511+#521*#521-#512*#512-#522*#522=2*a*#511+2*b*#521-2*a*#512-2*b*#522
#511*#511+#521*#521-#512*#512-#522*#522=2*a*#511-2*a*#512+2*b*#521-2*b*#522
#511*#511+#521*#521-#512*#512-#522*#522=2*a*[#511-#512]+2*b*[#521-#522]
#511*#511-#512*#512+#521*#521-#522*#522=2*a*[#511-#512]+2*b*[#521-#522]
[#511*#511-#512*#512+#521*#521-#522*#522]-2*b*[#521-#522]=2*a*[#511-#512]
[[#511*#511-#512*#512+#521*#521-#522*#522]-2*b*[#521-#522]]/[2*[#511-#512]]=a

(2):
[#512-a]*[#512-a]+[#522-b]*[#522-b]=[#513-a]*[#513-a]+[#523-b]*[#523-b](2)
#512*#512-2*a*#512+a*a+#522*#522-2*b*#522+b*b=#513*#513-2*a*#513+a*a+#523*#523-2*b*#523+b*b
#512*#512-2*a*#512+#522*#522-2*b*#522=#513*#513-2*a*#513+#523*#523-2*b*#523
#512*#512+#522*#522-2*a*#512-2*b*#522=#513*#513+#523*#523-2*a*#513-2*b*#523
#512*#512+#522*#522-#513*#513-#523*#523=2*a*#512+2*b*#522-2*a*#513-2*b*#523
#512*#512-#513*#513+#522*#522-#523*#523=2*a*#512+2*b*#522-2*a*#513-2*b*#523
#512*#512-#513*#513+#522*#522-#523*#523=2*a[#512-#513]+2*b[#522-#523]
[#512*#512-#513*#513+#522*#522-#523*#523]-[2*a[#512-#513]]=2*b[#522-#523]
[[#512*#512-#513*#513+#522*#522-#523*#523]-[2*a[#512-#513]]]/[2*[#522-#523]]=b

令:
#531=#511*#511-#512*#512+#521*#521-#522*#522
#532=#512*#512-#513*#513+#522*#522-#523*#523


#533=2*[#522-#523]
#534=2*[#512-#513]/#533
继续化简:
[[#531]-2*b*[#521-#522]]/[2*[#511-#512]]=a
[[#532]-[2*a[#512-#513]]]/[2*[#522-#523]]=b
[[#532]-[a*2*[#512-#513]]]/[2*[#522-#523]]=b

[#532-[2*a[#512-#513]]]/#533=b
[#532-[a*2*[#512-#513]]]/#533=b
#532/#533-a*#534=b

#532/#533-b=[[[#531]-2*b*[#521-#522]]/[2*[#511-#512]]]*#534
#532/#533-b=#534/[2*[#511-#512]]*[[#531]-2*b*[#521-#522]]
#532/#533-#534/[2*[#511-#512]]*[#531]=-2*b*[#521-#522]*#534/[2*[#511-#512]]+b
#532/#533-#534/[2*[#511-#512]]*[#531]=b-2*b*[#521-#522]*#534/[2*[#511-#512]]
b-2*b*[#521-#522]*#534/[2*[#511-#512]]=#532/#533-#534/[2*[#511-#512]]*[#531]
b[1-2*[#521-#522]*#534/[2*[#511-#512]]]=#532/#533-#534/[2*[#511-#512]]*[#531]
b=[#532/#533-#534/[2*[#511-#512]]*[#531]]/[1-2*[#521-#522]*#534/[2*[#511-#512]]]

简化后得到所需要的公式:
b:[#532/#533-#534/[2*[#511-#512]]*[#531]]/[1-2*[#521-#522]*#534/[2*[#511-#512]]](Z 坐标)
a:#536=[#531-2*#535*[#521-#522]]/[#511-#512]/2(X 坐标)
R:#537=SQRT[[#511-#536]*[#511-#536]+[#521-#535]*[#521-#535]](半径)

注意这里的计算不包含刀具球半径,实际应用时要算进去!



版权声明  
本人声明此帖为本人原创帖,未经允许,不得转载!

有奖推广贴子: 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

 
 
QQ:1359218528
工作时间:
9:00-17:00
 
微信公众号
手机APP
机械社区
微信小程序

手机版|UG爱好者论坛 ( 京ICP备10217105号-2 )    论坛管理员QQ:1359218528

本站信息均由会员发表,不代表本网站立场,如侵犯了您的权利请联系管理员,邮箱:1359218528@qq.com  

Powered by UG爱好者 X3.2  © 2001-2014 Comsenz Inc. GMT+8, 2024-11-28 16:02

返回顶部