I think you can store more datas of your tees in list. For example store some datas of DN80 and DN100 tees (of corse I don'n know right datas):
Code:
Command: (setq parLst '((80 99 136 84 25 16)(100 122 184 97 32 18)))
Then extract datas for DN100 tee:
Code:
Command: (setq a(cdr(assoc 100 parLst)))
(122 184 97 32 18)
Then you can extract separate datas for tee draw:
Code:
Command: (nth 0 a)
122
Command: (nth 1 a)
184
Command: (nth 2 a)
97
Command: (nth 3 a)
32
Command: (nth 4 a)
18
I don't use 'car' and 'cadr' functions becorse there is mach datas and 'nth' more convinient to control right number.
I can write special functions (subfunctions) to draw fittings for each standard and transfer datas as uniform list. For example:
Code:
(defun Draw_ANSI_Equal_Tee(paramList / ....)
and call it from main program.
Bookmarks