| Building Information Modeling(BIM)technology has the characteristics of 3D visualization modeling and information transmission and sharing,and is suitable for comprehensive design of mechanical and electrical pipelines.This thesis studies the method of unified modeling and optimization of electromechanical pipelines based on Revit,identifies the electromechanical CAD drawings linked by Revit,quickly creates a pipeline BIM model,and performs optimization processing such as pipeline collision intelligent adjustment and pipeline clear height detection.The main contents are as follows:(1)It realizes the automatic identification and generation of various professional pipelines in electromechanical CAD drawings.First,based on the automatic identification layer algorithm,the automatic identification of pipelines and pipeline labeling layers is designed and realized;then,combined with the drawing features of the pipelines of various specialties of electromechanical,the "nearest end point" method and the "parallel distance" method are proposed to identify and verify the cross-sectional profile of the pipeline;secondly,based on the "distance threshold" algorithm,a "same direction + two-way" matching algorithm is proposed to identify pipeline text labels.First,the pipeline labels are searched for the same direction,and then the pipeline labels are searched from the pipeline,which effectively solves the problem of dense pipeline labels.The problem of misidentification of regional pipe diameter;finally,based on the pipeline creation method provided by the Revit API,combined with the parameters such as the pipeline system type specified by manual interaction,the BIM model of the electromechanical pipeline is quickly created and the pipeline is connected.(2)The optimization method of pipeline comprehensive installation is studied,including intelligent adjustment of pipeline collision and clear height detection of pipeline.Obtain parameters such as the type,system type and pipe diameter of the collision component,set precise pipeline optimization filter conditions based on the principle of pipeline avoidance,and realize the intelligent adjustment of the collision pipeline combined with the automatic pipeline avoidance method.By increasing the Z-axis positive parameter value of the bottom surface of the area,the clear height of the pipeline in a certain area is determined,and the automatic detection of pipelines that do not meet the requirements of the clear height in different areas is realized.(3)Programming in.NET using Visual Studio 2017,through the test of the actual project,the results show that the unified modeling and optimization algorithm researched in this thesis can realize the rapid and accurate generation of the BIM model of the electromechanical pipeline,the accurate automatic adjustment of the pipeline,and the automatic detection of the clear height of the pipeline in different areas. |