怎样在手机上看CAD图纸

怎样在手机上看CAD图纸,第1张

安卓系统的可以安装CAD制图(这个有官方的),CAD快速看图等,

苹果的可以安装,例如AUTOCAD WS,浩辰的GSTARCAD MC等。

也可以在电脑上转成PDF或者图片格式

要手机上看的CAD图的软件,有两种(均为免费程序):

1、AutoCAD WS

此方法本应为最正宗的,但应用起来及其不便册庆,应用要注册,看

图要先传到网上自己的卜姿毁帐户中才能看,这样 *** 作及其不便。

2、GstarCAD MC

这是浩辰CAD开发用于平板电脑及智能手机上看图的小程序,分别为两种可用于苹果型备IOS

系统和安卓版支持Android2.1及以上系统。

可以在诸如施工现场、会议室、外出等一些不便使用电脑的情况下轻

松进行图纸查看及交流。

软件内容及下载网址分别如下:

1、软件名称:GstarCAD MC(安卓版)

软件大小:4M

下载网址:http://www.gstarcad.com/cad_7_79.html

2、软件名称:GstarCAD MC (苹果版)

软件大小:6.07M

下载网址:http://www.gstarcad.com/cad_7_10.html

详见百度文库:http://wenku.baidu.com/link?url=5q5BgCmpR5yAS_vpxMN-Cjk2Plye--kj6ciZ9Mvhix84DiLgn4A5uhq4qfUIKVunIhoLzFn82vwe8pVckeMOREWs9o4alh6zdEgYO-jKjkG

自已写个LISP,把Z坐标规0,然后再测。如果不会写,请把以下代码复制,写入记事本,保存为ZZ.LSP,然后打开CAD加载ZZ.LSP

最后在在CAD里输入命令ZZ就OK了。

以下为代码:

(vmon) (defun c:zz (/ wholesel count treatcount chcount ent curent segcurent entlist segentlist etflag dfetflag input ) (command "_.undo" "_begin") (setq old_err *error* *error* zz_err ) (princ " ***********Z坐标值归零程序***********作者 燕鹏动力******" ) (setvar "cmdecho" 0) (setq wholesel (ssget '((-4 . "<OR") (0 . "POINT") (0 . "LINE") (0 . "LWPOLYLINE") (0 . "POLYLINE") (0 . "ARC") (0 . "CIRCLE") (0 . "TEXT") (0 . "INSERT") (-4 . "OR>") ) ) ) (if (null wholesel) (progn (princ "\n未选氏键择到有效实体!") (exit) ) ) (setq count 0) (setq treatcount 0) (setq chcount 0) (princ "\n") (while (<count (sslength wholesel)) (setq curent (ssname wholesel count)) (setq entlist (entget curent)) (setq count (1+ count)) (princ "\r已经完成 ") (princ (rtos (/ count (sslength wholesel) 0.01) 2 1)) (princ " %.") (princ) (if (or (/= (cadr (assoc 210 entlist)) 0.0) (/= (caddr (assoc 210 entlist)) 0.0) (/= (cadddr (assoc 210 entlist)) 1.0) ) (progn (if (null dfetflag) (progn (setq dfetflag "N") (setq etflag dfetflag) (initget 0 "Y N"陆乱) (setq input (getkword (strcat "\n***燕鹏动力友情提示***图中存在伸展方向非常规的实体,若不更改某些Z值不能歼悉巧归零,是否强行更改(Y/N) <" dfetflag ">:" ) ) ) (if input (setq etflag input) ) (setq dfetflag etflag) ) ) (if (= etflag "Y") (progn (setq entlist (subst (cons 210 '(0.0 0.0 1.0)) (assoc 210 entlist) entlist ) ) (entmod entlist) ) ) ) ) (cond ((= "POINT" (cdr (assoc 0 entlist))) (setq oldpt (cdr (assoc 10 entlist))) (if (/= (caddr oldpt) 0.0) (progn (setq treatcount (1+ treatcount)) (setq newpt (list (car oldpt) (cadr oldpt) 0.0)) (setq entlist (subst (cons 10 newpt) (cons 10 oldpt) entlist) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((= "LINE" (cdr (assoc 0 entlist))) (setq oldbgpt (cdr (assoc 10 entlist))) (setq oldendpt (cdr (assoc 11 entlist))) (if (or (/= (caddr oldbgpt) 0.0) (/= (caddr oldendpt) 0.0)) (progn (setq treatcount (1+ treatcount)) (setq newbgpt (list (car oldbgpt) (cadr oldbgpt) 0.0)) (setq newendpt (list (car oldendpt) (cadr oldendpt) 0.0)) (setq entlist (subst (cons 10 newbgpt) (cons 10 oldbgpt) entlist) ) (setq entlist (subst (cons 11 newendpt) (cons 11 oldendpt) entlist ) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((= "LWPOLYLINE" (cdr (assoc 0 entlist))) (if (/= (cdr (assoc 38 entlist)) 0.0) (progn (setq treatcount (1+ treatcount)) (setq entlist (subst (cons 38 0.0) (assoc 38 entlist) entlist ) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((= "POLYLINE" (cdr (assoc 0 entlist))) (setq oldpt (cdr (assoc 10 entlist))) (if (/= (caddr oldpt) 0.0) (progn (setq treatcount (1+ treatcount)) (setq newpt (list (car oldpt) (cadr oldpt) 0.0)) (setq entlist (subst (cons 10 newpt) (cons 10 oldpt) entlist) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((or (= "ARC" (cdr (assoc 0 entlist))) (= "CIRCLE" (cdr (assoc 0 entlist))) ) (setq oldcenpt (cdr (assoc 10 entlist))) (if (/= (caddr oldcenpt) 0.0) (progn (setq treatcount (1+ treatcount)) (setq newcenpt (list (car oldcenpt) (cadr oldcenpt) 0.0)) (setq entlist (subst (cons 10 newcenpt) (cons 10 oldcenpt) entlist ) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((= "TEXT" (cdr (assoc 0 entlist))) (setq oldinspt (cdr (assoc 10 entlist))) (setq oldjustpt (cdr (assoc 11 entlist))) (if (or (/= (caddr oldinspt) 0.0) (/= (caddr oldjustpt) 0.0)) (progn (setq treatcount (1+ treatcount)) (setq newinspt (list (car oldinspt) (cadr oldinspt) 0.0) ) (setq newjustpt (list (car oldjustpt) (cadr oldjustpt) 0.0) ) (setq entlist (subst (cons 10 newinspt) (cons 10 oldinspt) entlist ) ) (setq entlist (subst (cons 11 newjustpt) (cons 11 oldjustpt) entlist ) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ((= "INSERT" (cdr (assoc 0 entlist))) (setq oldinspt (cdr (assoc 10 entlist))) (if (/= (caddr oldinspt) 0.0) (progn (setq treatcount (1+ treatcount)) (setq newinspt (list (car oldinspt) (cadr oldinspt) 0.0) ) (setq entlist (subst (cons 10 newinspt) (cons 10 oldinspt) entlist ) ) (entmod entlist) (setq chcount (1+ chcount)) ) ) ) ) ) (princ (strcat "\n**燕鹏动力友情提示***共选中" (itoa count) "个有效实体, 其中Z坐标值不归零的有" (itoa treatcount) "个实体,成功转换" (itoa chcount) "个实体:||作者 燕鹏动力||http://www.china-abbs.com||" ) ) (princ) (setq etflag nil) (setq dfetflag nil) (command "_.undo" "_end") ) (defun zz_err (s) (princ "\n命令中止!**燕鹏动力友情提示***http://www.china-abbs.com***") (setq etflag nil dfetflag nil ) (redraw) (setq *error* old_err) (princ) ) (princ)


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/12474010.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-25
下一篇 2023-05-25

发表评论

登录后才能评论

评论列表(0条)

保存