China Mechanical Engineering

Previous Articles     Next Articles

G Code Preprocessing Optimization Algorithm for 3D Printers

YU Daoyang   

  1. School of Mechanical Engineering,Hefei University of Technology,Hefei,230009
  • Online:2019-01-10 Published:2019-01-08
  • Supported by:
    National Natural Science Foundation of China (No. 51275147)

3D打印机G代码预处理优化算法

余道洋   

  1. 合肥工业大学机械工程学院,合肥,230009
  • 基金资助:
    国家自然科学基金资助项目(51275147);
    合肥工业大学博士基金资助项目(JZ2015HGBZ0094)
    National Natural Science Foundation of China (No. 51275147)

Abstract: In order to break the limitations of the original file processing mode of the existing 3D printer control systems, a method of preprocessing the G codes on the PC side in advance was proposed. In the program preprocessing processes, the forward control and speed planning of multiple segments were carried out at the same time. After finishing the preprocessing, the output data were sent to the 3D printers for executing printing. The methods reduce the loads of the 3D printer processors and obtain more optimized calculation results through PC-side preprocessing. Finally experimental measurement data prove that, the G code preprocessing methods save the processing time of the printer processors and improve the printing quality compared with the traditional G code processing methods.

Key words: 3D print, preprocessing, look-ahead algorithm, speed planning

摘要: 为了突破现有3D打印机控制系统原有的文件处理模式的限制,提出将G代码程序在PC端先行预处理的方法。在程序预处理过程中,同时对多段微小线段进行前瞻控制和速度规划;预处理结束后,再将处理结果输入3D打印机执行打印操作。该方法减少了3D打印机处理器负担,且通过PC端预处理可以得到更优化的计算结果。实验测量数据证明:G代码预处理方法与传统G代码处理方法相比,节省了打印机处理器处理时间,同时提高了打印品质。

关键词: 3D打印, 预处理, 前瞻算法, 速度规划

CLC Number: