摘 要
本课题为弹簧CAD软件的开发,运用的是VB语言,设计包括的大致内容有:弹簧的主要类型、功能、适用范围等基本知识,以便对本课题的论述有初步的了解,从而为学习设计准备条件。然后论述关键技术、设计方法与步骤、程序设计编制、常用参考资料以及有关注意事项等。本软件主要有两个技术要点:一是用于选择弹簧材料的数据库技术。将Visual Basic 的Text控件的DataSource属性设置为一个有效的数据库名,DataField 属性设置为此有效数据库中的一个有效字段名,该控件就可以对记录进行编辑和浏览。二是网页的制作和调用。用Microsoft FrontPage 制作网页,并在网页之间运用超链接技术,然后在工程中添加Web 浏览器,便可调用网页,实现在线帮助功能。该软件为工程技术人员提供了便捷、可靠、低成本的设计平台,可以高效率地设计出符合自身要求的弹簧。
关键词: Visual Basic 弹簧CAD 数据库
Abstract
This design is the development of the CAD software to spring with VB language, which includes main type, function, scope of application of the spring, etc .First ,in order to have a preliminary knowledge of argumentation of this subject, thus in order to study and design the condition of preparing. Then describe the pacing technology, design method, step, design program, daily reference material and matters relating to paying attention to, etc. This Software mainly has two technological points: first, its database technology of choosing spring material. This sets up DataSource attribution of the Text controller of Visual Basic as an effective database name and DataField attribute as a field of the effective database, thus the controller can help users edit and skim through. Second, the making and calling of the web page. This makes web pages with Microsoft FrontPage, uses the technology of hyper-linking among web pages and adds Web browser among the project, thus the program can transfer web pages and help the function online. So the software has offered a convenient, reliable, low cost platform for engineers and technicians, which can design a spring efficiently.
Keywords: Visual Basic Spring CAD database
目 录
0前言……………………………………………………………………………… 1
1 弹簧的计算机辅助设计…………………………………………………………… 3
1.1 计算机辅助设计的构成、特点、作用及意义…………………………………… 3
1.2 弹簧设计的特点及内容 ……………………………………………………… 4
1.3 变量的选择…………………………………………………………………………5
1.4 程序的流程图………………………………………………………………………7
1.5 弹簧的设计计算……………………………………………………………………9
1.6 数表处理………………………………………………………………………… 12
2 关键技术 ………………………………………………………………………15
2.1 面向对象的程序设计语言Visual Basic 6.0 ……………………………… 15
2.2数据库技术的应用 ……………………………………………………………15
2.3接口技术 ……………………………………………………………………… 18
2.4 网页的制作及调用 ………………………………………………………………19
3 软件开发 ………………………………………………………………………21
3.1 开发平台的选择 ……………………………………………………………… 21
3.2 总体设计 ………………………………………………………………………22
3.3 弹簧CAD软件的制作 ………………………………………………………… 24
4 测试及应用 ………………………………………………………………………33
4.1 弹簧CAD软件的测试 …………………………………………………………33
4.2 应用及二次开发 …………………………………………………………44
5 结论 …………………………………………………………………………………46
参考文献……………………………………………………………………………47
设计工作小结………………………………………………………………………48
附件清单……………………………………………………………………………49
附录…………………………………………………………………………………50
