ModelDataExchange - Import
eryar@163.com
Abstract. The ModelDataExchange import utility enables the user to import geometric models of equipment into 3D models within Design. The input models files format are STEP, IGES, STL .etc. The imported model is saved in polyhedron of the equipment.
Key Words. ModelDataExchange, Import, MEI, Mechanical Equipment Inteface
一、引言 Introduction
AVEVA的機(jī)械設(shè)備接口(Mechanical Equipment Interface: MEI)可以將模型數(shù)據(jù)導(dǎo)出為STEP通用幾何交換文件。也可以將STEP文件中的模型導(dǎo)入到Design數(shù)據(jù)庫中。
ModelDataExchange程序已經(jīng)可以將Design中的管子、設(shè)備及結(jié)構(gòu)導(dǎo)出為STEP、IGES、STL、3DS等常見的三維數(shù)據(jù)交換格式,還可將這些文件中的幾何模型導(dǎo)入到Design數(shù)據(jù)庫中。
ModelDataExchange的導(dǎo)出功能及程序下載請參考:
http://www.shnenglu.com/eryar/archive/2013/05/01/199875.html
http://www.shnenglu.com/eryar/archive/2014/04/10/206528.html
http://www.shnenglu.com/eryar/archive/2013/09/11/203182.html
本文簡要說明ModelDataExchange導(dǎo)入功能的實(shí)現(xiàn)原理及結(jié)果。利用模型導(dǎo)入功能可方便將通用模型交換文件中的幾何模型導(dǎo)入到Design數(shù)據(jù)庫中,避免設(shè)備模型的重新建立,提高工作效率。
二、實(shí)現(xiàn)要點(diǎn) Key Points
AVEVA在Design中提供了網(wǎng)格數(shù)據(jù)的存儲結(jié)構(gòu),即為Polyhedron Element,其主要目的就是為了便于存儲從外部導(dǎo)入的模型數(shù)據(jù)。正因?yàn)槿绱耍珹VEVA并沒有為創(chuàng)建Polyhedron提供相應(yīng)的操作。
ModelDataExchange通過讀取STEP、IGES等通用模型交換文件,得到其中的模型,并將模型網(wǎng)格化,再把網(wǎng)格數(shù)據(jù)保存到Polyhedron中,即可得到模型的近似表示。
三、結(jié)果展示 ShowOff
Figure 3.1 Equipment Model in STEP File
Figure 3.2 Equipment Model in PDMS Design
Figure 3.3 Wireframe Equipment Model in PDMS Design
Figure 3.4 Pipe model imported by ModelDataExchange
Figure 3.5 Pipe model imported by ModelDataExchange
Figure 3.6 Equipment model in shaed mode
Figure 3.7 Equipment model imported by ModelDataExchange in wireframe mode
四、結(jié)論 Conclusion
由上結(jié)果可知,從外部文件導(dǎo)入的模型顯示效果還不錯,尤其在實(shí)體模式下。但也存在許多不足之處,如對于曲面部件網(wǎng)格數(shù)據(jù)量較大,占用了大量的存儲及內(nèi)存空間,進(jìn)而影響PDMS軟件的速度;網(wǎng)格化算法對于球面的方向計算有誤,導(dǎo)致部件面沒有閉合,顯示失敗。
Figure 4.1 Surface not closed problem for Polyhedron
對于占用大量資源的問題在這種存儲結(jié)構(gòu)的情況下是不能解決的,除非換一種數(shù)據(jù)結(jié)構(gòu);
對于球面網(wǎng)格化的問題,可以通過調(diào)試程序進(jìn)行改正。