斜管沉淀池參數(shù)化繪圖系統(tǒng)的設(shè)計(jì)與研究
本文選題:AutoCAD + VBA; 參考:《沈陽(yáng)建筑大學(xué)》2014年碩士論文
【摘要】:隨著經(jīng)濟(jì)的飛速發(fā)展,水質(zhì)處理已成為了城市關(guān)注的焦點(diǎn),所以市政工程設(shè)計(jì)大量的涌現(xiàn),對(duì)水廠斜管沉淀池的設(shè)計(jì)質(zhì)量、設(shè)計(jì)效率要求越來(lái)越高。而現(xiàn)階段的設(shè)計(jì)人員還處在人工計(jì)算,利用CAD軟件人工繪圖的階段。所以對(duì)AutoCAD進(jìn)行二次開(kāi)發(fā),將參數(shù)化繪圖的方法應(yīng)用在給水排水設(shè)計(jì)領(lǐng)域是未來(lái)的發(fā)展趨勢(shì)。利用CAD軟件進(jìn)行設(shè)計(jì)繪圖已經(jīng)成為給水排水設(shè)計(jì)人員用于圖紙?jiān)O(shè)計(jì)的核心組成部分。面對(duì)設(shè)計(jì)人員的需求,現(xiàn)有的設(shè)計(jì)軟件存在以下幾點(diǎn)不足:(1)采用傳統(tǒng)的方法設(shè)計(jì)水廠斜管沉淀池時(shí),設(shè)計(jì)人員需要花費(fèi)大量的時(shí)間翻閱資料與書(shū)籍、查詢(xún)圖表、設(shè)計(jì)計(jì)算,得出數(shù)據(jù)后再用CAD軟件繪圖,過(guò)程繁瑣、效率較低,已經(jīng)不能滿(mǎn)足新形勢(shì)下市政工程發(fā)展的需要。(2)不能自動(dòng)進(jìn)行基本圖形的繪制。(3)沒(méi)有自動(dòng)繪制剖面圖的功能。(4)沒(méi)有針對(duì)某個(gè)單一污水處理斜管沉淀池的設(shè)計(jì)系統(tǒng)。面對(duì)以上問(wèn)題,本文針對(duì)給水排水設(shè)計(jì)人員的需求,對(duì)AutoCAD進(jìn)行二次開(kāi)發(fā)。本系統(tǒng)以AutoCAD2007為二次開(kāi)發(fā)平臺(tái),采用可視化接口和ActiveAutomation技術(shù),利用其內(nèi)嵌的VBA語(yǔ)言進(jìn)行編程,運(yùn)用參數(shù)化繪圖的方法,開(kāi)發(fā)出一套基于AutoCAD的污水處理的斜管沉淀池斜管沉淀池的參數(shù)化繪圖設(shè)計(jì)系統(tǒng)。該系統(tǒng)根據(jù)我國(guó)現(xiàn)有的設(shè)計(jì)規(guī)范編寫(xiě)了自動(dòng)化計(jì)算程序,可根據(jù)參數(shù)準(zhǔn)確計(jì)算出斜管沉淀池尺寸,并進(jìn)行精確參數(shù)化繪圖。解決了以上問(wèn)題,達(dá)到計(jì)算機(jī)自動(dòng)進(jìn)行計(jì)算與繪圖,實(shí)現(xiàn)計(jì)算與繪圖一體化和任意位置剖面圖自動(dòng)繪制的功能。本文研究?jī)?nèi)容以及工作主要集中在以下幾個(gè)方面:(1)對(duì)VB、VBA語(yǔ)言的研究。(2)對(duì)可視化接口和ActiveAutomation技術(shù)的研究。(3)對(duì)斜管沉淀池系統(tǒng)的計(jì)算和繪圖的研究。(4)對(duì)實(shí)現(xiàn)參數(shù)化繪圖的方法的研究。(5)對(duì)實(shí)現(xiàn)任意位置剖面圖自動(dòng)繪制方法的研究。本系統(tǒng)主要包括兩方面內(nèi)容:一是對(duì)斜管沉淀池進(jìn)行設(shè)計(jì)計(jì)算,二是實(shí)現(xiàn)斜管沉淀池的參數(shù)化繪圖。該參數(shù)化設(shè)計(jì)系統(tǒng)主要包括:斜管沉淀池參數(shù)及構(gòu)造尺寸輸入接口、斜管沉淀池工藝計(jì)算程序模塊、繪圖及計(jì)算結(jié)果顯示程序模塊,以及相關(guān)的輔助模塊。通過(guò)統(tǒng)一接口,各程序模塊間可實(shí)現(xiàn)數(shù)據(jù)的傳輸及與用戶(hù)的交互,降低了用戶(hù)操作難度,使用戶(hù)用起來(lái)簡(jiǎn)便快捷。本參數(shù)化繪圖系統(tǒng)采用框架式結(jié)構(gòu)設(shè)計(jì),系統(tǒng)由四大功能模塊組成:界面設(shè)計(jì)模塊、斜管沉淀池設(shè)計(jì)模塊、參數(shù)化繪圖模塊、輔助功能模塊。VBA語(yǔ)言作為二次開(kāi)發(fā)工具,功能強(qiáng)大,可以完成斜管沉淀池工藝計(jì)算、調(diào)用CAD所有的繪圖命令。以工藝尺寸和結(jié)構(gòu)尺寸作為變量,通過(guò)程序求出圖形中各個(gè)點(diǎn)的坐標(biāo)值,將點(diǎn)坐標(biāo)賦予CAD命令,可完成圖形的布置,當(dāng)輸入不同的尺寸變量,便可繪出不同尺寸大小的斜管沉淀池圖形,并通過(guò)在繪圖尺寸上乘以比例變量,便可以繪制出不同比例的圖形。以用戶(hù)輸入的角度、標(biāo)高、管徑等參數(shù)作為變量,根據(jù)管線(xiàn)定位點(diǎn)相對(duì)于基準(zhǔn)點(diǎn)的位置求出其坐標(biāo)值,就可根據(jù)用戶(hù)的輸入繪出各種管徑的管線(xiàn)圖形;本程序是利用VBA語(yǔ)言編程計(jì)算出斜管沉淀池的各部分尺寸,然后將工藝尺寸、結(jié)構(gòu)尺寸、用戶(hù)輸入的相關(guān)信息傳至相關(guān)的繪圖程序,繪圖程序?qū)ζ溥M(jìn)行組織完成點(diǎn)坐標(biāo)計(jì)算和圖形生成,這樣可以在CAD環(huán)境中對(duì)圖形進(jìn)行保存、打印、輸出,并以菜單的形式進(jìn)行程序發(fā)布。軟件的各個(gè)組成部分均以窗體和模塊方式來(lái)實(shí)現(xiàn),可以通過(guò)菜單、命令按鈕、鼠標(biāo)點(diǎn)擊等操作單獨(dú)調(diào)用事件或調(diào)用不同事件的組合,實(shí)現(xiàn)各個(gè)功能模塊的功能,完成軟件的參數(shù)化繪圖。在實(shí)際工程試應(yīng)用中,用戶(hù)只需輸入?yún)?shù),該系統(tǒng)即可繪制出設(shè)計(jì)圖,大大簡(jiǎn)化了斜管沉淀池的設(shè)計(jì)過(guò)程,降低了設(shè)計(jì)難度,提高自動(dòng)化程度、提高計(jì)算的精度與速度,提高了設(shè)計(jì)效率,具有操作簡(jiǎn)單、繪圖快速等特點(diǎn),該系統(tǒng)取得了良好的應(yīng)用效果,是一個(gè)實(shí)用性很強(qiáng)的輔助設(shè)計(jì)軟件,對(duì)于給水排水設(shè)計(jì)而言是具有極為重要的現(xiàn)實(shí)意義的。
[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.
【學(xué)位授予單位】:沈陽(yáng)建筑大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類(lèi)號(hào)】:TU991.2
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 謝水威;建立參數(shù)化繪圖數(shù)學(xué)模型的幾種方法[J];廣西機(jī)械;1998年03期
2 李強(qiáng),夏德麟;參數(shù)化繪圖及其應(yīng)用[J];工程設(shè)計(jì)CAD與智能建筑;1999年05期
3 隋玉堂,蔡湘芬;火箭發(fā)動(dòng)機(jī)參數(shù)化繪圖系統(tǒng)的研究與開(kāi)發(fā)[J];飛航導(dǎo)彈;2000年12期
4 張芳,邵長(zhǎng)青,李廣安;參數(shù)化繪圖中的數(shù)據(jù)庫(kù)聯(lián)結(jié)技術(shù)[J];江蘇機(jī)械制造與自動(dòng)化;2000年05期
5 周芝梅,李明山,王杰德;參數(shù)化繪圖中修改后圖形的參數(shù)保存[J];武漢理工大學(xué)學(xué)報(bào)(交通科學(xué)與工程版);2001年02期
6 郭穎鋒;楊兆建;;礦井水泵選型系統(tǒng)參數(shù)化繪圖方法研究[J];機(jī)械管理開(kāi)發(fā);2008年05期
7 田仙云;;機(jī)械CAD軟件參數(shù)化繪圖程序編制的關(guān)鍵技術(shù)[J];機(jī)械工程與自動(dòng)化;2009年03期
8 陳華;王幼苓;;菜單管理下的參數(shù)化繪圖方法[J];機(jī)械與電子;1996年01期
9 劉青,趙奇平;計(jì)算機(jī)輔助參數(shù)化繪圖的一種實(shí)現(xiàn)途徑[J];建材高教理論與實(shí)踐;1996年04期
10 邊學(xué)工,劉新;面向?qū)ο蟮膮?shù)化繪圖工具[J];機(jī)電工程;1997年03期
相關(guān)會(huì)議論文 前4條
1 李志強(qiáng);;變壓器計(jì)算機(jī)輔助設(shè)計(jì)系統(tǒng)的研制[A];全國(guó)第16屆計(jì)算機(jī)科學(xué)與技術(shù)應(yīng)用(CACIS)學(xué)術(shù)會(huì)議論文集[C];2004年
2 謝泳;;AutoCAD中實(shí)現(xiàn)參數(shù)化繪圖的幾種途徑[A];面向21世紀(jì)的圖學(xué)教育——第十二屆全國(guó)圖學(xué)教育研討會(huì)暨第三屆制圖CAI課件演示交流會(huì)論文集[C];2000年
3 楊聯(lián)合;;對(duì)ACAM4.0的一點(diǎn)改進(jìn)[A];96'線(xiàn)切割技術(shù)研討會(huì)論文集[C];1996年
4 楊聯(lián)合;;對(duì)ACAM 4.0的一點(diǎn)改進(jìn)[A];陜西省電加工學(xué)會(huì)第六屆學(xué)術(shù)年會(huì)論文集[C];1996年
相關(guān)重要報(bào)紙文章 前1條
1 陳棟棟;歐特克新版設(shè)計(jì)軟件在京問(wèn)世[N];中國(guó)工業(yè)報(bào);2009年
相關(guān)碩士學(xué)位論文 前8條
1 李濱羽;斜管沉淀池參數(shù)化繪圖系統(tǒng)的設(shè)計(jì)與研究[D];沈陽(yáng)建筑大學(xué);2014年
2 張偉杰;機(jī)械傳動(dòng)零件CAD系統(tǒng)[D];太原理工大學(xué);2003年
3 黃忠敏;CHC型少齒差減速器參數(shù)化繪圖系統(tǒng)開(kāi)發(fā)[D];武漢理工大學(xué);2012年
4 孫申;110kV油浸式電力變壓器計(jì)算機(jī)輔助設(shè)計(jì)的研究[D];山東科技大學(xué);2011年
5 劉盼;鐵道車(chē)輛車(chē)軸參數(shù)化繪圖系統(tǒng)研究[D];西南交通大學(xué);2014年
6 陳華榮;快開(kāi)式超臨界萃取釜CAD系統(tǒng)的開(kāi)發(fā)[D];南京工業(yè)大學(xué);2005年
7 江景濤;液壓零部件參數(shù)化繪圖系統(tǒng)的研究[D];中國(guó)農(nóng)業(yè)大學(xué);2001年
8 李玉峰;基于特征與數(shù)據(jù)庫(kù)的軸CAD系統(tǒng)(SHAFTCAD)研究與開(kāi)發(fā)[D];西安建筑科技大學(xué);2003年
,本文編號(hào):1820299
本文鏈接:http://sikaile.net/guanlilunwen/chengjian/1820299.html