只需一步,快速开始
liuhe 发表于 2023-7-18 13:45 二维测试和你的函数结果相同
使用道具 举报
wharan 发表于 2023-7-19 11:23 trans函数一直没搞明白。比如当前坐标系中一个矩形的左上角坐标(x1 y1 0),左下角坐标(x0 y0 0)。矩形 ...
guosheyang 发表于 2023-7-19 19:42 这个用polar应该是较为简单的方法
gaics 发表于 2023-7-19 19:45 没错,trans反而复杂了
gaics 发表于 2023-7-19 19:44 (mapcar'+(trans(trans (list x1 y1) 0 (list (cos (- ang))(sin (- ang))))'(1 0 0)0)(list x y))
guosheyang 发表于 2023-7-19 20:32 朋友 请问你这里面咋没有 (x0 y0 0)点呢?
gaics 发表于 2023-7-19 20:34 用相对位移(x y)就够了,(x0 y0 0)没啥用,旋转角度也是相对的。
您需要 登录 才可以下载或查看,没有账号?注册
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-2-23 10:46 , Processed in 0.173352 second(s), 19 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.