Lisp lệnh R90 R30 R45 R15 R60 R-90 R180 R-180 R-60 R-45 R-15 R-30 trong chủ đề “lisp quay goc nghieng”
Tham khảo coi, *chưa kịp gõ tiếng việt mà nó cứ đòi gõ*
https://www.cadviet.com/upfiles/2/ro.lsp
- Tải lisp
- 83783_r90_r30_r45_r15_r60_r-90_r180_r-180_r-60_r-45_r-15_r-30.lsp
Cách dùng
- Tải tệp 83783_r90_r30_r45_r15_r60_r-90_r180_r-180_r-60_r-45_r-15_r-30.lsp về máy.
- Trong AutoCAD gõ lệnh APPLOAD, chọn tệp vừa tải rồi bấm Load. Cũng có thể kéo thả tệp .lsp vào cửa sổ bản vẽ.
- Gõ lệnh R90 R30 R45 R15 R60 R-90 R180 R-180 R-60 R-45 R-15 R-30 để chạy lisp.
Mã nguồn 83783_r90_r30_r45_r15_r60_r-90_r180_r-180_r-60_r-45_r-15_r-30.lsp
;; free lisp from cadviet.com
;;; this lisp was downloaded from https://www.cadviet.com/forum/topic/16010-lisp-quay-goc-nghieng/
(defun c:R90 ()(command "ROTATE" pause "" "@" "90")(princ))
(defun c:R30 ()(command "rotate" pause "" "@" "30")(princ))
(defun c:r45 ()(command "rotate" pause "" "@" "45")(princ))
(defun c:r15 ()(command "rotate" pause "" "@" "15")(princ))
(defun c:r60 ()(command "rotate" pause "" "@" "60")(princ))
(defun c:r-90 ()(command "rotate" pause "" "@" "-90")(princ))
(defun c:r180 ()(command "rotate" pause "" "@" "180")(princ))
(defun c:r-180 ()(command "rotate" pause "" "@" "-180")(princ))
(defun c:r-60 ()(command "rotate" pause "" "@" "-60")(princ))
(defun c:r-45 ()(command "rotate" pause "" "@" "-45")(princ))
(defun c:r-15 ()(command "rotate" pause "" "@" "-15")(princ))
(defun c:r-30 ()(command "rotate" pause "" "@" "-30")(princ))Thảo luận gốc
Lisp được chia sẻ trong chủ đề lisp quay goc nghieng. Xem đúng bài viết #83783 để đọc hướng dẫn và trao đổi thêm.