• CN:11-2187/TH
  • ISSN:0577-6686

机械工程学报 ›› 2020, Vol. 56 ›› Issue (15): 218-226.doi: 10.3901/JME.2020.15.218

• 数字化设计与制造 • 上一篇    下一篇

扫码分享

一种基于OpenGL的螺旋成型加工轴截面廓形计算方法

贾康1,2, 郑帅3, 洪军1,2   

  1. 1. 西安交通大学现代设计与转子轴承系统教育部重点实验室 西安 710049;
    2. 西安交通大学机械工程学院 西安 710049;
    3. 西安交通大学软件工程学院 西安 710049
  • 收稿日期:2019-09-20 修回日期:2020-04-09 出版日期:2020-08-05 发布日期:2020-10-19
  • 通讯作者: 洪军(通信作者),男,1968年出生,博士,教授,博士研究生导师。主要研究方向为数字化设计、制造与装配,精密电主轴技术。E-mail:jhong@mail.xjtu.edu.cn
  • 作者简介:贾康,男,1987年出生,博士,助理研究员。主要研究方向为数字化制造与装配,CAD/CAM,大尺寸空间测量。E-mail:jiakang@xjtu.edu.cn
  • 基金资助:
    国家自然科学基金(51705403,51635010)和中国博士后基金(2017M623158)资助项目。

A Transversal Profile Calculation Method for Helical Forming Machining Based on OpenGL

JIA Kang1,2, ZHENG Shuai3, HONG Jun1,2   

  1. 1. Key Laboratory of Education Ministry for Modern Design & Rotor-Bearing System, Xi'an Jiaotong University, Xi'an 710049;
    2. School of Mechanical Engineering, Xi'an Jiaotong University, Xi'an 710049;
    3. School of Software Engineering, Xi'an Jiaotong University, Xi'an 710049
  • Received:2019-09-20 Revised:2020-04-09 Online:2020-08-05 Published:2020-10-19

摘要: 轴截面加工廓形的精确计算是螺旋特征加工的一个重要问题。不同于常规的解析法、离散法或布尔运算法等都在三维图形空间内进行求解,从可视化角度将空间几何问题映射到图像空间,提出了一种基于OpenGL图形渲染隐含计算的计算方法。首先,对螺旋特征成型加工的数学模型进行构建;然后,对螺旋特征轴截面加工空间的渲染计算原理从图形空间到图形空间的关系进行解析;随后,对计算的完整实现方案分别从图形空间与图像空间之间的映射关系、几何模型空间相交像素信息渲染表征实现以及轴截面廓形的最终解析提取进行研究,并给完整的计算实现框架与流程性函数组。最后以锥铣刀的螺旋槽铣削加工为例,进行了轴截面加工廓形的计算,并通过与解析解进行比验证了所提方法的有效性。

关键词: OpenGL, 图形渲染, 螺旋槽, 成型加工, 轴截面廓形, GPGPU

Abstract: Accurate calculate the machined transverse profile of part for helical feature manufacturing is a significant question. Unlike the traditional methods such as analytical ones, discrete ones and Boolean ones solve problems in 3-D space, through mapping the transvers profile identification problem from 3-D space to image space based on the visibility theory, a OpenGL-assist implicit graphic rendering calculate method is developed. At first, the mathematical model for the forming machining of the helical feature is constructed. Then, the rendering based calculate theory is analyzed through the relationship between the 3-D space and image space. Next, the entire calculate method is detailed presented in the aspects of mapping between the 3-D space and image space, how the operation of the pixel rendering indicates the intersection in 3-D space, and the result extraction from image space to 3-D space. Meanwhile, the complete calculate frame and corresponding function groups are provided. At last, the profile calculation of for a helical groove milling by a taper cutter is taken to proof the effectiveness of proposed method via comparing with the analytical result.

Key words: OpenGL, graphic rendering, helical groove, forming machining, transverse profile, GPGPU

中图分类号: