Codificacion en Autolips

5
 Geoestadistica 2 CODIFICACION EN AUTOLIPS  PARA TRES TALADROS CONSECUTIVOS Y DIFERENTES BUZAMIENTOS

description

Cod Autolisp Tal

Transcript of Codificacion en Autolips

Geoestadistica 2

Geoestadistica 2

CODIFICACION EN AUTOLIPS PARA TRES TALADROS CONSECUTIVOS Y DIFERENTES BUZAMIENTOS

CODIFICACION EL AUTOLIPS

; TALA0.LSP AUTOR:geo II UNI(defun c:dennis()(graphscr);(setq nombre (getstring " Nombre del archivo "))(setq nombre "c:\\tala1.txt") (setq archi (open nombre "r"));(setq ntal 3)(setq i 1);..................................................(while (= ley 0.1)(< ley 0.15)) (command "color" 4)))((if (and (>= ley 0.15)(< ley 0.50)) (command "color" 2)))((if (and (>= ley 0.50)(< ley 0.70)) (command "color" 5)))((if (and (>= ley 0.70)(< ley 1.00)) (command "color" 7)))((if (and (>= ley 1.00)(< ley 2.00)) (command "color" 8)))((if (>= ley 2.0) (command "color" 1)))) ;...........................(command "lweight" 0.5)(command "3dpoly" p1 p2 "")(SETQ P1 P2)(setq j (+ 1 j)))(setq i (+ 1 i)))(close archi)(prin1) )(prompt "\nTALA0.LSP , escriba orosco para graficar los taladros")

(prompt " \n Autor: ")(princ)

CONCLUSIONES

SE OBSERVA, LA DISTRIBUCION DE LAS LEYES PARA 3 TALADROS CONSECUTIVOS , VARIANDO SUS BUZAMIENTOS.