Intelligent System for Automated G-Code Generation: Development and Validation of STEP File Integration in CNC Machining

Authors

  • Zammeri Abd Rahman Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Saiful Bahri Mohamed Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Mohd Shahir Kasim Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Mohamad Minhat Faculty of Manufacturing Engineering, Universiti Teknikal Malaysia Melaka, Hang Tuah Jaya, 76100 Durian Tunggal, Melaka, MALAYSIA
  • Razwan Rohimi Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Muhammad Abdulrahim Rabbani Md Sharizam Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Tengku Mohd Sharir Tengku Sulaiman Design Optimization & Manufacturing Research Group, Faculty of Innovative Design and Technology, Universiti Sultan Zainal Abidin, Gong Badak Campus, 21300 Kuala Nerus, Terengganu, MALAYSIA
  • Zulkifli Abd Rahman Faculty of Engineering Technology, University College TATI (UC TATI), Kampus TATIUC, Teluk Kalong, 24000 Kemaman, Terengganu, MALAYSIA

Keywords:

STEP files, CNC machining, G-code generation, Tool Path Generation, CAD/CAM integration

Abstract

The integration of Computer-Aided Design (CAD) and Computer-Aided Manufacturing (CAM) remains critical in automating tool path generation for CNC machining. However, interoperability issues and reliance on proprietary CAM systems impede small-scale manufacturing efficiency. This study presents an Integrated Interface System (IIS) that directly converts STEP file geometric data into G-code, eliminating the need for intermediary CAM software. Developed using PHP, the IIS extracts and interprets critical geometric entities such as EDGE_LOOP, ORIENTED_EDGE, and CARTESIAN_POINT from the STEP file to generate precise machining tool paths. Validation was performed by comparing the G-code output from IIS with SolidCAM-generated results using CNC Simulator software. Results demonstrated that IIS produces identical tool path accuracy and machining profiles with reduced complexity and cost. A case study confirmed the system’s reliability in generating both linear and circular tool paths for a 3-axis CNC milling machine, achieving precision machining with a 10 mm depth of cut. The proposed system addresses the gaps in STEP-based G-code automation, streamlining tool path generation and offering a cost-effective, scalable solution for small-to-medium CNC operations. Future work will focus on expanding compatibility for multiple-axis machining and improving feature recognition algorithms.

Downloads

Download data is not yet available.

Downloads

Published

30-04-2026

Issue

Section

Issue on Mechanical, Materials and Manufacturing Engineering

How to Cite

Abd Rahman, Z., Mohamed, S. B., Kasim, M. S. ., Minhat, M. ., Rohimi, R. ., Md Sharizam, M. A. R. ., Tengku Sulaiman, T. M. S. ., & Abd Rahman, Z. (2026). Intelligent System for Automated G-Code Generation: Development and Validation of STEP File Integration in CNC Machining. International Journal of Integrated Engineering, 18(3), 13-30. https://penerbit.uthm.edu.my/ojs/index.php/ijie/article/view/20142