想通过pa求得pc点,正常程序是这样
(defun c:zx()
(setq l (getint "\n请输入板长l= "))
(setq h (getint "\n请输入板高h= "))
(setq pa (getpoint "请输入板左下角点: "))
(setq pb (polar pa 0 l ))
(setq pc (polar pb (/ pi 2) h))
(command "line" pa pb pc pa"");画出线框
)
能不能类似下面这样一步能求得pc,并利用rectang函数直接画出线框
(setq pc (polar pa 0 l (/ pi 2) h)) ;(这一步试过行不通)
(command "rectang" pa pc "")
还请大佬们指点