home *** CD-ROM | disk | FTP | other *** search
- ;***************************************************************
- ;* This program to dimension a symbol of surface roughness *
- ;* that at is located at the rightup corner of drawing paper *
- ;***************************************************************
- (setq st (getstring "\n ╞Σ╙α(Y) ╗≥ ╚½▓┐(B) <Y / B>? <Y>:"))
- (if (or (= st "b") (= st "B")) (setq st "gbz\\bqb") (setq st "gbz\\bqy"))
- (point1)
- (scale1)
- (setq v (getstring "\nvaule: "))
- (if (= v "0") (setq v ""))
- (if (= v "") (setq st1 "gbz\\ccd1") (setq st1 "gbz\\ccd"))
- (if (null pt1) (err))
- (command "layer" "s" 6 "")
- (command "insert" st pt1 (* 0.9 sca) "" 0)
- (command "insert" st1 pt1 (* 1.4 sca) "" 0)
- (setq pt2 (polar pt1 (/ pi 2) (* sca 6.8)))
- (command "text" "c" pt2 (* sca 3.2) 0 v)
- (redraw)
- (cmdprompt)