2935| 22
|
[提问] (求助)请教一下各位大神如何才能实现在矩形内生成直线 |
10明经币
最佳答案(defun c:ttt(/ p1 p2 p3 p4 pa pb)
(setq
p1(getpoint)
p3(getcorner p1)
p2(list (car p3)(cadr p1))
p4(list (car p1)(cadr p3))
pa(mapcar '(lambda (a b)(* (+ a b) 0.5)) p1 p4)
pb(mapcar '(lambda (a b)(* (+ a b) 0.5)) p2 p3)
pc(mapcar '(lambda (a b)(* (+ a b) 0.5)) p1 p2)
...
| ||
发表于 2022-6-4 19:27:59
|
显示全部楼层
| ||
| ||
| ||
发表于 2022-6-6 09:58:46
|
显示全部楼层
| ||
发表于 2022-6-6 10:15:30
|
显示全部楼层
| ||
| ||
| ||