資源描述:
《探析交互式力學(xué)圖形生成系統(tǒng)(mcad)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、大連理工大學(xué)碩士學(xué)位論文交互式力學(xué)圖形生成系統(tǒng)(MCAD)姓名:李孟黎申請學(xué)位級別:碩士專業(yè):結(jié)構(gòu)工程指導(dǎo)教師:姜峰20040318摘要根據(jù)目前高校對計(jì)算機(jī)輔助教學(xué)的需要和理工類院校力學(xué)教學(xué)的特點(diǎn),開發(fā)了交互式力學(xué)圖形生成系統(tǒng)(MCAD)。從軟件的實(shí)用性出發(fā),使計(jì)算機(jī)充分發(fā)揮在輔助教學(xué)中的應(yīng)用。MCAD系統(tǒng)運(yùn)用計(jì)算機(jī)圖形學(xué)相關(guān)知識,以Vc++6.0作為開發(fā)工具,以Widows為平臺進(jìn)行開發(fā)。主要工作如下:1.力學(xué)圖形庫的開發(fā):將常用力學(xué)圖形分類、整理為基本圖形、構(gòu)件、力與約束、組合體等類型。依據(jù)面向?qū)ο蟮臋C(jī)制和VC++6,0程序工
2、具建立了一個圖形基類CDraw,并以此繼承了框架類,梁類,荷載類等專用于繪制力學(xué)圖形的圖形類。從而將~套專業(yè)力學(xué)圖形庫集成到MCAD系統(tǒng)中。2.繪圖軟件功能的開發(fā):包括圖形編輯、圖形操作、圖形存儲、視圖操作、文字編輯、繪圖輔助等。在繪制圖形過程中可以即時改變筆色、線型、線寬、柵格步長、背景顏色等參數(shù)。形成具有圖形界面豐富、功能實(shí)用的交互式繪圖系統(tǒng)。3.軟件接口功能的開發(fā):繪制的力學(xué)圖形以BMP格式與常用軟件Word、Excel、PowerPoim等進(jìn)行存儲。關(guān)鍵詞:力學(xué)圖形面向?qū)ο骎c++計(jì)算機(jī)圖形學(xué)AbstractAccordi
3、ngtotheneedsofComputer-AidedInstructionandthecharacteristicsofmechanicalteachinginuniversities,amutualdrawingsystemofmechanicalgraphics(MCAD)isdeveloped.ThissystemwillimprovethepracticabilityofcomputerinC0mDuter-AIdedInstructionfully.UsedtheknowledgerelatetoComputerGr
4、aphics,themutualdrawingsystemofmechanicalgraphicsisdevelopedontheMicrosoft'sproduction--VisualC++6.0underWindows.Themainworksofthispaperareasfollows...1.Thedevelopmentofthedrawinglibraryofmechanicalgraphicsinthissystem。thecommonmechanicalgraphicsaraclassifiedbyseveral
5、graphiclibrariesTheselibrariesarebasicgraphics、component、force、constraintandcombinedbodyetcThemutualdrawingsystemofmechanicalgraphicsconstructthegraphiclibrariesbytheobject-orientedmechanismEmployingobject-orfentedmethodandusingVisualC++6.0programmingtools。abasicdrawi
6、ngclass—CDrawiscreated,theninheritingotherspecialdrawingclasses,suchasbeamclass,frameclass,loadclassetcSo,thespecialdrawinglibraryofmechanicalgraphicsisembodiedinthissystem.2.ThedevelopmentofdrawingfunctionThemutualdrawingsystemofmechanicalgraphicsincludesomefunctions
7、ofgraphicediting、graphicoperating、graphicstodngandassistantetc.Thedrawingparameters.suchaspen、linetype、Iinewide、thestepofgrid、thecolorofbackgroundcanbechangedfreelyduringdrawing.Theabovefactorsfornlamutualdrawingsystemwithrichiriterfaceandpracticablefunction,3.Thedeve
8、lopmentofcommunicatingwithothersoftwaresThemutualdrawingsystemofmechanicalgraphicscanstoreit'sfilesinWord、Excel、PowerPointby