斜管沉淀池参数化绘图系统的设计与研究
本文选题:AutoCAD + VBA ; 参考:《沈阳建筑大学》2014年硕士论文
【摘要】:随着经济的飞速发展,水质处理已成为了城市关注的焦点,所以市政工程设计大量的涌现,对水厂斜管沉淀池的设计质量、设计效率要求越来越高。而现阶段的设计人员还处在人工计算,利用CAD软件人工绘图的阶段。所以对AutoCAD进行二次开发,将参数化绘图的方法应用在给水排水设计领域是未来的发展趋势。利用CAD软件进行设计绘图已经成为给水排水设计人员用于图纸设计的核心组成部分。面对设计人员的需求,现有的设计软件存在以下几点不足:(1)采用传统的方法设计水厂斜管沉淀池时,设计人员需要花费大量的时间翻阅资料与书籍、查询图表、设计计算,得出数据后再用CAD软件绘图,过程繁琐、效率较低,已经不能满足新形势下市政工程发展的需要。(2)不能自动进行基本图形的绘制。(3)没有自动绘制剖面图的功能。(4)没有针对某个单一污水处理斜管沉淀池的设计系统。面对以上问题,本文针对给水排水设计人员的需求,对AutoCAD进行二次开发。本系统以AutoCAD2007为二次开发平台,采用可视化接口和ActiveAutomation技术,利用其内嵌的VBA语言进行编程,运用参数化绘图的方法,开发出一套基于AutoCAD的污水处理的斜管沉淀池斜管沉淀池的参数化绘图设计系统。该系统根据我国现有的设计规范编写了自动化计算程序,可根据参数准确计算出斜管沉淀池尺寸,并进行精确参数化绘图。解决了以上问题,达到计算机自动进行计算与绘图,实现计算与绘图一体化和任意位置剖面图自动绘制的功能。本文研究内容以及工作主要集中在以下几个方面:(1)对VB、VBA语言的研究。(2)对可视化接口和ActiveAutomation技术的研究。(3)对斜管沉淀池系统的计算和绘图的研究。(4)对实现参数化绘图的方法的研究。(5)对实现任意位置剖面图自动绘制方法的研究。本系统主要包括两方面内容:一是对斜管沉淀池进行设计计算,二是实现斜管沉淀池的参数化绘图。该参数化设计系统主要包括:斜管沉淀池参数及构造尺寸输入接口、斜管沉淀池工艺计算程序模块、绘图及计算结果显示程序模块,以及相关的辅助模块。通过统一接口,各程序模块间可实现数据的传输及与用户的交互,降低了用户操作难度,使用户用起来简便快捷。本参数化绘图系统采用框架式结构设计,系统由四大功能模块组成:界面设计模块、斜管沉淀池设计模块、参数化绘图模块、辅助功能模块。VBA语言作为二次开发工具,功能强大,可以完成斜管沉淀池工艺计算、调用CAD所有的绘图命令。以工艺尺寸和结构尺寸作为变量,通过程序求出图形中各个点的坐标值,将点坐标赋予CAD命令,可完成图形的布置,当输入不同的尺寸变量,便可绘出不同尺寸大小的斜管沉淀池图形,并通过在绘图尺寸上乘以比例变量,便可以绘制出不同比例的图形。以用户输入的角度、标高、管径等参数作为变量,根据管线定位点相对于基准点的位置求出其坐标值,就可根据用户的输入绘出各种管径的管线图形;本程序是利用VBA语言编程计算出斜管沉淀池的各部分尺寸,然后将工艺尺寸、结构尺寸、用户输入的相关信息传至相关的绘图程序,绘图程序对其进行组织完成点坐标计算和图形生成,这样可以在CAD环境中对图形进行保存、打印、输出,并以菜单的形式进行程序发布。软件的各个组成部分均以窗体和模块方式来实现,可以通过菜单、命令按钮、鼠标点击等操作单独调用事件或调用不同事件的组合,实现各个功能模块的功能,完成软件的参数化绘图。在实际工程试应用中,用户只需输入参数,该系统即可绘制出设计图,大大简化了斜管沉淀池的设计过程,降低了设计难度,提高自动化程度、提高计算的精度与速度,提高了设计效率,具有操作简单、绘图快速等特点,该系统取得了良好的应用效果,是一个实用性很强的辅助设计软件,对于给水排水设计而言是具有极为重要的现实意义的。
[Abstract]:With the rapid development of the economy, the water quality treatment has become the focus of the city's attention, so the design of the municipal engineering has springing up, the design quality and the design efficiency of the water plant inclined tube sedimentation tank are more and more demanding. At the present stage, the designers are still in the artificial calculation, using the CAD software artificial drawing stage. So the two times for the AutoCAD are carried out. Developing, applying the method of parameterized drawing in the field of water and drainage design is the future development trend. Using CAD software to design and drawing has become the core component of the design of water and drainage design personnel. In the face of the needs of designers, the existing design software has the following shortcomings: (1) the use of traditional methods When the method is designed to design the inclined pipe sedimentation tank in water works, designers need to spend a lot of time reading materials and books, querying charts, designing and calculating, drawing data with CAD software, the process is tedious, and the efficiency is low. (2) the drawing of basic graphics can not be automatically made. (3) there is no self. The function of dynamic drawing section. (4) there is no design system for a single sewage treatment inclined tube sedimentation tank. Facing the above problems, this paper develops the AutoCAD two times for the needs of water and drainage designers. This system takes AutoCAD2007 as the two development platform, and uses the visual interface and ActiveAutomation Technology to make use of its embedded system. The VBA language is programmed, and a parameterized drawing design system for inclined tube sedimentation tank of inclined tube sedimentation tank based on AutoCAD is developed by using the method of parameterized drawing. The system has written the automatic calculation program according to the existing design specifications of our country, and can accurately calculate the size of the inclined tube sedimentation tank according to the parameters and carry out the calculation. The above problems are solved, and the above problems are solved. The functions of computer automatic calculation and drawing, the integration of calculation and drawing and the automatic drawing of any position profile are realized. The contents and work of this paper are mainly focused on the following aspects: (1) the study of VB, VBA speech. (2) visual interface and ActiveAutomation Research on technology. (3) study on the calculation and drawing of inclined tube sedimentation tank system. (4) study on the method of realizing parametric drawing. (5) study on automatic drawing method of arbitrary position section drawing. This system mainly includes two aspects: one is to design and calculate the inclined tube sedimentation tank, and two to realize the parameterization of the inclined tube sedimentation tank The parameterized design system mainly includes the parameters of the inclined tube sedimentation tank and the input interface of the structure size, the calculation program module of the inclined tube sedimentation tank, the drawing and calculation result display module, and the related auxiliary modules. Through the unified interface, the data transmission and the interaction with the users can be realized between the program modules and the use is reduced. The system uses frame structure design. The system consists of four functional modules: interface design module, inclined tube sedimentation tank design module, parameterized drawing module, auxiliary functional module.VBA language as the two development tool, which has powerful function and can complete the inclined tube sedimentation tank. In the process calculation, all the drawing commands of CAD are called. The coordinate values of each point in the graphics are calculated with the process size and the structure size. The point coordinates are given to the CAD command to complete the layout of the graphics. When the different size variables are input, the graph of the inclined tube sedimentation tank with different size size can be drawn and the drawing size can be drawn. Multiplied by proportional variables, we can draw a different proportion of graphics. According to the user input angle, elevation, diameter and other parameters as variables, according to the position of the pipeline location point relative to the position of the reference point, the coordinates can be calculated, and the pipe lines of various pipe diameters can be drawn according to the input of the user. This program uses the VBA language programming to calculate the skew. The size of each part of the sedimentation tank is tube, and the related information of the process size, structure size and user input is transmitted to the relevant drawing program. The drawing program organizes the coordinates of the coordinates and generates the graphics, so that the graphics can be saved, printed and output in the CAD environment, and the program is published in the form of a menu. All the components of the system are realized by form and module. It can call events by menu, command button, mouse click and so on. The function of each function module can be realized and the parametric drawing of the software can be completed. In practical engineering application, the user only needs to input parameters and the system can be drawn. The design diagram greatly simplifies the design process of the inclined tube sedimentation tank, reduces the design difficulty, improves the degree of automation, improves the accuracy and speed of the calculation, improves the design efficiency, has the advantages of simple operation and fast drawing, and the system has achieved good application effect. It is a very practical auxiliary design software for water supply. Water design is of great practical significance.
【学位授予单位】:沈阳建筑大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TU991.2
【相似文献】
相关期刊论文 前10条
1 谢水威;建立参数化绘图数学模型的几种方法[J];广西机械;1998年03期
2 李强,夏德麟;参数化绘图及其应用[J];工程设计CAD与智能建筑;1999年05期
3 隋玉堂,蔡湘芬;火箭发动机参数化绘图系统的研究与开发[J];飞航导弹;2000年12期
4 张芳,邵长青,李广安;参数化绘图中的数据库联结技术[J];江苏机械制造与自动化;2000年05期
5 周芝梅,李明山,王杰德;参数化绘图中修改后图形的参数保存[J];武汉理工大学学报(交通科学与工程版);2001年02期
6 郭颖锋;杨兆建;;矿井水泵选型系统参数化绘图方法研究[J];机械管理开发;2008年05期
7 田仙云;;机械CAD软件参数化绘图程序编制的关键技术[J];机械工程与自动化;2009年03期
8 陈华;王幼苓;;菜单管理下的参数化绘图方法[J];机械与电子;1996年01期
9 刘青,赵奇平;计算机辅助参数化绘图的一种实现途径[J];建材高教理论与实践;1996年04期
10 边学工,刘新;面向对象的参数化绘图工具[J];机电工程;1997年03期
相关会议论文 前4条
1 李志强;;变压器计算机辅助设计系统的研制[A];全国第16届计算机科学与技术应用(CACIS)学术会议论文集[C];2004年
2 谢泳;;AutoCAD中实现参数化绘图的几种途径[A];面向21世纪的图学教育——第十二届全国图学教育研讨会暨第三届制图CAI课件演示交流会论文集[C];2000年
3 杨联合;;对ACAM4.0的一点改进[A];96'线切割技术研讨会论文集[C];1996年
4 杨联合;;对ACAM 4.0的一点改进[A];陕西省电加工学会第六届学术年会论文集[C];1996年
相关重要报纸文章 前1条
1 陈栋栋;欧特克新版设计软件在京问世[N];中国工业报;2009年
相关硕士学位论文 前8条
1 李滨羽;斜管沉淀池参数化绘图系统的设计与研究[D];沈阳建筑大学;2014年
2 张伟杰;机械传动零件CAD系统[D];太原理工大学;2003年
3 黄忠敏;CHC型少齿差减速器参数化绘图系统开发[D];武汉理工大学;2012年
4 孙申;110kV油浸式电力变压器计算机辅助设计的研究[D];山东科技大学;2011年
5 刘盼;铁道车辆车轴参数化绘图系统研究[D];西南交通大学;2014年
6 陈华荣;快开式超临界萃取釜CAD系统的开发[D];南京工业大学;2005年
7 江景涛;液压零部件参数化绘图系统的研究[D];中国农业大学;2001年
8 李玉峰;基于特征与数据库的轴CAD系统(SHAFTCAD)研究与开发[D];西安建筑科技大学;2003年
,本文编号:1820299
本文链接:https://www.wllwen.com/guanlilunwen/chengjian/1820299.html