没事就画气球!
autolisp吧
全部回复
仅看楼主
level 3


2023年10月05日 12点10分 1
level 12
光画个气球?里面的编号不顺手也写了?[滑稽][滑稽][滑稽]
2023年10月18日 01点10分 2
level 3
确实应该顺手加上
2023年11月25日 03点11分 3
level 2
我没事的时候写了个 画雪的 发给你玩玩
(defun c:mtdx ( / os)
(setq xhs (getint"输入数量"))
(command "zoom" '(0 0) '(100 100))
(repeat xhs
(xxh (list (setq hms_x (atoi (substr (rtos (GETVAR "cputicks")2) 12 2)))(setq hms_y (atoi (substr (rtos (GETVAR "cputicks")2) 12 2)))))
)
)
(defun xxh(xhxy1 / xhkx)
(setq os (getvar "osmode"))
(setvar "osmode" 0)
(command "line" xhxy1 (polar xhxy1 (* 0 pi)5)"")
(command "line" (polar (polar xhxy1 (* 0 pi) 1.6666) (* 0.25 pi) 2) (polar xhxy1 (* 0 pi) 1.6666) (polar (polar xhxy1 (* 0 pi) 1.6666) (* 1.75 pi) 2) "")
(command "line" (polar (polar xhxy1 (* 0 pi) 1.6666) (* 0.25 pi) 2) (polar xhxy1 (* 0 pi) 1.6666) (polar (polar xhxy1 (* 0 pi) 1.6666) (* 1.75 pi) 2) "")
(command "line" (polar (polar xhxy1 (* 0 pi) 3.3333) (* 0.25 pi) 2) (polar xhxy1 (* 0 pi) 3.3333) (polar (polar xhxy1 (* 0 pi) 3.3333) (* 1.75 pi) 2) "")
(setq xhkx (ssget "c" xhxy1 (polar xhxy1 (* 0 pi)5)))
(command "array" xhkx "" "p" xhxy1 "6" "360" "")
(setvar "osmode" os)
)
2025年11月13日 06点11分 4
1