Project Overview
Developed a novel Python-based G-code interpreter to bridge the gap between additive manufacturing and finite element analysis. The project addresses a critical need in the field of fused deposition modeling (FDM), where the lack of standardized methodologies for material testing and characterization has limited our understanding of 3D printed components' mechanical properties. Through the development of sophisticated parsing algorithms, the interpreter processes G-code files from 3D printing slicers to extract geometric information and generate Abaqus input files for finite element analysis (FEA). The script implements several key features, including user-interactive point selection for detailed analysis of specific layers or segments, automated calculation of element orientations and lengths, and comprehensive 3D visualization of G-code geometry. By translating the printer's path instructions into a format compatible with FEA software, the project enables engineers to better predict and analyze the structural behavior of 3D printed components before physical production. While successfully demonstrating the feasibility of automated FEA model generation from 3D printing data, the project also identified important areas for future development, particularly in geometry representation and optimization of the translation process. This work represents a significant step toward standardizing the analysis of 3D printed structures and improving our ability to predict their mechanical properties.
Key Responsibilities:
- Developed Python scripts for parsing and interpreting G-code data from 3D printer slicers
- Implemented algorithms for calculating element orientations and geometric properties
- Created interactive visualization tools for 3D geometry representation
- Designed functions for generating Abaqus input files from processed G-code data
- Optimized code for handling complex geometric structures and layer transitions
- Documented methodology and results for future development and implementation
Project Gallery
G-Code Point Analysis
3D Visualization Results
Abaqus Integration