 - (defun c:tt ()
- (setq hh (getdist "\n高度<50>: "))
- (if (null hh)
- (setq hh 50.0)
- )
- (while (setq p0 (getpoint "\n中心点: "))
- (setq p1 (mapcar '+ p0 (list (- hh) (* hh -0.5)))
- p2 (mapcar '+ p0 (list hh (* hh 0.5)))
- )
- (command "_rectang" "non" p1 "non" p2)
- (command "_circle" p0 "non" p1)
- )
- (princ)
- )
|