Professional Documents
Culture Documents
Tank Shell Developed Length
Tank Shell Developed Length
Degree to Length
Degree of Arc. (mm): 15.25 (Setvar "Cmdecho" 0)
Radius of Arc. (mm): 22221 (terpri)
Length of ARC 5914.4015996 (defun c:DTL()
;;(princ "\nStart Command with
(setq e(getreal "Degree of Arc.
Length of Degree (setq g(getreal "Radius of Arc.
Length of Arc. (mm): 5795 (setq a(* e g))
Radius of Arc. (mm): 22221 (SETQ b(/ a 180))
Degree of ARC 14.94212872 (setq c(* b 3.14159265358979
(setq i(rtos c))
(Setq f(Getreal "\nEnter text he
(Setq h(Getreal "\nText rotation
(If
(= h nil)
(Setq h 0)
)
(Setq j(Getpoint "\nLocation of
(Command "Text" j f h i)
(strcat "Length of ARC =" i )
(defun c:LSD()
;;princ "\nStart Command with LSD")
(setq e(getreal "Tank inn. Dia (mm): "))(terpri)
(setq g(getreal "Shell Plate Thickness (mm): "))(terpri)
(setq m(getreal "Shell Plate Wide (mm): "))(terpri)
(setq a(+ g e))
(SETQ c(* pi a))
(setq d(* pi g))
(setq n(+ d e))
(setq i(rtos c))
(setq k(/ c m))
(Setvar "Cmdecho" 0)
(defun c:DTL()
;;(princ "\nStart Command with DTL")
(setq e(getreal "Degree of Arc. (mm): "))(terpri)
(setq g(getreal "Radius of Arc. (mm): "))(terpri)
(setq a(* e g))
(SETQ b(/ a 180))
(setq c(* b 3.1415926535897932384626433832795))
(setq i(rtos c))
(Setq f(Getreal "\nEnter text height: "))
(Setq h(Getreal "\nText rotation <0>: " ))
(Setq h 0)