导航:首页 > 程序命令 > 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相关的资料

热点内容
如何设置域控服务器 浏览:734
想在上海租房子什么app好 浏览:184
编译程序各部分是必不可少的吗 浏览:885
编程不超过十行 浏览:763
数电编译器的作用 浏览:337
时间算法与现在有什么区别 浏览:162
7zip解压后没文件夹 浏览:902
为什么安卓送玫瑰ios收不到 浏览:8
美篇文章加密是什么意思 浏览:82
ilasm编译dll 浏览:38
呼吸灯单片机程序 浏览:954
linux域socket 浏览:249
qq分身怎么样才能加密 浏览:457
windows打开linux 浏览:999
新建文件夹为什么不能发送微信 浏览:603
交警app怎么绑定本人几辆车 浏览:989
彩虹六号如何人工服务器 浏览:634
mc服务器地址怎么登入 浏览:558
苹果app怎么扫描二维码下载 浏览:961
css文件在线解压 浏览:156