只需一步,快速开始
问题如题。还有当我定义了两个点之后,如何把这两个点用一条直线连接起来,成为一条线段?知道的大哥帮我下哈!非常感谢。能给我点代码那最好了
使用道具 举报
(command "line" pt1 pt2 "")
pt1\pt2分别为你定义的两个点
(setq p1 (list x y)) p2 (list x2 y2))
(command "line" p1 p2 "")
(setq a (getpoint "\n拾取第一点:"))
(setq b (getpoint a "\n拾取第二点:"))
(command "_.line" "_non" a "_non" b "")
(and
)
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-2-25 05:16 , Processed in 0.203240 second(s), 26 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.