리습에서 각도는 라디안으로 계산한다. 도(º)를 라디안으로 변환하는 함수다.
;;
(defun KM:RAD ( _DEGREE / deg ang)
(setq deg _DEGREE)
(setq ang (* pi (/ deg 180.)))
)
;;
반응형
'autocad' 카테고리의 다른 글
| Remove item in the LIST (0) | 2025.09.10 |
|---|---|
| 선택한 것들 bylayer 색상, '0' 레이어로 변경 (SUBST multi CONS) (0) | 2025.09.09 |
| 문장 내부에 마지막 숫자만 무조건 1 증가; 감소 (0) | 2025.09.04 |
| 대소문자 바꾸기 (0) | 2025.09.03 |
| Find Centroid of reg.Triangle (0) | 2025.09.02 |