; face is meaning of face of people ; Design by Ade Suharna <> ; 23 December 2004 ; Program no.150/12/2004 ; Edit by (defun DTR (a) (* pi (/ a 180.0))) (defun c:face () (setq oldosmode (getvar "osmode")) ; get osmode setting (setvar "osmode" 0) ; osmode set to 0 (setq oldcmdecho (getvar "cmdecho")) ; get cmdecho setting (setvar "cmdecho" 0) ; cmdecho set to 0 (while (setq loc (getpoint " CLICK LOCATION FOR OBJECT: ") rad 5) (command "_circle" loc rad) (setq cmouth (polar loc (dtr 270) 2.5) lmouth (polar cmouth (dtr 0) 1.75) wmouth1 (polar cmouth (dtr 90) 0.75) wmouth2 (polar cmouth (dtr 90) 1)) (command "_ellipse" "c" cmouth lmouth wmouth1 "_ellipse" "c" cmouth lmouth wmouth2) (setq p1 (polar loc (dtr 90) 2) ceye (polar p1 (dtr 0) 1.75) leye (polar ceye (dtr 0) 0.75) weye (polar ceye (dtr 90) 0.5)) (command "_circle" ceye 0.5 "_ellipse" "c" ceye leye weye) (setq calis (polar ceye (dtr 90) 0.75) 1alis (polar calis (dtr 0) 1) 2alis (polar calis (dtr 90) 0.25) 3alis (polar calis (dtr 180) 1)) (command "_arc" 1alis 2alis 3alis) (setq nline (polar loc (dtr 90) 5) p2 (polar ceye (dtr 0) 0.5)) (command "_mirror" 1alis leye p2 "" loc nline "n" "") (setq cnose (polar loc (dtr 270) 1) enose (polar cnose (dtr 180) 0.5) enosep (polar enose (dtr 90) 0.25) hnose (polar enosep (dtr 0) 1) snose (polar cnose (dtr 0) 1)) (command "_spline" enosep cnose hnose snose "" "" "" "_line" p1 enosep "") (setq tex "MERRY CHRISMAS 2004" p3 (polar loc (dtr 270)(* rad 2.5)) mtex (polar p3 (dtr 180) (* rad 2))) (command "_text" mtex "1" "0" tex) (setq tex1 "HAPPY NEW YEAR 2005" p4 (polar p3 (dtr 270) 4) ytex (polar p4 (dtr 180)(* rad 2))) (command "_text" ytex "1" "0" tex1) (setvar "osmode" oldosmode) ; return setting (setvar "cmdecho" oldcmdecho) ; return setting (princ) ) )