Курсовая работа: Построение параметрической модели детали в среде программирования
(command "extrude" "all" "" h1 "")
(setq reg1 (entlast))
(entdel kr1)
(command "extrude" kr1 "" h1 "")
(setq en1 (entlast))
(entdel mass)
(command "extrude" mass "" h1 "")
(setq en2 (entlast))
(entdel mas22)
(command "extrude" mas22 "" h1 "")
(setq en3 (entlast))
(command "subtract" reg1 "" en1 en2 en3 "")
(command "elev" h1 "")
(command "circle" x c1)
(setq rad1 (entlast))
(setq h2 ( - w2 w3))
(command "extrude" rad1 "" h2 "")
(setq kol1 (entlast))
(command "elev" (+ h1 h2)"")
(command "circle" x c2)
(setq rad2 (entlast))
(command "extrude" rad2 "" w3 "")
(setq kol2 (entlast))
(command "union" reg1 kol1 kol2 "")
(setq reg2 (entlast))
(command "elev" "0" "")
(entdel rad3)
(command "extrude" rad3 "" w1 "")
(setq cil (entlast))