2671| 29
|
绘制多段线自动在多段线各个端点添加直径1.5圆,删除圆内其它线段 |
1明经币
最佳答案(defun c:tt(/ p1 p2 p3 p4 pt dd )
(command ".undo" "be")
(setvar 'textstyle "Standard")
(setq p1(getpoint "\n指定点"))
(command ".CIRCLE" "non" p1 3)
(while
(setq p2(getpoint p1 "\n指定点")
p3(polar p1 (angle p1 p2) 3)
p4(polar p2 (angle p2 p1) 3)
)
(command ".line" "non" p3 "non" p4 "")
(setq dd (distance p1 p2 ...
| ||
发表于 2024-1-15 09:38:44
|
显示全部楼层
评分 | ||
| ||
| ||
发表于 2024-1-20 10:17:43
|
显示全部楼层
| ||
| ||
发表于 2024-1-20 17:55:14
|
显示全部楼层
| ||