Lisp lệnh LOAI1 LOAI2 trong chủ đề “giúp em làm cái lisp vẽ đoạn thẳng này với.”
mifepristone misoprostol canada wtc Ninety-six percent of Lyme disease cases come from 13 states. Lyme disease â the most common tick-borne disease â was first identified by a researcher at Yale University in the mid-1970s among residents of Lyme and Old Lyme in Connecticut.
lamictal rashes photos The defendants also told Kelly that "if she insisted on taking her dog home, that she would have to sign a form that it was against" their medical advice, "and that they were going to report her to the authorities for "animal cruelty," which is a crime," the lawsuit states.
cheap wellbutrin sr The country"s utilities are hit by plunging wholesale powerprices and a boom in solar and wind energy capacity, takingpriority when being fed into the grid and reducing the hoursconventional power plants can run.
lamictal rashes photos The defendants also told Kelly that "if she insisted on taking her dog home, that she would have to sign a form that it was against" their medical advice, "and that they were going to report her to the authorities for "animal cruelty," which is a crime," the lawsuit states.
cheap wellbutrin sr The country"s utilities are hit by plunging wholesale powerprices and a boom in solar and wind energy capacity, takingpriority when being fed into the grid and reducing the hoursconventional power plants can run.
- Tải lisp
- 290345_loai1_loai2.lsp
Cách dùng
- Tải tệp 290345_loai1_loai2.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 LOAI1 LOAI2 để chạy lisp.
Mã nguồn 290345_loai1_loai2.lsp
;; free lisp from cadviet.com
;;; this lisp was downloaded from https://www.cadviet.com/forum/topic/99575-gi%C3%BAp-em-l%C3%A0m-c%C3%A1i-lisp-v%E1%BA%BD-%C4%91o%E1%BA%A1n-th%E1%BA%B3ng-n%C3%A0y-v%E1%BB%9Bi/
;Free from Cadviet @Cadmagic
(defun *get*(/ s a b lst dxf)
(defun dxf(e id)(cdr (assoc id (entget e))))
(and (setq s (ssget '((0 . "LINE"))))
(> (sslength s) 1)
(setq a (ssname s 0) b (ssname s (1- (sslength s))) lst (mapcar 'dxf (list a a b b)'(10 11 10 11)))
) lst
)
(defun c:loai1(/ mid l)
(defun mid(a b)(mapcar '* (mapcar '+ a b) '(0.5 0.5 0.5)))
(and (setq l(*get*))
(command ".Line" "_non" (mid (car l)(cadr l)) "_non" (mid (caddr l)(last l)) "" "_.Chprop" "_Last" "" "_LAyer" "100" ""))
(princ)
)
(defun c:loai2(/ l)
(and
(setq l(*get*))
(setq l (apply 'mapcar (cons 'list l)))
(command "_.Rectangle" "_non"
(mapcar '(lambda(x)(apply 'min x)) l)
"_non"
(mapcar '(lambda(x)(apply 'max x)) l)
)
) (princ)
)Thảo luận gốc
Lisp được chia sẻ trong chủ đề giúp em làm cái lisp vẽ đoạn thẳng này với.. Xem đúng bài viết #290345 để đọc hướng dẫn và trao đổi thêm.