Jessye Ford's tools
-
```lisp ;*************************************************************************** ;* * ;* AutoCAD LISP - Thiแบฟt kแบฟ ngรดi nhร tแปฑ ฤแปng * ;* * ;*************************************************************************** ; Khai bรกo cรกc biแบฟn vร hแบฑng sแป (setq ;; Kรญch thฦฐแปc phรฒng (m) phong-chieu-dai 5.0 phong-chieu-rong 4.0 ;; Vแป trรญ phรฒng trong mแบทt bแบฑng phong-vi-tri-x 0.0 phong-vi-tri-y 0.0 ;; Kรญch thฦฐแปc thiแบฟt bแป vแป sinh (m) thiet-bi-ve-sinh-chieu-dai 1.5 thiet-bi-ve-sinh-chieu-rong 1.0 ;; Kรญch thฦฐแปc giฦฐแปng ngแปง (m) giuong-ngu-chieu-dai 2.0 giuong-ngu-chieu-rong 1.5 ;; Kรญch thฦฐแปc bร n ghแบฟ (m) ban-ghe-chieu-dai 1.0 ban-ghe-chieu-rong 0.5 ) ; Hร m tแบกo hรฌnh chแปฏ nhแบญt (defun tao-hinh-chu-nhat (x y chieu-dai chieu-rong) (command "RECTANGLE" (list x y) (list (+ x chieu-dai) (+ y chieu-rong))) ; Hร m tแบกo thiแบฟt bแป vแป sinh (defun tao-thiet-bi-ve-sinh (x y) (command "RECTANGLE" (list x y) (list (+ x thiet-bi-ve-sinh-chieu-dai) (+ y thiet-bi-ve-sinh-chieu-rong)))) ; Hร m tแบกo giฦฐแปng ngแปง (defun tao-giuong-ngu (x y) (command "RECTANGLE" (list x y) (list (+ x giuong-ngu-chieu-dai) (+ y giuong-ngu-chieu-rong)))) ; Hร m tแบกo bร n ghแบฟ (defun tao-ban-ghe (x y) (command "RECTANGLE" (list x y) (list (+ x ban-ghe-chieu-dai) (+ y ban-ghe-chieu-rong)))) ; Tแบกo phรฒng (defun tao-phong (x y) (command "LAYER" "M" "Phong" "" "" "") (setq ent (tao-hinh-chu-nhat x y phong-chieu-dai phong-chieu-rong)) (command "LAYER" "S" "Phong" "") ; Tแบกo thiแบฟt bแป vแป sinh (command "LAYER" "M" "ThietBiVeSinh" "" "" "") (tao-thiet-bi-ve-sinh (+ x 0.5) (+ y 0.5)) (command "LAYER" "S" "ThietBiVeSinh" "") ; Tแบกo giฦฐแปng ngแปง (command "LAYER" "M" "GiuongNgu" "" "" "") (tao-giuong-ngu (+ x 1.0) (+ y 1.0)) (command "LAYER" "S" "GiuongNgu" "") ; Tแบกo bร n ghแบฟ (command "LAYER" "M" "BanGhe" "" "" "") (tao-ban-ghe (+ x 2.5) (+ y 1.5)) (command "LAYER" "S" "BanGhe" "") ) ; Gแปi hร m tแบกo phรฒng (tao-phong phong-vi-tri-x phong-vi-tri-y) ;*************************************************************************** ;* * ;* End of LISP code * ;* * ;*************************************************************************** ```Jessye Ford๐ ๏ธ 1 tool ๐ 702 karmaOct 20, 2025@AutoCAD LISP Generator (JET-X)I apologize, but I'm not sure what you are referring to.
