针对高速铁路桥梁大规模三维建模的需求,提出一种面向组件的桥梁半自动建模方法。首先对高速铁路桥梁进行组件拆分与子类划分,形成建模的最小构件,采用参数化方法描述构件的几何、定位、材质特征,通过输入参数值获得形态迥异的构件实例;然后根据组件的相互作用规则与定位参数,将组件自动组合为桥梁;最后采用VC2008语言开发3dsMax插件,在3dsMax平台下实现模型绘制、参数编辑和数据导出。该插件已成功应用于长昆线271座桥建模,取得了良好的应用效果。
According to the demand of large-scale 3D modelling for high-speed railway bridges, we put forward the component-oriented semi-automated bridge modelling method. Firstly, the high-speed railway bridge is divided into components and sub-classes to form the minimum components of modelling. The parametric method is applied to describe the geometrical, positional and material properties of components, the components examples with very different patterns are obtained by inputting the parametric values; then according to the interaction rules of components and the positional parameters, the components are automatically combined into the bridge; finally, VC 2008 language is adopted to develop the 3ds Max plug-in, and the rendering, parameters editing and data exporting of the model are realised on 3ds Max platform. The plug-in has been successfully applied to modelling 271 bridges in Changkun railway and achieves good application effect.