導航:首頁 > 程序命令 > cad命令nil

cad命令nil

發布時間:2023-07-19 09:56:37

Ⅰ CAD裡面的插件命令,求高手翻譯一下!

(defun c:jo(/ jj jn p0 pt pc pt0 pt1 pt2) (setvar "cmdecho" 0) (command "style" "sModify" "txt.shx,gbcbig.shx" "" "1.6" "1.6" "" "" "") (setq jj(getstring (strcat "\n輸入焊口標記:"))) (setq jn(getint (strcat "\n輸入初始焊口號:"))) (while (/= nil (setq p0 (getpoint "\n輸入焊口定位點:"))) (setq pt (getpoint "\n輸入編號定位點:")) (setq pc(polar pt (angle pt p0) 4)) (command "circle" pt 4) (setq pt0 (polar pt (* 0.5 pi) 2)) (setq pt1 (polar pt 0 4)) (setq pt2 (polar pt pi 4)) (command "pline" pt1 pt2 "") (command "text" "J" "mc" pt0 2 "" (strcat jj (itoa jn))) (command "line" p0 pc "") (setq jn (1+ jn)) ) (setvar "cmdecho" 1) (princ) ) (princ "\nC:ws") (prin1)

(defun c:jo(/ jj jn p0 pt pc pt0 pt1 pt2) (setvar "cmdecho" 0) (command "style" "sModify" "txt.shx,gbcbig.shx" "" "1.6" "1.6" "" "" "") (setq jj(getstring (strcat "\n輸入焊口標記:"))) (setq jn(getint (strcat "\n輸入初始焊口號:"))) (while (/= nil (setq p0 (getpoint "\n輸入焊口定位點:"))) (setq pt (getpoint "\n輸入編號定位點:")) (setq pc(polar pt (angle pt p0) 4)) (command "circle" pt 4) (setq pt0 (polar pt (* 0.5 pi) 2)) (setq pt1 (polar pt 0 4)) (setq pt2 (polar pt pi 4)) (command "pline" pt1 pt2 "") (command "text" "J" "mc" pt0 2 "" (strcat jj (itoa jn))) (command "line" p0 pc "") (setq jn (1+ jn)) ) (setvar "cmdecho" 1) (princ) ) (princ "\nC:ws") (prin1)

閱讀全文

與cad命令nil相關的資料

熱點內容
時間演算法與現在有什麼區別 瀏覽:160
7zip解壓後沒文件夾 瀏覽:900
為什麼安卓送玫瑰ios收不到 瀏覽:6
美篇文章加密是什麼意思 瀏覽:80
ilasm編譯dll 瀏覽:36
呼吸燈單片機程序 瀏覽:950
linux域socket 瀏覽:246
qq分身怎麼樣才能加密 瀏覽:453
windows打開linux 瀏覽:995
新建文件夾為什麼不能發送微信 瀏覽:600
交警app怎麼綁定本人幾輛車 瀏覽:985
彩虹六號如何人工伺服器 瀏覽:632
mc伺服器地址怎麼登入 瀏覽:556
蘋果app怎麼掃描二維碼下載 瀏覽:961
css文件在線解壓 瀏覽:156
36歲程序員近況 瀏覽:285
哪裡可以下載不加密的歌 瀏覽:936
隱藏文件夾是什麼梗 瀏覽:920
插件注冊命令 瀏覽:498
梁一端加密一端不加密規范 瀏覽:84