我想看一级黄色大片_久久亚洲国产精品一区二区_久久精品免视看国产明星_91久久青青青国产免费

您的位置:網(wǎng)站首頁 > CAD教程 > CAD教程文章

AutoCAD畫三維螺絲、螺帽的圖文教程

時(shí)間:2012-01-06 17:36:55 來源:未知

AutoCAD畫三維螺絲、螺帽的圖文教程

第一步:加載THREAD.LSP
THREAD
(不能下載的我在后面?zhèn)髟a)
第二步:
選俯視圖L:畫一條高25中心線。命令:Metric公稱外徑:12(畫12mm螺紋)螺距:1.75(基本螺牙)起始點(diǎn):(中心線底端)螺紋總長(Y方向):25會(huì)生成這樣的圖:

第三步:轉(zhuǎn)西南等軸側(cè)視圖移動(dòng)原點(diǎn)在圓心上定義新的UCS以圓心點(diǎn)為圓心畫直徑10.25圓,然后拉伸20

第四步:再移動(dòng)原點(diǎn):在拉伸軸的另一面圓心上定義新的UCS以原點(diǎn)畫正六邊形外切于直徑19的圓,然后拉伸9
  

第五步:著上色基本好了,下面來做倒角延長中心線到六角支持樓主面回到主視圖用三維動(dòng)態(tài)觀察轉(zhuǎn)動(dòng)到一定位置作六角中心到任一角的連接線垂直畫一小三角

第六步:把多余的線擦掉,“小三角”轉(zhuǎn)換為面域,沿中心線旋轉(zhuǎn)


第七步:差集后一個(gè)三維螺栓就好了 (螺紋前端也可同樣倒個(gè)角)


第七步;在螺栓的基礎(chǔ)上畫螺母就更方便了打開左視圖
在正交摸式下復(fù)制一個(gè)畫好的螺栓把六角形螺頭向左移動(dòng)35差集后一個(gè)三維螺母也就好了

這是;THREAD.LSP原代碼
-------------------------------------------------------------------; THREAD.LSP 創(chuàng)建三維實(shí)體螺紋(ACIS) 01/9/1999;; 修正版;; 作者: Robbert Teggelove;;-------------------------------------------------------------------;; 該程序可生成三維實(shí)體外螺紋。; 你可生成以下的螺紋:; 執(zhí)行命令:ISO228; 功能: ISO 228 (相當(dāng)于 DIN 228 和 NEN 176); 執(zhí)行命令:mythread; 功能:管螺紋, ISO 7-1 (相當(dāng)于 DIN 2999 和 NEN 3258); 執(zhí)行命令:Metric; 功能:公制內(nèi)外螺紋, NEN 81 和 NEN 1870;; There is no error trapping or anything like that.;; The program works by creating a single thread; and then arraying it out to the proper length. The threads are; drawn a little longer and then sliced off to the correct length.; This program only draws the thread, you're on your own drawing; the rest of the screw or internal thread.;; Note, the threads created by this can make for some rather big files,; so make sure your system is up to it. Also, it might take a while; to union all of the single threads together so be patient.;;-------------------------------------------------------------------(defun myerror (s)(if (/= s "function cancelled") (princ (strcat "nError: " s)))(setvar "cmdecho" ocmd)(setvar "osmode" osm)(setq *error* olderr)(princ))(defun c:ISO228 (/ nom pitch length threadangle cpt inout minordiafactor nom1 nom2 size size1 n s olderr);;;;(setq olderr *error*;;;; *error* myerror)(setq osm (getvar "osmode"))(setq ocmd (getvar "cmdecho"))(setvar "cmdecho" 1)(setq minordiafactor 1.6666666667);(Princ "nThread according to DIN ISO 228, NEN 176");(initget 1 "I E");(setq inout (getkword "nInternal or External thread (I/E): "))(setq inout "I")(initget "1/16 1/8 1/4 3/8 1/2 5/8 3/4 7/8 1 1-1/8 1-1/4 1-1/2 1-3/4 2 2-1/4 2-1/2 2-3/4 3 3-1/2 4 4-1/2 5 5-1/2 6")(setq size1 (getkword "n公稱尺寸, 1/16' to 6' (如: 1/8 or 1-1/4): "))(if(= size1 "1/16")(setq nom1 1.5875))(if(= size1 "1/8")(setq nom1 3.175))(if(= size1 "1/4")(setq nom1 6.35))(if(= size1 "3/8")(setq nom1 9.525))(if(= size1 "1/2")(setq nom1 12.7))(if(= size1 "5/8")(setq nom1 15.875))(if(= size1 "3/4")(setq nom1 19.05))(if(= size1 "7/8")(setq nom1 22.225))(if(= size1 "1")(setq nom1 25.4))(if(= size1 "1-1/8")(setq nom1 28.575))(if(= size1 "1-1/4")(setq nom1 31.75))(if(= size1 "1-1/2")(setq nom1 38.1))(if(= size1 "1-3/4")(setq nom1 44.45))(if(= size1 "2")(setq nom1 50.8))(if(= size1 "2-1/4")(setq nom1 57.15))(if(= size1 "2-1/2")(setq nom1 63.5))(if(= size1 "2-3/4")(setq nom1 69.85))(if(= size1 "3")(setq nom1 76.2))(if(= size1 "3-1/2")(setq nom1 88.9))(if(= size1 "4")(setq nom1 101.6))(if(= size1 "4-1/2")(setq nom1 114.3))(if(= size1 "5")(setq nom1 127))(if(= size1 "5-1/2")(setq nom1 139.7))(if(= size1 "6")(setq nom1 152.4));(setq size "1") ; demo version only 1;(if (= size "1")(if (= inout "E") (setq nom1 33.069) (setq nom1 33.568)))(setq n (getdist "n牙數(shù):"))(setq pitch (/ 25.4 n))(initget 1) ; no enter(setq cpt (getpoint "起始點(diǎn): "))(initget 3) ; no enter, not zero(setq length (getdist "n螺紋總長(Y方向): "))(setq h (* 0.96049 pitch)) ; h according to ISO 228(setq nom (+ nom1 (/ h 3))) ; biggest outside diameter(setq nom2 (- nom (* h minordiafactor))) ; inside diameter(setq threadangle (+ 27.5 0)) ; threadangle(setvar "osmode" 0)(setvar "cmdecho" 0)(drawthread nom nom1 nom2 pitch length threadangle cpt)(princ "nDone")(setvar "osmode" osm)(setvar "cmdecho" ocmd)(setq *error* olderr)(princ)); Next routine makes metric thread according to NEN 1870(defun c:Metric (/ nom pitch length threadangle cpt inout minordiafactor nom1 nom2 ocmd osm 4H 5H 6H h6 g6 tol);-------------------------------------------------------------------; Gets the nominal size, tpi, and total length; then calculates a bunch of geometry points.; All running osnaps are turned off as well.;-------------------------------------------------------------------(setq 4H (list 0.0015 0.002 0.002 0.0025 0.003 0.0035 0.004 0.005 0.006 0.007 0.008 0.009 0.010)) (setq 5H (list 0.002 0.0025 0.003 0.004 0.0045 0.0055 0.0065 0.0075 0.009 0.010 0.0115 0.0125 0.0135)) (setq 6H (list 0.003 0.004 0.0045 0.0055 0.0065 0.008 0.0095 0.011 0.0125 0.0145 0.016 0.018 0.020)) (setq h6 (list -0.003 -0.004 -0.0045 -0.0055 -0.0065 -0.008 -0.0095 -0.011 -0.0125 -0.0145 -0.016 -0.018 -0.020)) (setq g6 (list -0.005 -0.008 -0.0095 -0.0115 -0.0135 -0.017 -0.0195 -0.023 -0.0265 -0.0295 -0.033 -0.036 -0.0515)) (setq osm (getvar "osmode"))(setq ocmd (getvar "cmdecho"))(setq minordiafactor 1.5);(initget 1 "I E");(setq inout (getkword "nInternal or External thread (I/E): "))(setq inout "I")(initget 7) ; no enter, not zero, not negative(setq nom1 (getdist "n公稱外徑: "));(setq nom1 10) ; demo version only M10(initget 7) ; no enter, not zero, not negative(setq pitch (getreal "n螺距: "));(setq pitch 1.25) ; demo version only 1.25(initget 1) ; no enter(setq cpt (getpoint "起始點(diǎn): "))(initget 3) ; no enter, not zero, not negative(setq length (getdist "n螺紋總長(Y方向): ")); add tolerance to nominal diameter(if (<= nom1 3) (setq n 0) ; position in tolerance field depending on nominal diameter(if (<= nom1 6) (setq n 1)(if (<= nom1 10) (setq n 2)(if (<= nom1 18) (setq n 3)(if (<= nom1 30) (setq n 4)(if (<= nom1 50) (setq n 5)(if (<= nom1 80) (setq n 6)(if (<= nom1 120) (setq n 7)(if (<= nom1 180) (setq n 8)(if (<= nom1 250) (setq n 9)(if (<= nom1 315) (setq n 10)(if (<= nom1 400) (setq n 11)(if (<= nom1 500) (setq n 12))))))))))))))(if (= inout "I")(if (< pitch 0.25) (setq nom1 (+ nom1 (nth n 4H))) ; tolerance field to use depending on pitch(if (< pitch 0.35) (setq nom1 (+ nom1 (nth n 5H)))(if (>= pitch 0.35) (setq nom1 (+ nom1 (nth n 6H)))))))(if (= inout "E")(if (< pitch 0.35) (setq nom1 (+ nom1 (nth n h6)))(if (>= pitch 0.35) (setq nom1 (+ nom1 (nth n g6))))))(setq h (* 0.866025 pitch)) ; h=0.866025(setq nom (+ nom1 (/ h 4))) ; h/8(setq nom2 (- nom (* h minordiafactor))) ; inside diameter(setq threadangle (+ 30 0)) ; 30?threadangle(setvar "osmode" 0)(setvar "cmdecho" 0)(drawthread nom nom1 nom2 pitch length threadangle cpt)(princ "nDone")(setvar "cmdecho" ocmd)(setvar "osmode" osm)(princ)); Next routine makes all threads(defun c:mythread (/ nom pitch length threadangle cpt inout minordiafactor nom1 ocmd osm);-------------------------------------------------------------------; Gets the nominal size, tpi, and total length; then calculates a bunch of geometry points.; All running osnaps are turned off as well.;-------------------------------------------------------------------(setq osm (getvar "osmode"))(setq ocmd (getvar "cmdecho"))(initget 7) ; no enter, not zero, not negative(setq nom1 (getdist "n有效外徑: "));(setq nom1 22) ; demo version only 22(initget 7) ; no enter, not zero, not negative(setq nom (getdist "n公稱外徑: "));(setq nom 22.5) ; demo version only 22.5(initget 7) ; no enter, not zero, not negative(setq nom2 (getdist "n有效底徑: "))(initget 7) ; no enter, not zero, not negative(setq pitch (getreal "n螺距: "))(initget 7) ; no enter, not zero, not negative(setq threadangle (getreal "n螺紋角度: "))(initget 1) ; no enter(setq cpt (getpoint "起始點(diǎn): "))(initget 3) ; no enter, not zero, not negative(setq length (getdist "n螺紋總長(Y方向): "))(setq h (* 0.866025 pitch)) ; h=0.866025(setvar "osmode" 0)(setvar "cmdecho" 0)(drawthread nom nom1 nom2 pitch length threadangle cpt)(princ "nDone")(setvar "cmdecho" ocmd)(setvar "osmode" osm)(princ))(defun drawthread (nom nom1 nom2 pitch length threadangle cpt / total pt1 pt1z pt2 pt3 ang pt1apt1az pt3a pt1b pt1bz pt3b pt4 pt4 pt6 pt7 pt8 pt9 pt10 pt11 pt12 ss conewantedstart conewantedend);-------------------------------------------------------------------; Gets the nominal size, tpi, and total length; then calculates a bunch of geometry points.; All running osnaps and cmdecho are turned off as well.;-------------------------------------------------------------------;(command "undo" "begin") ; start undo steps(setq total (+ (fix (/ (abs length) pitch)) 3)pt1 (list (- (car cpt) (/ nom 2.0)) (cadr cpt) (caddr cpt))pt1z (list (- (car cpt) (/ nom 2.0)) (cadr cpt) (+ (caddr pt1) 1.0))pt2 (polar pt1 (/ (* threadangle pi) 180.0) 1)pt3 (list (+ (car pt1) nom) (+ (cadr pt1) (/ pitch 2.0)) (caddr cpt))ang (angle pt1 pt3)pt1a (polar pt1 (+ ang (/ pi 2.0)) pitch)pt1az (list (car pt1a) (cadr pt1a) (+ (caddr pt1a) 1.0))pt3a (polar pt1a ang nom)pt1b (polar pt1 (- ang (/ pi 2.0)) pitch)pt1bz (list (car pt1b) (cadr pt1b) (+ (caddr pt1b) 1.0))pt3b (polar pt1b ang nom)pt4 (polar pt3 (/ (* (- 180 threadangle) pi) 180.0) 1)pt5 (inters pt1 pt2 pt3 pt4 nil)pt6 (list (car pt5) (cadr cpt) (caddr cpt))pt7 (polar pt1 (/ (* (- 360 threadangle) pi) 180.0) 1)pt8 (polar pt3 (/ (* (+ 180 threadangle) pi) 180.0) 1)pt9 (inters pt1 pt7 pt3 pt8 nil)pt10 (list (car pt9) (cadr pt3) (caddr pt3))pt11 (polar cpt (/ pi 2.0) pitch)pt12 (polar pt11 (/ pi 2.0) (abs length)));-------------------------------------------------------------------; Draws two cones which are inverted and offset 1/2 the pitch.; The cones are each sliced at the angle of the crest line; and then unioned together;-------------------------------------------------------------------; (initget 0 "Y N"); (setq conewantedstart (getkword "nDo you want a 90?top angle at the start? (Y/N) : (SETQ CONEWANTEDSTART "N");")); (initget 0 "Y N"); (setq conewantedend (getkword "nDo you want a 90?top angle at the end? (Y/N) : "))(SETQ CONEWANTEDEND "Y")(command "zoom" "w" (list (car pt1a) (+ (cadr pt1a) (abs length)) (caddr pt1a)) pt3b)(princ "n繪制螺紋....需要一段時(shí)間")(command "pline" pt1 pt5 pt6 "c")(command "revolve" "l" "" pt5 pt6 "")(command "slice" "l" "" pt1 pt3 pt1z pt5)(command "slice" "l" "" pt1a pt3a pt1az pt3)(setq ss (ssadd (entlast)))(command "pline" pt3 pt9 pt10 "c")(command "revolve" "l" "" pt9 pt10 "")(command "slice" "l" "" pt1 pt3 pt1z pt9)(command "slice" "l" "" pt1b pt3b pt1bz pt3)(setq ss (ssadd (entlast) ss))(command "union" ss "");-------------------------------------------------------------------; This above solid is sliced in half and then mirrored. This; creates the "helix" in the thread. The height of the single; thread is actually equal to twice the pitch, but the; excess is either absorbed or cut off in the last step;-------------------------------------------------------------------(command "slice" ss "" "xy" cpt "b")(setq ss (ssadd (entlast) ss))(command "mirror" "l" "" pt1 "@10<0" "y")(command "union" ss "");-------------------------------------------------------------------; The thread is arrayed and then unioned together (this part can; take a while). The resulting solid is cut to the specified length.;-------------------------------------------------------------------(setq e (entlast))(command "array" ss "" "r" total 1 pitch)(repeat (1- total)(setq e (entnext e)ss (ssadd e ss)))(command "union" ss ""); if wanted make a 45?cone at the start and union with thread(if (/= conewantedstart "N")(progn (setq e (entlast))(command "cone" (list (car cpt) (+ (cadr cpt) pitch) (caddr cpt)) "d" nom1 "a" (list (car cpt) (+ (+ (cadr cpt) (/ nom1 2)) pitch) (caddr cpt)))(command "union" "l" e "")))(command "slice" "l" "" "zx" pt11 pt12)(command "slice" "l" "" "zx" pt12 pt11)(command "move" "l" "" cpt (list (car cpt) (- (cadr cpt) pitch) (caddr cpt))) ; make a minor diameter cylinder and union with thread(setq e (entlast))(command "cylinder" cpt "d" nom2 "c" (list (car cpt) (+ (cadr cpt) (abs length)) (caddr cpt)))(command "union" "l" e "")(setq ss (entlast)); make a hollow cylinder, with or without end cone, and subtract from thread(command "cylinder" cpt "d" nom1 "c" (list (car cpt) (+ (cadr cpt) (abs length)) (caddr cpt))) ; minor dia(setq e (entlast)); if wanted make a 45?cone at the end(if (/= conewantedend "N")(progn (command "move" "l" "" cpt (list (car cpt) (- (cadr cpt) (/ (- nom1 nom2) 2)) (caddr cpt))) ; move minor dia down(command "cone" cpt "d" nom1 "a" (list (car cpt) (+ (cadr cpt) (/ nom1 2)) (caddr cpt))) ; put cone on minor dia(command "move" "l" "" cpt (list (car cpt) (- (+ (cadr cpt) (abs length)) (/ (- nom1 nom2) 2)) (caddr cpt)))(command "union" "l" e "") ; union cone and minor dia(setq e (entlast)))); subtract minor dia from bigger cylinder(command "cylinder" cpt "d" (* nom1 1.5) "c" (list (car cpt) (+ (cadr cpt) (abs length)) (caddr cpt)))(command "subtract" "l" "" e "")(setq e (entlast)); subtract hollow cylinder from thread(command "subtract" ss "" e ""); if thread negative length then mirror(setq e (entlast))(if (< length 0) (mirror3d e "zx" cpt "y"))(command "zoom" "p")(command "undo" "end") ; end undo steps);;;---------------------------------------------------------------------------------------------------------------------;(arxload "geom3d" nil)(princ "ntISO228, Metric 和 Mythread 已加載。 ")(princ)給你一個(gè), 自己去做一個(gè)LISP吧. 打開工具----AUTOLISP ------LISP編輯器 粘貼后保存. 然后還是工具-----AUTOLISP -----加載. 把這個(gè)你做好LISP程序加載到CAD中. 然后就可以輸入命令使用了. 命令有三個(gè) ISO228 (英制羅紋) METRIC( 外螺紋) MYTHREAD( 管螺紋)


我想看一级黄色大片_久久亚洲国产精品一区二区_久久精品免视看国产明星_91久久青青青国产免费

            午夜精品久久久久久久久久久| 欧美日韩电影在线| 中文字幕一区二区三区视频| 欧美大黄免费观看| 日韩一区二区三区视频在线观看| 这里只有精品99re| 欧美精品99久久久**| 欧美日韩黄视频| 欧美一个色资源| 久久影院视频免费| 国产精品少妇自拍| 亚洲视频中文字幕| 亚洲第一福利一区| 久久精品久久综合| 国产成人午夜99999| 成人av网站免费| 欧美三级韩国三级日本一级| 欧美高清一级片在线| 欧美一级一区二区| 精品99久久久久久| 国产亚洲人成网站| 一区二区三区高清| 久久国产精品72免费观看| 国产91丝袜在线播放| 一本到不卡精品视频在线观看| 欧美午夜影院一区| 亚洲精品在线一区二区| 国产精品久久久久久久浪潮网站| 亚洲福利视频一区| 国产精品综合一区二区| 99久久er热在这里只有精品15| 欧美乱妇23p| 国产欧美精品一区aⅴ影院| 一区二区三区av电影| 久久精品国产久精国产爱| 99视频国产精品| 日韩精品一区二区三区在线播放 | 久久久久久久av麻豆果冻| 国产精品动漫网站| 日韩av一区二区三区| 国产一区二区91| 欧美亚洲国产bt| 国产精品久久影院| 九一久久久久久| 欧美日韩精品系列| 亚洲视频一区在线观看| 韩国av一区二区三区| 欧美在线观看18| 中文字幕av一区二区三区免费看| 天堂蜜桃91精品| 91在线观看成人| 欧美videos大乳护士334| 亚洲一区二区三区视频在线播放| 国产原创一区二区| 欧美另类videos死尸| 亚洲天堂免费在线观看视频| 国产传媒欧美日韩成人| 日韩欧美亚洲国产另类 | 日韩三级中文字幕| 亚洲 欧美综合在线网络| 岛国精品在线观看| 欧美mv日韩mv国产网站app| 亚洲自拍偷拍欧美| 成人午夜视频网站| 久久久久久99久久久精品网站| 日韩中文字幕一区二区三区| 色天使色偷偷av一区二区| 欧美极品少妇xxxxⅹ高跟鞋 | 亚洲精品中文在线影院| 国产成a人无v码亚洲福利| 日韩精品一区二区在线观看| 亚洲成人你懂的| 在线欧美一区二区| 夜夜嗨av一区二区三区中文字幕 | 欧美色图激情小说| 一区二区三区在线视频观看58| 成人午夜免费电影| 中文字幕欧美激情| 粉嫩av一区二区三区在线播放| 精品国产一区二区在线观看| 久久精品72免费观看| 日韩三级中文字幕| 日本亚洲视频在线| 9191国产精品| 美女爽到高潮91| 久久综合一区二区| 国产精品综合一区二区三区| 久久精品亚洲麻豆av一区二区| 国产一区二区精品久久99| 精品久久久久av影院| 精久久久久久久久久久| 精品国产一二三区| 国产老妇另类xxxxx| 中文无字幕一区二区三区| 99视频热这里只有精品免费| 亚洲三级在线免费观看| 欧美性大战久久| 另类成人小视频在线| 久久久亚洲国产美女国产盗摄| 成人h精品动漫一区二区三区| 国产精品欧美经典| 91久久精品一区二区三| 日日夜夜免费精品| 国产亚洲1区2区3区| 色综合视频在线观看| 无码av免费一区二区三区试看 | av福利精品导航| 亚洲综合偷拍欧美一区色| 56国语精品自产拍在线观看| 国产在线视频精品一区| 中文字幕一区二区三区不卡| 欧美视频一区二区三区在线观看 | 91亚洲永久精品| 日韩av在线发布| 欧美国产日韩亚洲一区| 欧美性一二三区| 黄一区二区三区| 亚洲男女毛片无遮挡| 欧美一区二区女人| 国产成人99久久亚洲综合精品| 亚洲制服欧美中文字幕中文字幕| 精品国内片67194| 在线精品视频免费观看| 韩国成人在线视频| 亚洲国产裸拍裸体视频在线观看乱了| 2024国产精品| 欧美日韩精品一区二区在线播放 | 白白色 亚洲乱淫| 日本三级亚洲精品| 亚洲精选视频免费看| 久久影院午夜片一区| 欧美视频一区二区| 成人免费视频一区二区| 强制捆绑调教一区二区| 亚洲精品日韩综合观看成人91| 日韩一区二区电影在线| 色婷婷综合视频在线观看| 国产一区二区三区在线观看免费 | 精品写真视频在线观看| 亚洲综合视频网| 中文字幕中文字幕一区| 久久综合国产精品| 欧美精品日韩一区| 日本久久一区二区| a亚洲天堂av| 国产盗摄女厕一区二区三区| 男男gaygay亚洲| 天使萌一区二区三区免费观看| 中文字幕av一区二区三区高 | 91麻豆精品国产91久久久更新时间| 成人免费不卡视频| 国产一区二三区| 精品在线一区二区| 日本视频一区二区三区| 婷婷激情综合网| 亚洲自拍偷拍综合| 亚洲综合999| 亚洲综合一区在线| 亚洲免费三区一区二区| 国产精品第四页| 国产精品久久久久精k8| 亚洲国产精品高清| 亚洲国产高清aⅴ视频| 欧美国产精品久久| 中文字幕第一区二区| 国产亚洲视频系列| 国产精品视频一区二区三区不卡| 久久九九久精品国产免费直播| 久久免费偷拍视频| 国产欧美日韩不卡| 国产精品国产自产拍高清av | 水野朝阳av一区二区三区| 亚洲欧美另类图片小说| 中文字幕一区在线观看| 国产免费久久精品| 欧美韩国日本综合| 国产农村妇女精品| 国产欧美日韩精品一区| 国产精品网站导航| 亚洲另类色综合网站| 亚洲一区二区三区四区在线免费观看 | 成人18精品视频| 91精彩视频在线观看| 欧美日韩精品系列| 日韩欧美亚洲国产精品字幕久久久| 亚洲精品一区二区三区精华液 | 成人激情小说网站| 色88888久久久久久影院野外| 欧美精品一级二级| 精品国产乱子伦一区| 国产精品三级av在线播放| 亚洲欧美色一区| 蜜臀va亚洲va欧美va天堂 | 亚洲色图在线看| 日本一不卡视频| 国产成人啪免费观看软件| 91麻豆精品秘密| 欧美成人激情免费网| 国产精品久久久久天堂| 日韩精品一级中文字幕精品视频免费观看|