没有合适的资源?快使用搜索试试~ 我知道了~
基于Android平台的CAD标准图形交换文件浏览系统.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 172 浏览量
2022-06-21
15:35:38
上传
评论
收藏 2.21MB PDF 举报
温馨提示
试读
122页
基于Android平台的CAD标准图形交换文件浏览系统.pdf
资源推荐
资源详情
资源评论
The CAD standard graphics exchange file browsing system based on Android platform Abstract
II
Abstract
With the Android devices more and more used in the office, study, entertainment, this
paper first introduces the current development trend of the Android platform, and also
analyzes the mostly using in the field of professional development, and at the other hand,
combining the CAD graphics file (DXF and IGES)which as the standard of CAD graphics
interchange format, we designed and developed the CAD standard graphics interchange
file browsing system based on Android platform, it is easy for people to use Android
mobile equipment to check the CAD drawings and information anytime and anywhere.
This paper firstly set up the Android development environment, through installing
the JDK (Java Development Kit) to support Java Development environment, then chosing
Eclipse as an integrated Development environment, at the other hand, basing the Eclipse
integrated Development environment, installs the Android SDK and ADT (Android
Development Tools) plug-ins, and also configs the environment variable for Android
Development, and also using ADT tools to create the AVD (Android Virtual Device) and
the Android development environment of the Dalvik Virtual machine debugging
monitoring service (Android DDMS) to debug program.
Then through analyzing the information structure of the CAD standard graphics
interchange file, we write the Java interface class to read primitive information, and
succeed to read the information of the CAD standard graphics interchange file. Then ,
through using the linear data structure of Java to access the reading primitive information.
Because the Entities section is so important sections, so we spend most time to program the
code to read, and it is to ready for the graphics drawing parameters.
Then we build the Android application framework, and also simply designed the UI of
the program, and also divided the program in modules, in the program ,using the
multi-thread processing technology to read the CAD standard graphics interchange file,
and draw graph at the same time, it completed to draw the standard graphics interchange
file’s point, line, circle, arc, polyline and other graphs, and also made the corresponding
processing to the layer information and block information.
Abstract The CAD standard graphics exchange file browsing system based on Android platform
III
Finally, with the aid of the Android virtual device,we debug the program, and deal the
abnormal processing program, at last, the program are verified on the HTC G14 phone and
Google Nexus 7, results show that the program can be run on Android devices, and can
complete the specified function.
Keywords: Android; Standard graphics interchange; The Eclipse; The Reading interface
class; The System Framework; Graphics Drawing; AVD debugging.
Written by: Chen Xiang
Supervised by: Gu Deyu
目录
第一章 绪论 ......................................................................................................................... 1
1.1 研究背景 ..................................................................................................................... 1
1.2 研究现状 ..................................................................................................................... 4
1.2.1 基于 Android 平台的开发现状 ........................................................................... 4
1.2.2 基于 CAD 图形标准交换文件的研究现状 ........................................................ 6
1.3 研究内容和目标 ......................................................................................................... 8
第二章 安卓开发平台搭建 ................................................................................................. 9
2.1 Android 平台简述 ........................................................................................................ 9
2.2 Android 平台搭建 ........................................................................................................ 9
2.2.1 Android 平台搭建准备 ......................................................................................... 9
2.2.2 Android 平台搭建流程 ....................................................................................... 10
2.3 安卓开发环境配置和测试 ....................................................................................... 14
2.3.1 新建一个 Android 开发程序 ............................................................................. 14
2.3.2 创建 Android 虚拟设备(AVD)和真机调试 ................................................. 15
2.4 本章小结 ................................................................................................................... 20
第三章 CAD 标准图形交换文件解析 .............................................................................. 21
3.1 CAD 技术及 CAD 标准图形交换文件概述 ............................................................ 21
3.2 DXF 文件结构解析 ................................................................................................... 22
3.2.1 DXF 文件简述 ..................................................................................................... 22
3.2.2 DXF 文件分析 ..................................................................................................... 23
3.2.3 DXF 文件各段具体说明 ..................................................................................... 25
3.3 IGES 文件解析 .......................................................................................................... 41
3.3.1 IGES 文件简述 .................................................................................................... 41
3.3.2 IGES 文件分析 .................................................................................................... 41
3.3.3 IGES 各段详细介绍 ............................................................................................ 42
3.3.4 IGES 文件的数据记录格式 ................................................................................ 45
3.4 本章小结 ................................................................................................................ 46
第四章 Java 读取 CAD 标准图形交换文件的程序类 ..................................................... 47
4.1 Java 简述 .................................................................................................................... 47
4.2 Java 读取文本文件方法 ............................................................................................ 47
4.3 Java 读取 DXF ASCll 文本文件信息 ....................................................................... 49
4.3.1 Java 按行读取 DXF 文件信息 ........................................................................... 49
4.3.2 Java 读取 DXF 文件各段方法 ........................................................................... 49
4.4 IGES 的 ASCII 格式文件信息读取 .......................................................................... 58
4.4.1 Java 按行读取并解析 IGES ................................................................................ 58
4.4.2 Java 读取 IGES 各段信息 ................................................................................... 59
4.5 本章总结 ................................................................................................................... 65
第五章 CAD 标准图形交换文件浏览系统的框架搭建 .................................................. 66
5.1 CAD 标准图形交换文件浏览系统的 UI 设计 ........................................................ 66
5.2 CAD 标准图形交换文件浏览系统主要设计类介绍 ............................................... 66
5.3 CAD 标准图形交换文件浏览系统程序测试 ........................................................... 82
5.4 本章小结 ................................................................................................................... 84
第六章 总结与展望 ........................................................................................................... 85
6.1 总结 ........................................................................................................................... 85
6.2 展望 ........................................................................................................................... 86
参考文献 ............................................................................................................................. 87
攻读学位期间本人出版或公开发表的论著、论文 ......................................................... 91
致谢 ..................................................................................................................................... 92
附录 ..................................................................................................................................... 93
基于 Android 平台的 CAD 标准图形交换文件浏览系统 第一章 绪论
1
第一章 绪论
1.1 研究背景
1963 年,Ivan Sutherland 在麻省理工学院的毕业论文中研制了第一代 CAD 实验
系统(Sketchpad 系统)。
Sketchpad 的突出特性是它允许设计者用图形方式和计算机交互:设计可以用一
枝光笔在阴极射线管屏幕上绘制到计算机里。实际上,这就是图形化用户界面的原型,
而这种界面是现代 CAD 不可或缺的特性,也是现代平板电脑的起点。
Sketchpad 也是最早的面向对象的应用程序,如果拖动一个结点,所有与之相接
的路径都会同时改变位置,即率先提出橡皮筋技术和拖放技术,同时它也是第一个交
互式电脑程序,是之后众多交互式系统的蓝本。
1989 年,GRiD Systems 制造的第一台商用的平板电脑 GRiDPad 发售,采用
MS-DOS 操作系统。这款产品采用命令行的用户界面,支持触笔控制,可以算是第一
代商用平板电脑。
1991 年,Go Corporation 推出名为 Momenta Pentop 的平板电脑,重达 3.2 千克,
价格高达 5000 美元。1992 年,Go 推出了专用操作系统 PenPoint OS,同年微软公司
也推出了 Windows for Pen Computing,实现了图形界面。
2000 年微软推出接近现代意义上的平板 Tablet PC。在当年举行的拉斯维加斯计
算机博览会上,微软软件架构师 Bert Keely 向观众展示了第一代 Tablet PC 原型机,
第二年微软又推出一款采用新操作系统的产品。2002 年 12 月,中文版 Windows XP
Tablet PC Edition 登陆中国市场。
此后,HP、戴尔、富士通、宏基、联想等电脑厂商都推出过采用 Tablet PC 操作
系统的平板电脑产品,但是高昂的价格使得这些产品始终曲高和寡,只是在一些商务
办公、教育、科研及一些在户外使用的行业应用中得到使用。为了让软件流畅运行,
微软在标准 Windows 的基础上对 Tablet Windows 进行了裁剪和优化,结果很多
Windows 软件无法在 Tablet PC 上运行,必须进行重新开发和测试。
2010 年 1 月 24 日,苹果正式发布 iPad,正式开启平板电脑元年。直到这时,人
们才明白真正的能够随时移动的平板电脑应该是什么样子:支持多点手指触摸输入,
支持应用软件、音乐、图书等产品的管理、购买和支付的应用商店,通过 3G、WiFi
随时随地接入互联网,10 小时的电池寿命,以及合理的价格,其核心是良好的用户
剩余121页未读,继续阅读
资源评论
programyp
- 粉丝: 88
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功