home *** CD-ROM | disk | FTP | other *** search
- ;******************************************
- (setq l (getreal "\nInput width of undercut=:"))
- (setq z (getreal "\nInput depth of undercut=:"))
- (setq dr (+ (* z s) dr) dl dr l1 l l (* l s))
- (setq dgl 0 dgr 0)
- (dbsa1 xb 1)
- (setq fpt (list xb yb) no (+ no 1))
- (attdef1 "l1" l1 fpt)
- (attdef1 "ll1" z fpt)
- (attdef1 "gpsz1" "K" fpt)
- (command "block" no fpt "w" (list xb (- yb dr)) (list (+ xb l) (+ yb dr)) "")
- (command "insert" no fpt "" "" "" "" "" "" "")
- (command "layer" "s" "" "l" "dash" "" "")
- (setq xb (+ xb l))
- (redraw)
- (quit)