登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 轮机工程 > 正文

船舶设计CAD图纸信息综合利用技术研究毕业论文

 2021-04-21 09:04  

摘 要

近年来,CAD技术的发展取得了长足的进步,为各个领域都带来了深刻的变革,应用范围也越来越广泛,为了有针对性地面向各个行业,CAD软件的二次开发也得到了越来越多的重视。

在传统的船舶行业中,一个产品图纸的设计,往往需要设计者参考大量的文献资料,查阅大量的数据,引用各种相关的公式和标准,才能完成图纸的设计。这就要求设计者要具有丰富的经验,还会使得设计工作量偏大,设计效率低。同时,往往船舶企业中还会积压有大量的案例图纸,而这些图纸的模式都相对固定,有时候仅仅是参数上的一点变化,很可能就需要大量的修改,就会花费大量的时间在重复性的工作上。因此,传统的船舶行业需要一种全新的适用范围更加广泛的通用CAD参数化绘图系统。

本论文首先以具有代表性的案例图纸为信息获取对象,以AutoCAD软件作为系统开发应用对象,研究学习AutoCAD软件的高级应用.SCR脚本文件格式,深入钻研每个图元的对象相对应的参数属性和创建语句和它的表述方法,以便于参数化绘图功能的快速实现。

此外,本论文通过对.NET平台的深入研究,将当下流行的.NET开发环境Visual Studio2017及VB.net作为开发语言,利用微软的Active X Automation技术获取AutoCAD的图元对象信息,同时还采用面向对象的程序设计,根据案例图纸的各种图元信息进行相关的数据获取开发。

本文正是在这种背景下提出,通过参数化设计,获取CAD图纸信息,进行版本比对,对命令流文件进行深入探索,完成模板文件编辑器,初步形成了参数化的通用CAD设计系统。

本系统通过多次案例图纸实际测试,证明基于案例图纸的通用CAD参数化设计系统具有可行性,满足一般船舶企业的实际需求。

关键词:AutoCAD;信息获取;案例图纸;参数化设计

Abstract

In recent years, the development of CAD technology has made great progress, for every field has brought profound changes, the application scope also more and more widely, to a targeted geared to the needs of various industries, secondary development of CAD software also got more and more attention.

In traditional ship industry, a drawing of design, designers often need to refer to a large number of literature, access to a large amount of data, refer to relevant formulas and standards, to complete the drawing design. This requires the designer to have rich experience, but also makes the design workload too large, the design efficiency is low. Often, at the same time, the shipping companies will squeeze the drawings, there are a large number of cases and the drawing of patterns are relatively fixed, sometimes is just a point on the parameter changes, may need a lot of change, will cost a lot of time on repetitive tasks. Therefore, the traditional ship industry needs a new general CAD parametric drawing system with a wider range of applications.

This thesis start with the typical case drawing for access to information objects, object in AutoCAD software system development application, the research learning advanced application of AutoCAD software. SCR script file format, delving into each primitive object corresponding to the parameter properties and the creation of statement and its expression method, in order to fast implementation of parameterized drawing function.

In addition, this paper based on the.net platform of in-depth study, will be the present popular. NET development environment, Visual Studio2017 and VB.net as the development language, using Microsoft Active X AutoCAD map object information Automation technology, it also adopts the object-oriented program design, according to all sorts of primitive information of the case drawing to develop related data acquisition.

In this paper, it is put forward under this background, through the parameterized design, CAD drawings information, version, to explore the command stream file, complete the template file editor, initially formed a parameterized CAD design system.

This system has proved the feasibility of the general CAD parametric design system based on the case drawings through many practical tests of the case drawings, which can meet the actual needs of the general shipping enterprises.

Key words:AutoCAD;information retrieval;the case drawing;parametric design

目录

第1章 绪论 1

1.1课题研究的背景及意义 1

1.2目前存在的问题 1

1.3本文的研究思路 2

第2章 系统开发平台选择 4

2.1CAD参数化设计概述 4

2.1.1CAD技术简介 4

2.1.2参数化设计 4

2.1.3CAD设计软件选择 5

2.2数据库技术 5

2.3.NET平台开发技术 6

2.3.1.NET简介 6

2.3.2 VB.NET开发语言 8

2.4 ActiveX、OLE和COM的关系 9

2.5 AutoCAD ActiveX Automation 10

2.6本章小结 12

第3章 系统实现途径与开发原理 13

3.1 OLE技术 13

3.2脚本文件的编写与运行 14

3.2.1脚本文件的调用 14

3.2.2几何图元的创建 15

3.2.3图层的创建 16

3.2.4编辑命令的创建 17

3.2.5其他命令的创建 17

3.3AutoCAD二次开发原理 17

3.3.1AutoCAD的对象操作 17

3.2.2AutoCAD的开发步骤 18

3.4本章小结 20

第4章 系统的设计 21

4.1需求及功能设计 21

4.2图纸的信息获取模块设计 22

4.2.1AutoCAD的连接访问 22

4.2.2基本信息的获取编辑 23

4.2.3几何图元的信息编辑 25

4.2.4其他信息的获取编辑 26

4.2.5命令流模板文件的编辑 26

4.3图纸文件比较设计流程图 28

4.4本章小结 30

第5章 系统测试及介绍 31

5.1系统的基本结构 31

5.2 功能设计 31

5.3 CAD图纸中表格数据识别 33

5.3.1明细表范围的识别方法 33

5.3.2 获得明细表文本字符串 37

5.4 CAD文件比较功能测试 38

5.5 参数化辅助绘图功能测试 39

5.6本章小结 40

第6章 总结与展望 41

6.1研究总结 41

6.2完善与期望 41

参考文献 43

第1章 绪论

1.1课题研究的背景及意义

进入21世纪,随着科技的发展,以及工业化和信息化在我国的不断深化,计算机技术已经在国民生产生活中扮演着更加重要的角色,而在这些所有计算机技术中,计算机辅助技术(CAD)无疑有着举重若轻的地位[1~3]

在这种高速发展的背景下,计算机辅助技术在机械设计,工程制造领域内的运用也就越来越广泛。随之而来的问题就是,由于市场的精细化程度不断深化,同一行业或者是不同行业对设计需求的差异也就越来越大。尽管传统的CAD软件也在不断改进,但是现有的传统软件仍不能满足大部分企业的特定需求。这也就导致了国内对CAD软件进行二次开发的重视程度越来越高,这些举措也都是为了提高效率,扩大生产力,以此满足自身的需求。

在传统的船舶行业中,一个机械产品的设计需要设计者参考大量的数据,文献资料。同时还要使用各类相干的公式和尺度。还要求设计者具有相当丰硕的履历,经过模板化的构思制图,设计等过程。这就使得计划工作量大,工作效率偏低。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图