船体剖面数据用途广泛,目前获取精确且详细的船体剖面数据主要通过对船舶型线文件中的数据进行插值计算。为避免复杂的插值计算和人为干扰带来的数据误差,本文利用3D打印中的模型切割技术实现了不同方向和数量的船体三维模型切片方法,并将其封装成切片接口类,基于该类实现了船体三维模型切片数据处理平台。该平台能够读取不同格式的船体STL模型并进行切片操作,切片数据可即时从三维或二维窗口观察,切片数据经过算例验证符合度较高,针对原始切片数据冗余度高的问题实现了一种冗余滤除算法,经过滤后的切片数据具有精度高、数据量小的特点,所有切片数据组织清晰并可以重复利用,为后续进一步船体水动力研究工作提供了良好的数据条件。
The ship profile data is widely used, while the detailed data is mainly depending on the interpolation. In order to avoid the complicated interpolation and the error caused by human interference, the model slicing technology in 3D printing is introduced, the slicing method with different directions and quantities on ship 3D model is realized which is encapsulated into an interface class as well. The ship 3D model slice data processing platform is developed based on the class. The platform can read ship STL models and perform slicing operations. The slice data can be observed from the three-dimensional or two-dimensional window in real time and the data is verified by the calculation examples to be highly consistent. A redundant filtering algorithm is applied to reduce the high redundancy of the original slice data, the filtered data has the characteristics of high precision and small amount. All slice data are well organized and easy to reuse, which provides good conditions for further research on ship hydrodynamics.
2020,42(8): 183-186 收稿日期:2018-03-16
DOI:10.3404/j.issn.1672-7649.2020.08.034
分类号:TP391
基金项目:国家863高技术研究发展计划资助项目(2015AA016404);船员培训模拟器性能标准研究资助项目(80716017);云南内河航运资助项目(云交科2013(A)01)
作者简介:景乾峰(1993-),男,博士研究生,研究方向为船舶运动仿真、航海模拟器
参考文献:
[1] 马山, 宋竞正, 段文洋. 二维半理论和切片法的数值比较研究[J]. 船舶力学, 2004, 8(1): 35-43
[2] 马山, 段文洋, 马卫星. 基于二维半理论的船舶水动压力预报方法研究[J]. 船舶力学, 2011, 15(1): 1-10
[3] 张海彬, 任慧龙, 宋竞正, 等. 一种船体三维湿表面网格自动生成方法[J]. 中国造船, 2001, 42(4): 61-65
[4] 刘春雷, 尹勇, 孙霄峰, 等. 基于STL模型的船舶吃水转换功能实现[J]. 舰船科学技术, 2016, 38(9): 69-73
[5] 王智洲, 孙霄峰, 尹勇, 等. 基于三维设计数据的船舶湿面积计算[J]. 船舶工程, 2016(5): 5-8
[6] 贺强, 程涵, 杨晓强. 面向3D打印的三维模型处理技术研究综述[J]. 制造技术与机床, 2016(6): 54-57
[7] https://github.com/alexrj/Slic3r
[8] https://simman2014.dk/ship-data/moeri-kvlcc2-tanker/geometry-and-conditions-moeri-kvlcc2-tanker/